[성현모] Grid 성능 개선

This commit is contained in:
SHM
2025-09-17 09:32:33 +09:00
parent a57734308f
commit 89fe237e52
10 changed files with 287 additions and 183 deletions

View File

@ -1,9 +1,6 @@
namespace Web.Tra.Model
{
public interface IDataModel
{
public DateTime? TestDate { get; set; }
public string Host { get; set; }
public string ModelName { get; set; }
{
}
}

View File

@ -1,20 +1,6 @@
namespace Web.Tra.Model
{
public interface IOverviewModel : 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 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; }
public string TestListCntID { get; set; }
{
}
}

View File

@ -1,7 +1,6 @@
namespace Web.Tra.Model
{
public interface ITestResultModel : IDataModel
{
public long No { get; set; }
{
}
}

View File

@ -20,8 +20,7 @@
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 int NG { get; set; }
public string TestListCntID { get; set; }
}
}

View File

@ -2,12 +2,10 @@
{
public class TestHistory : IOverviewModel
{
public long No { get; set; }
public DateTime? TestDate { get; set; }
public DateTime? TestDateTime { get; set; }
public string ModelName { get; set; } //no use
public long No { get; set; }
public DateTime? TestDateTime { get; set; }
public string StationName { get; set; }
public string Host { get; set; }
public string Host { get; set; }
public string Section { get; set; }
public string ProductID { get; set; }
public string TestType { get; set; }
@ -16,12 +14,9 @@
public string ParentNo { get; set; }
public string FileCode { get; set; }
public string FileVersion { get; set; }
public int? StepVersion { get; set; }
public int StepVersion { get; set; }
public string Duration { get; set; }
public string TestResult { get; set; }
public string FirstTestTime { get; set; }
public string FinalTestTime { get; set; }
public string TestListCntID { get; set; }
public string TestResult { get; set; }
public string TestListReqID { get; set; }
}
}

View File

@ -1,45 +1,57 @@

using SystemX.Core.DB;
namespace Web.Tra.Model
{
public class TestResult : ITestResultModel
{
public long No { get; set; }
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 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; }
public string TestListCntID { get; set; }
//log data
public List<DecompressTestResult> DecompressTestResult { get; set; }
public List<ParseTestResult> ParseTestResult { get; set; }
//test list data
public TestList? TestList { get; set; }
}
public class DecompressTestResult : ITestResultModel
{
public long No { get; set; }
public DateTime? TestDate { get; set; }
public string StationName { get; set; }
public string Host { get; set; }
public string ModelName { get; set; }
public int StepID { get; set; }
public double MeasVal { get; set; }
public string MeasValStr { get; set; }
public string Message { get; set; }
public string GlobalMin { get; set; }
public string MesauredValue { get; set; }
public string MeasuredValue { get; set; }
public string GlobalMax { get; set; }
public string Result { get; set; }
public string SpentTime { get; set; }
}
public class ParseTestResult : ITestResultModel
{
public int StepNo { get; set; }
public long Position { get; set; }
public string Variant { get; set; }
public string Gate { get; set; }
public string MO { get; set; }
public string Function { get; set; }
public string Min { get; set; }
public string MeasuredValue { get; set; }
public string Max { get; set; }
public string Dimension { get; set; }
public string Result { get; set; }
public string Duration { get; set; }
}
public class TestList
{
public PROD_Group ProdGroup { get; set; }
public PROD_Release ProdRelease { get; set; }
public PROD_Variant ProdVariant { get; set; }
public STAT_TestCode StatTestCode { get; set; }
public STOR_TestListFile StorTestListFile { get; set; }
public List<VRFY_TestListFileRelease> TestListFile { get; set; }
}
}