Commit 26c8ece9 LN

二维码增加尺寸

1 个父辈 a9587ba0
...@@ -1325,12 +1325,12 @@ namespace OnlineStore.DeviceLibrary ...@@ -1325,12 +1325,12 @@ namespace OnlineStore.DeviceLibrary
IsNotScanCode = false; IsNotScanCode = false;
if (storeRunStatus.Equals(StoreRunStatus.Wait)) if (storeRunStatus.Equals(StoreRunStatus.Wait))
{ {
LogUtil.info(LOGGER, StoreName + "收到二维码【 " + message + "】,设备未启动,不需要发送服务器"); LogUtil.info(LOGGER, StoreName + "二维码【 " + message + "】,设备未启动,不需要发送服务器");
IsScanCode = false; IsScanCode = false;
return; return;
} }
// CodeMsg = "收到二维码【 " + message + "】,发送给服务器获取入库PosID"; // CodeMsg = "收到二维码【 " + message + "】,发送给服务器获取入库PosID";
LogUtil.info(LOGGER, StoreName + "收到二维码【 " + message + "】,发送给服务器获取入库PosID"); LogUtil.info(LOGGER, StoreName + "二维码【 " + message + "】,发送给服务器获取入库PosID");
//发送扫码内容到服务器进行入库操作 //发送扫码内容到服务器进行入库操作
Operation operation = getLineBoxStatus(); Operation operation = getLineBoxStatus();
operation.op = 1; operation.op = 1;
...@@ -1347,7 +1347,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1347,7 +1347,7 @@ namespace OnlineStore.DeviceLibrary
else if (!string.IsNullOrEmpty(resultOperation.msg)) else if (!string.IsNullOrEmpty(resultOperation.msg))
{ {
//如果有提示消息,直接显示提示 //如果有提示消息,直接显示提示
LogUtil.info(LOGGER, StoreName + "服务器反馈 二维码【" + message + "】 :" + resultOperation.msg); LogUtil.info(LOGGER, StoreName + " 二维码【" + message + "】 服务器反馈 :" + resultOperation.msg);
IsScanCode = false; IsScanCode = false;
return; return;
} }
...@@ -1447,7 +1447,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1447,7 +1447,7 @@ namespace OnlineStore.DeviceLibrary
{ {
string message = ""; string message = "";
//= 1 + 123.4x100.5 - 7x12 = CODE //= 7x12 = CODE
foreach (string str in codeList) foreach (string str in codeList)
{ {
string code = str; string code = str;
...@@ -1460,7 +1460,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1460,7 +1460,7 @@ namespace OnlineStore.DeviceLibrary
} }
if (!String.IsNullOrEmpty(code)) if (!String.IsNullOrEmpty(code))
{ {
message = message + code + dlScanSocket.spiltStr; message = message +"="+codeSize+"="+ code + dlScanSocket.spiltStr;
} }
} }
return message; return message;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!