[성현모] JsonConvertTool 추가, 서머리 수량 버그수정
This commit is contained in:
@ -26,6 +26,30 @@ namespace SystemX.Net.XAdaptor.PC
|
||||
{
|
||||
public partial class XAdaptorPC
|
||||
{
|
||||
private bool QueryTestListCheckProcess(byte[] ucGetDatas)
|
||||
{
|
||||
bool bSetResult = false;
|
||||
|
||||
try
|
||||
{
|
||||
DataSet QueryTestList = null;
|
||||
QueryTestList = XDataArchive.DecompressByteToDataset(ucGetDatas);
|
||||
|
||||
(mgrPRODTestList as TProdTestListInfo).SetTestListDataSetCopy(QueryTestList);
|
||||
}
|
||||
catch
|
||||
{
|
||||
bSetResult = false;
|
||||
}
|
||||
|
||||
finally
|
||||
{
|
||||
;//
|
||||
}
|
||||
|
||||
return bSetResult;
|
||||
}
|
||||
|
||||
private bool QueryTestListProcess(byte[] ucGetDatas, string strGetTestListCntID)
|
||||
{
|
||||
bool bSetResult = false;
|
||||
@ -35,8 +59,8 @@ namespace SystemX.Net.XAdaptor.PC
|
||||
DataSet QueryTestList = null;
|
||||
QueryTestList = XDataArchive.DecompressByteToDataset(ucGetDatas);
|
||||
|
||||
(mgrPRODTestList as TProdTestListInfo).SetTestListDataSet(QueryTestList);
|
||||
(mgrPRODTestList as TProdTestListInfo).SetTestListCntID(strGetTestListCntID);
|
||||
(mgrPRODTestList as TProdTestListInfo).SetTestListDataSetCopy(QueryTestList);
|
||||
(mgrPRODTestList as TProdTestListInfo).SetTestListDataSet();
|
||||
|
||||
if (XCommons.isHasRow(mgrPRODTestList.getTestListDataSet()))
|
||||
{
|
||||
@ -50,6 +74,9 @@ namespace SystemX.Net.XAdaptor.PC
|
||||
int iCol2 = mgrPRODTestList.getTestListDataSet().Tables[0].Columns.IndexOf("FileName");
|
||||
}
|
||||
|
||||
if(string.IsNullOrEmpty(strGetTestListCntID) == false)
|
||||
(mgrPRODTestList as TProdTestListInfo).SetTestListCntID(strGetTestListCntID);
|
||||
|
||||
bSetResult = true;
|
||||
}
|
||||
|
||||
@ -184,7 +211,7 @@ namespace SystemX.Net.XAdaptor.PC
|
||||
|
||||
if (bUseRandDistribution)
|
||||
{
|
||||
Random r = new Random((int)(DateTime.Now.Ticks));
|
||||
Random r = new Random(Guid.NewGuid().GetHashCode());
|
||||
|
||||
nPortNumber = GetDistributionPort(r, nPortNumber);
|
||||
}
|
||||
@ -246,7 +273,7 @@ namespace SystemX.Net.XAdaptor.PC
|
||||
|
||||
if (bUseRandDistribution)
|
||||
{
|
||||
Random r = new Random((int)(DateTime.Now.Ticks));
|
||||
Random r = new Random(Guid.NewGuid().GetHashCode());
|
||||
|
||||
nPortNumber = GetDistributionPort(r, nPortNumber);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user