|
|
@@ -319,6 +319,7 @@ namespace UAS_MES_NEW.PublicMethod
|
|
|
|
|
|
string json = JsonConvert.SerializeObject(obj, Formatting.Indented);
|
|
|
string returnstr = ToServerReq(json);
|
|
|
+ dh.ExecuteSql("insert into EISDATA(ED_ID, ED_DATA, ED_INDATE, ED_TYPE)values(EISDATA_seq.nextval,'" + json + "',sysdate,'GETEN')", "insert");
|
|
|
JObject deviceObj = JObject.Parse(returnstr);
|
|
|
string WholeDeviceCode = deviceObj["WholeDeviceCode"].ToString();
|
|
|
string SN = deviceObj["SN"].ToString();
|
|
|
@@ -420,12 +421,12 @@ namespace UAS_MES_NEW.PublicMethod
|
|
|
KeyValue = dt1.Rows[j]["pid_item"].ToString(),
|
|
|
HashType = "NON-HASH",
|
|
|
HashKey = dt1.Rows[j]["pid_item"].ToString(),
|
|
|
- }); ;
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
string json = JsonConvert.SerializeObject(root, Formatting.Indented);
|
|
|
- string url = "https://apigwfw.zte.com.cn:2443/mdsdev/api/mds-web-outservice/v1/api/rest/mds/saveDistinctSnBatch";
|
|
|
+ string url = "https://172.30.30.10:29001/api/mds-web-outservice/v1/api/rest/mds/saveFmKeyHashcodeInfoBatch";
|
|
|
try
|
|
|
{
|
|
|
// 忽略SSL证书验证
|
|
|
@@ -479,6 +480,7 @@ namespace UAS_MES_NEW.PublicMethod
|
|
|
|
|
|
string json = JsonConvert.SerializeObject(obj, Formatting.Indented);
|
|
|
string returnstr = ToServerReq(json);
|
|
|
+ dh.ExecuteSql("insert into EISDATA(ED_ID, ED_DATA, ED_INDATE, ED_TYPE)values(EISDATA_seq.nextval,'" + json + "',sysdate,'GetOutBoxInfo')", "insert");
|
|
|
|
|
|
var settings = new JsonSerializerSettings
|
|
|
{
|
|
|
@@ -530,6 +532,8 @@ namespace UAS_MES_NEW.PublicMethod
|
|
|
obj.tool_name = "zte";
|
|
|
|
|
|
string json = JsonConvert.SerializeObject(obj, Formatting.Indented);
|
|
|
+ dh.ExecuteSql("insert into EISDATA(ED_ID, ED_DATA, ED_INDATE, ED_TYPE)values(EISDATA_seq.nextval,'" + json + "',sysdate,'GetPalletInfo')", "insert");
|
|
|
+
|
|
|
string returnstr = ToServerReq(json);
|
|
|
Console.WriteLine(returnstr);
|
|
|
Console.WriteLine(json);
|