Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSquareStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit bbd2fe00
由
LN
编写于
2024-07-29 16:35:28 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
出库不动作bug修改
1 个父辈
a8778c87
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
10 行增加
和
8 行删除
source/DeviceLibrary/acSquareStore/Square_BoxBean_Partial.cs
source/DeviceLibrary/acSquareStore/Square_BoxBean_Partial.cs
查看文件 @
bbd2fe0
...
@@ -544,7 +544,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -544,7 +544,13 @@ namespace OnlineStore.DeviceLibrary
/// 开始出库运动
/// 开始出库运动
/// </summary>
/// </summary>
public
override
bool
StartOutStoreMove
(
InOutParam
param
)
public
override
bool
StartOutStoreMove
(
InOutParam
param
)
{
{
//判断对应托架是否有料盒
if
(
param
.
PosInfo
.
ShelfType
.
Equals
(
0
))
{
param
.
PosInfo
.
ShelfType
=
1
;
}
startOutStoreTime
=
DateTime
.
Now
;
startOutStoreTime
=
DateTime
.
Now
;
string
posId
=
param
!=
null
?
param
.
PosInfo
.
PosId
:
""
;
string
posId
=
param
!=
null
?
param
.
PosInfo
.
PosId
:
""
;
posId
=
param
.
PosInfo
.
ToStr
();
posId
=
param
.
PosInfo
.
ToStr
();
...
@@ -567,8 +573,6 @@ namespace OnlineStore.DeviceLibrary
...
@@ -567,8 +573,6 @@ namespace OnlineStore.DeviceLibrary
return
false
;
return
false
;
}
}
//判断对应托架是否有料盒
int
shelfType
=
param
.
PosInfo
.
ShelfType
;
//if (shelfType.Equals(1) && IOManager.IOValue(IO_Type.LeftShelf_Check).Equals(IO_VALUE.HIGH))
//if (shelfType.Equals(1) && IOManager.IOValue(IO_Type.LeftShelf_Check).Equals(IO_VALUE.HIGH))
//{
//{
...
@@ -593,20 +597,18 @@ namespace OnlineStore.DeviceLibrary
...
@@ -593,20 +597,18 @@ namespace OnlineStore.DeviceLibrary
// return false;
// return false;
// }
// }
//}
//}
if
(
shelfType
.
Equals
(
0
))
{
StoreMove
.
MoveParam
.
UpdateShelfType
(
1
,
Config
);
}
clearWarmMsg
(
"启动出库"
);
clearWarmMsg
(
"启动出库"
);
clearWarmMsg
(
"启动入库"
);
clearWarmMsg
(
"启动入库"
);
int
shelfType
=
param
.
PosInfo
.
ShelfType
;
storeStatus
=
StoreStatus
.
OutStoreExecute
;
storeStatus
=
StoreStatus
.
OutStoreExecute
;
LogUtil
.
info
(
LOGGER
,
StoreName
+
"启动出库【"
+
posId
+
"】【"
+
shelfType
+
"】 "
,
storeMoveColor
);
LogUtil
.
info
(
LOGGER
,
StoreName
+
"启动出库【"
+
posId
+
"】【"
+
shelfType
+
"】 "
,
storeMoveColor
);
storeRunStatus
=
StoreRunStatus
.
Busy
;
storeRunStatus
=
StoreRunStatus
.
Busy
;
StoreMove
.
NewMove
(
StoreMoveType
.
OutStore
,
param
);
StoreMove
.
NewMove
(
StoreMoveType
.
OutStore
,
param
);
StoreMove
.
MoveParam
.
UpdateShelfType
(
1
,
Config
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_01_InoutToP1
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_01_InoutToP1
);
OutStoreLog
(
"出库: 叉子先运动到P1 , 开始"
);
OutStoreLog
(
"出库: 叉子先运动到P1 , 开始"
);
InOutBackToP1
(
StoreMove
.
MoveParam
.
MoveP
.
InOut_P1
);
InOutBackToP1
(
StoreMove
.
MoveParam
.
MoveP
.
InOut_P1
);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论