[성현모] Tra Overview 기능, 페이지 추가
This commit is contained in:
11
Projects/WebClient/Web.Tra/Model/Enum/EnumTabs.cs
Normal file
11
Projects/WebClient/Web.Tra/Model/Enum/EnumTabs.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace Web.Tra.Model.Enum
|
||||
{
|
||||
public enum EnumTabs
|
||||
{
|
||||
None = 0,
|
||||
OverviewC1 = 10,
|
||||
OverviewC1Detail = 20,
|
||||
TestHistoryC1 = 30,
|
||||
End = 10000
|
||||
}
|
||||
}
|
||||
6
Projects/WebClient/Web.Tra/Model/IDataModel.cs
Normal file
6
Projects/WebClient/Web.Tra/Model/IDataModel.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace Web.Tra.Model
|
||||
{
|
||||
public interface IDataModel
|
||||
{
|
||||
}
|
||||
}
|
||||
27
Projects/WebClient/Web.Tra/Model/Overview.cs
Normal file
27
Projects/WebClient/Web.Tra/Model/Overview.cs
Normal file
@ -0,0 +1,27 @@
|
||||
namespace Web.Tra.Model
|
||||
{
|
||||
public class Overview : IDataModel
|
||||
{
|
||||
public DateTime? TestDate { get; set; }
|
||||
public string StationName { get; set; }
|
||||
public string Host { get; set; }
|
||||
public string Section { get; set; }
|
||||
public string ModelName { get; set; }
|
||||
public string TestType { get; set; }
|
||||
public string ProductNo { get; set; }
|
||||
public string TestCode { get; set; }
|
||||
public string ParentNo { get; set; }
|
||||
public int? TestListFileNo { get; set; }
|
||||
public int? TestListVariantNo { 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; }
|
||||
public int Total { get; set; }
|
||||
public int OK { get; set; }
|
||||
public int NG { get; set; }
|
||||
public int RN { get; set; }
|
||||
public string TestListCntID { get; set; }
|
||||
}
|
||||
}
|
||||
26
Projects/WebClient/Web.Tra/Model/SearchData.cs
Normal file
26
Projects/WebClient/Web.Tra/Model/SearchData.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using SystemX.Core.DB;
|
||||
|
||||
namespace Web.Tra.Model
|
||||
{
|
||||
public class RequestSearch()
|
||||
{
|
||||
public DateOnly SearchStart { get; set; } = DateOnly.FromDateTime(DateTime.Now.AddDays(-7));
|
||||
public DateOnly SearchEnd { get; set; } = DateOnly.FromDateTime(DateTime.Now);
|
||||
}
|
||||
|
||||
public class SearchData
|
||||
{
|
||||
//CPXV2
|
||||
public TestInfo TestInfo { get; set; }
|
||||
|
||||
//Log
|
||||
public HIST_LogSummary Summary { get; set; }
|
||||
public HIST_TestResult TestResult { get; set; }
|
||||
}
|
||||
|
||||
public class TestInfo
|
||||
{
|
||||
public PROD_Group PROD_Group { get; set; }
|
||||
public PROD_Variant PROD_Variant { get; set; }
|
||||
}
|
||||
}
|
||||
22
Projects/WebClient/Web.Tra/Model/TestHistory.cs
Normal file
22
Projects/WebClient/Web.Tra/Model/TestHistory.cs
Normal file
@ -0,0 +1,22 @@
|
||||
namespace Web.Tra.Model
|
||||
{
|
||||
public class TestHistory : IDataModel
|
||||
{
|
||||
public long No { get; set; }
|
||||
public DateTime TestDateTime { get; set; }
|
||||
public string StationName { get; set; }
|
||||
public string Host { get; set; }
|
||||
public string Section { get; set; }
|
||||
public string ProductID { get; set; }
|
||||
public string TestType { 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 Duration { get; set; }
|
||||
public string TestResult { get; set; }
|
||||
public string TestlistReqID { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user