|
@@ -4739,8 +4739,8 @@ namespace MOKA_Factory_Tools
|
|
|
{// 在线抄写;
|
|
|
if (WriteDID.Checked)
|
|
|
{
|
|
|
- //if (CommonMethod.UploadCopyResult(keycontent + "sversionid=" + midListNow.version + "&clienttype=" + midListNow.clienttype + "&ordernum=" + orderNow, midListNow.host, errorDBNow, orderNow, false, "", FunctionSettingNow.ReportTimeOut))
|
|
|
- if (V2Method.ReportOnlineData(midListNow.host, orderNow, V2Method.GetReportJson(orderNow, SN, isNodid:false, ref keyInfo), errorDBNow, false, "", FunctionSettingNow.ReportTimeOut))
|
|
|
+ string postjson = V2Method.GetReportJson(orderNow, SN, isNodid: false, midListNow.clienttype, midListNow.version, ProjectIDText.Text, ref keyInfo);
|
|
|
+ if (V2Method.ReportOnlineData(midListNow.host, orderNow, postjson, errorDBNow, false, "", FunctionSettingNow.ReportTimeOut))
|
|
|
{
|
|
|
TestResult = 1;
|
|
|
}
|
|
@@ -4759,8 +4759,8 @@ namespace MOKA_Factory_Tools
|
|
|
if (SN.Trim().Length > 0)
|
|
|
{
|
|
|
keycontent += "nodid=true&";
|
|
|
- //if (CommonMethod.UploadCopyResult(keycontent + "sversionid=" + midListNow.version + "&clienttype=" + midListNow.clienttype + "&ordernum=" + orderNow, midListNow.host, errorDBNow, orderNow, false, "", FunctionSettingNow.ReportTimeOut))
|
|
|
- if (V2Method.ReportOnlineData(midListNow.host, orderNow, V2Method.GetReportJson(orderNow, SN, isNodid: true, ref keyInfo), errorDBNow, false, "", FunctionSettingNow.ReportTimeOut))
|
|
|
+ string postjson = V2Method.GetReportJson(orderNow, SN, isNodid: false, midListNow.clienttype, midListNow.version, ProjectIDText.Text, ref keyInfo);
|
|
|
+ if (V2Method.ReportOnlineData(midListNow.host, orderNow, postjson, errorDBNow, false, "", FunctionSettingNow.ReportTimeOut))
|
|
|
{
|
|
|
TestResult = 1;
|
|
|
}
|