Commit 5eb95d2d 张东亮

1

1 个父辈 ef7e95e0
......@@ -100,7 +100,7 @@ namespace DeviceLibrary
for (int i = 0; i < 5; i++)
{
operation.op = 1;
operation.data = new Dictionary<string, string>() { { "code", code + spiltStr + weight }, { "boxId", StoreID.ToString() }, { "doorReelSignal", "1" } };
operation.data = new Dictionary<string, string>() { { "code", code + "//" + weight }, { "boxId", StoreID.ToString() }, { "doorReelSignal", "1" } };
Operation resultOperation = HttpHelper.Post(GetPostApi(), operation, false, printlog);
if (operation.seq != resultOperation.seq)
{
......@@ -159,6 +159,10 @@ namespace DeviceLibrary
message = message + "=" + "1+0x0-" + codeSize + "=" + code + spiltStr;
}
if (message.EndsWith(spiltStr))
{
message = message.Substring(0, message.Length - spiltStr.Length);
}
return message;
}
/// <summary>
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!