diff --git a/Projects/WebClient/Web.Tra/Components/Module/TraGrid.razor b/Projects/WebClient/Web.Tra/Components/Module/TraGrid.razor index a22cc33..cbcd6a0 100644 --- a/Projects/WebClient/Web.Tra/Components/Module/TraGrid.razor +++ b/Projects/WebClient/Web.Tra/Components/Module/TraGrid.razor @@ -99,6 +99,9 @@ if (args.Column.Property == null) return; + if ((args.Column.Property.ToLower().Equals("testdate") || args.Column.Property.ToLower().Equals("host")) == false) + return; + int index = DataList.ToList().FindIndex(x => x.Equals(args.Data)); //testdate 컬럼일때 날짜 병합 diff --git a/Projects/WebClient/Web.Tra/Components/Pages/TRA.razor b/Projects/WebClient/Web.Tra/Components/Pages/TRA.razor index 30f24d1..fc44cf7 100644 --- a/Projects/WebClient/Web.Tra/Components/Pages/TRA.razor +++ b/Projects/WebClient/Web.Tra/Components/Pages/TRA.razor @@ -199,13 +199,13 @@ private void OnSelectRowOverview(IDataModel overview) { - // SelectionStationName = $"{overview.StationName} ({overview.Host},{overview.Section})"; - // SelectionProductNO = $"{overview.ProductNo} ({overview.TestCode})"; - // SelectionParentInfo = $"{overview.ParentNo} ({overview.FileVersion},{overview.FileCode})"; + SelectionStationName = $"{overview.StationName} ({overview.Host},{overview.Section})"; + SelectionProductNO = $"{overview.ProductNo} ({overview.TestCode})"; + SelectionParentInfo = $"{overview.ParentNo} ({overview.FileVersion},{overview.FileCode})"; - // SelectionSearchBegin = $"{overview.TestDate?.ToString("yyyy-MM-dd")} {overview.FirstTestTime}"; - // SelectionSearchEnd = $"{overview.TestDate?.ToString("yyyy-MM-dd")} {overview.FinalTestTime}"; - // SelectionStepVersion = $"{overview.StepVersion}"; + SelectionSearchBegin = $"{overview.TestDate?.ToString("yyyy-MM-dd")} {overview.FirstTestTime}"; + SelectionSearchEnd = $"{overview.TestDate?.ToString("yyyy-MM-dd")} {overview.FinalTestTime}"; + SelectionStepVersion = $"{overview.StepVersion}"; } private void OnClickDetailOverviewContextMenu() diff --git a/Projects/WebClient/Web.Tra/Model/IDataModel.cs b/Projects/WebClient/Web.Tra/Model/IDataModel.cs index a815274..6902f4a 100644 --- a/Projects/WebClient/Web.Tra/Model/IDataModel.cs +++ b/Projects/WebClient/Web.Tra/Model/IDataModel.cs @@ -3,7 +3,17 @@ public interface IDataModel { public DateTime? TestDate { get; set; } - public string ModelName { get; set; } + public string StationName { get; set; } public string Host { get; set; } + public string Section { get; set; } + public string ModelName { get; set; } + public string ProductNo { get; set; } + public string TestCode { get; set; } + public string ParentNo { get; set; } + public string FileCode { get; set; } + public string FileVersion { get; set; } + public int? StepVersion { get; set; } + public string FirstTestTime { get; set; } + public string FinalTestTime { get; set; } } } diff --git a/Projects/WebClient/Web.Tra/Model/TestHistory.cs b/Projects/WebClient/Web.Tra/Model/TestHistory.cs index fea7625..b8dd00c 100644 --- a/Projects/WebClient/Web.Tra/Model/TestHistory.cs +++ b/Projects/WebClient/Web.Tra/Model/TestHistory.cs @@ -21,5 +21,8 @@ public string Duration { get; set; } public string TestResult { get; set; } public string TestlistReqID { get; set; } + + public string FirstTestTime { get; set; } + public string FinalTestTime { get; set; } } }