Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 8f0c4992
由
LN
编写于
2023-11-03 16:50:22 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
去掉1天超时修改。
1 个父辈
0eb229c5
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
12 行增加
和
12 行删除
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
查看文件 @
8f0c499
...
...
@@ -38,7 +38,7 @@ namespace OnlineStore.DeviceLibrary
private
int
CurrInOutCount
=
0
;
private
int
CurrInOutACount
=
0
;
int
oneDay
=
24
*
60
*
60
;
//
int oneDay = 24 * 60 * 60;
private
bool
LoadParamPosition
(
InOutParam
param
)
{
if
(
param
==
null
)
...
...
@@ -198,10 +198,10 @@ namespace OnlineStore.DeviceLibrary
{
timeOutMs
=
20000
/
1000
;
}
if
(
StoreMove
.
MoveStep
.
Equals
(
StoreMoveStep
.
SO_23_WaitNoTray
)&&
wait
.
IoType
.
Equals
(
IO_Type
.
TrayCheck_Door
))
{
timeOutMs
=
oneDay
;
}
//
if (StoreMove.MoveStep.Equals(StoreMoveStep.SO_23_WaitNoTray)&& wait.IoType.Equals(IO_Type.TrayCheck_Door))
//
{
//
timeOutMs = oneDay;
//
}
if
((!
wait
.
IsEnd
)
&&
span
.
TotalSeconds
>
timeOutMs
)
{
ConfigIO
io
=
Config
.
getWaitIO
(
wait
.
IoType
);
...
...
@@ -576,9 +576,9 @@ namespace OnlineStore.DeviceLibrary
{
// 5= 入仓位完成(料仓Box把料盘放入对应的库位中,装置还未恢复原始状态)
string
posId
=
StoreMove
.
MoveParam
!=
null
?
StoreMove
.
MoveParam
.
PosInfo
.
PosId
:
""
;
lastPosId
=
posId
;
lastPosIdStatus
=
StoreStatus
.
InStoreEnd
;
storeStatus
=
StoreStatus
.
InStoreEnd
;
lastPosId
=
posId
;
//手动发给服务器状态,防止没有手动
//SendLineStatus(StoreID, posId, StoreStatus.InStoreEnd);
...
...
@@ -640,9 +640,9 @@ namespace OnlineStore.DeviceLibrary
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_18_WaitSendOK
);
string
posId
=
StoreMove
.
MoveParam
!=
null
?
StoreMove
.
MoveParam
.
PosInfo
.
PosId
:
""
;
lastPosId
=
posId
;
lastPosIdStatus
=
StoreStatus
.
InStoreEnd
;
storeStatus
=
StoreStatus
.
InStoreEnd
;
lastPosId
=
posId
;
InStoreLog
(
$
"入库: 入库通知未完成,等待入库通知完成 posId={posId} , storeStatus={storeStatus} ,等待10秒重新验证"
);
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
10000
));
WarnMsg
=
$
"入库通知未完成,等待入库通知完成 posId={posId} , storeStatus={storeStatus} ,等待10秒重新验证"
;
...
...
@@ -771,9 +771,9 @@ namespace OnlineStore.DeviceLibrary
InOutBackToP1
(
moveP
.
InOut_P1
);
//把库位的物品放到取到叉子上之后是出仓完成
string
posId
=
StoreMove
.
MoveParam
!=
null
?
StoreMove
.
MoveParam
.
PosInfo
.
PosId
:
""
;
lastPosId
=
posId
;
lastPosIdStatus
=
StoreStatus
.
OutStoreBoxEnd
;
storeStatus
=
StoreStatus
.
OutStoreBoxEnd
;
lastPosId
=
posId
;
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_06_InoutToP1
)
...
...
@@ -889,18 +889,18 @@ namespace OnlineStore.DeviceLibrary
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_23_WaitNoTray
);
OutStoreLog
(
"出库:打开仓门,等待门口无料盘信号
,超时时间= oneDay
"
);
OutStoreLog
(
"出库:打开仓门,等待门口无料盘信号
"
);
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
TrayCheck_Door
,
IO_VALUE
.
LOW
));
StoreMove
.
TimeOutSeconds
=
oneDay
;
//
StoreMove.TimeOutSeconds = oneDay;
OpenDoor
();
}
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_22_WaitTray
)
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_23_WaitNoTray
);
OutStoreLog
(
"出库:打开仓门,等待门口无料盘信号
,超时时间= "
+
oneDay
);
OutStoreLog
(
"出库:打开仓门,等待门口无料盘信号
"
);
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
TrayCheck_Door
,
IO_VALUE
.
LOW
));
StoreMove
.
TimeOutSeconds
=
oneDay
;
//
StoreMove.TimeOutSeconds = oneDay;
OpenDoor
();
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_23_WaitNoTray
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论