Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO908-XLRStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 0a2f5619
由
张东亮
编写于
2022-02-25 09:41:31 +0800
浏览文件
选项
浏览文件
标签
下载
差异文件
Merge branch 'master' of
http://106.15.194.121:8083/lina/SO908-XLRStore
2 个父辈
8250c14d
fc65d421
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean.cs
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean_Partial.cs
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean.cs
查看文件 @
0a2f561
...
@@ -149,6 +149,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -149,6 +149,7 @@ namespace OnlineStore.DeviceLibrary
WorkLog
(
"复位前重置料串状态"
);
WorkLog
(
"复位前重置料串状态"
);
UpdateShelf
();
UpdateShelf
();
}
}
preCodeList
=
new
List
<
string
>();
WarnMsg
=
""
;
WarnMsg
=
""
;
alarmType
=
AlarmType
.
None
;
alarmType
=
AlarmType
.
None
;
MoveInfo
.
NewMove
(
MoveType
.
Reset
,
new
InOutParam
());
MoveInfo
.
NewMove
(
MoveType
.
Reset
,
new
InOutParam
());
...
...
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean_Partial.cs
查看文件 @
0a2f561
...
@@ -332,15 +332,14 @@ namespace OnlineStore.DeviceLibrary
...
@@ -332,15 +332,14 @@ namespace OnlineStore.DeviceLibrary
Robot
.
IOMove
(
IO_Type
.
CameraLed
,
IO_VALUE
.
LOW
);
Robot
.
IOMove
(
IO_Type
.
CameraLed
,
IO_VALUE
.
LOW
);
//TODO 需要判断是否和上次的条码重复,重复的条码不可用
//TODO 需要判断是否和上次的条码重复,重复的条码不可用
bool
isCanUse
=
true
;
bool
isCanUse
=
true
;
//判断是否可用
//判断是否可用
foreach
(
string
nC
in
LastCodeList
)
foreach
(
string
nC
in
LastCodeList
)
{
{
foreach
(
string
n
in
preCodeList
)
foreach
(
string
n
in
preCodeList
)
{
{
if
(
CodeManager
.
HasRightCode
(
nC
))
//
if(CodeManager.HasRightCode(nC))
//
if (nC.Length > 15 && nC.Equals(n))
if
(
nC
.
Length
>
15
&&
nC
.
Equals
(
n
))
{
{
LogUtil
.
error
(
Name
+
"扫码结果【"
+
nC
+
"】与上个条码【"
+
n
+
"】重复,扫码结果不可用"
);
LogUtil
.
error
(
Name
+
"扫码结果【"
+
nC
+
"】与上个条码【"
+
n
+
"】重复,扫码结果不可用"
);
isCanUse
=
false
;
isCanUse
=
false
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论