Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 26c8ece9
由
LN
编写于
2020-01-16 11:49:33 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
二维码增加尺寸
1 个父辈
a9587ba0
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
26c8ece
...
@@ -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!
Cancel
请
注册
或
登录
后发表评论