Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 5cfe04d6
由
刘韬
编写于
2021-08-27 11:14:20 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
修改出库等待逻辑
1 个父辈
bfc4b446
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
查看文件 @
5cfe04d
...
@@ -776,17 +776,17 @@ namespace OnlineStore.DeviceLibrary
...
@@ -776,17 +776,17 @@ namespace OnlineStore.DeviceLibrary
int
OutStoreWaitSeconds
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
OutStoreWaitSeconds
);
int
OutStoreWaitSeconds
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
OutStoreWaitSeconds
);
if
(
OutStoreWaitSeconds
<=
0
)
if
(
OutStoreWaitSeconds
<=
0
)
{
{
OutStoreWaitSeconds
=
60
0
;
OutStoreWaitSeconds
=
60
;
}
}
int
ms
=
OutStoreWaitSeconds
*
1000
;
//
int ms = OutStoreWaitSeconds * 1000;
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_18_WaitTake
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_18_WaitTake
);
OutStoreLog
(
"出库:SO_18_WaitTake 等待拿走物品,
最多等待"
+
OutStoreWaitSeconds
+
"秒
"
);
OutStoreLog
(
"出库:SO_18_WaitTake 等待拿走物品,
等待"
+
OutStoreWaitSeconds
+
"秒后报警
"
);
StoreMove
.
TimeOutSeconds
=
OutStoreWaitSeconds
;
StoreMove
.
TimeOutSeconds
=
OutStoreWaitSeconds
;
KNDIOMove
(
IO_Type
.
CanGetTray
,
IO_VALUE
.
HIGH
);
KNDIOMove
(
IO_Type
.
CanGetTray
,
IO_VALUE
.
HIGH
);
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
ms
));
//
StoreMove.WaitList.Add(WaitResultInfo.WaitTime(ms));
//StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.TrayCheck_Door, IO_VALUE.LOW));
//StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.TrayCheck_Door, IO_VALUE.LOW));
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitHeight
(
0
));
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitHeight
(
0
));
StoreMove
.
OneWaitCanEndStep
=
true
;
//
StoreMove.OneWaitCanEndStep = true;
}
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_18_WaitTake
)
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_18_WaitTake
)
{
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论