[성현모] JsonConvertTool 추가, 서머리 수량 버그수정

This commit is contained in:
SHM
2024-10-25 13:40:03 +09:00
parent 3c8bece6b6
commit b76569d02f
52 changed files with 1148 additions and 547 deletions

View File

@ -116,15 +116,23 @@ namespace SystemX.Net.XAdaptor
strGetTestListCntID = strSetValue;
}
public void SetTestListDataSet(DataSet ds)
public void SetTestListDataSetCopy(DataSet ds)
{
dsQueryTestLists = new DataSet();
dsQueryTestLists = ds.Copy();
}
public void SetTestListDataSet()
{
if (dsQueryTestLists.Tables[0].Rows.Count == 1)
{
ucGetTestListData = dsQueryTestLists.Tables[0].Rows[0]["TestListData"] as byte[];
ucGetTestListData = XDataArchive.DecompressGZipByteToByte(ucGetTestListData);
if (dsQueryTestLists.Tables[0].Columns.Contains("TestListData"))
{
ucGetTestListData = dsQueryTestLists.Tables[0].Rows[0]["TestListData"] as byte[];
ucGetTestListData = XDataArchive.DecompressGZipByteToByte(ucGetTestListData);
}
else
ucGetTestListData = new byte[1];
strGetFileName = dsQueryTestLists.Tables[0].Rows[0]["FileName"].ToString();
strGetVersion = dsQueryTestLists.Tables[0].Rows[0]["Version"].ToString();
@ -170,8 +178,6 @@ namespace SystemX.Net.XAdaptor
strGetVersion = "";
strGetProdCode = "";
strGetExtension = "";
strGetTestListCntID = "";
}
public QueryGetInfo ReadInfo()