Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO664-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 9b480ac3
由
LN
编写于
2020-12-21 15:12:50 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
入库bug修改
1 个父辈
139e122c
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
4 行增加
和
4 行删除
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
source/DeviceLibrary/assemblymanager/TrayManager.cs
source/DeviceLibrary/model/TrayInfo.cs
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
查看文件 @
9b480ac
...
...
@@ -564,7 +564,7 @@ namespace OnlineStore.DeviceLibrary
//判断是否验证成功,如果验证失败,不入库
if
(
LineServer
.
RightInPosId
(
DeviceID
,
currCode
.
PosId
))
{
waitInStoreList
.
RemoveAt
(
reIndex
);
//
waitInStoreList.RemoveAt(reIndex);
LogInfo
(
"*******托盘"
+
currTrayNum
+
"需要入库【"
+
currCode
.
ToStr
()
+
"】 ,开始入库移栽"
);
return
true
;
}
...
...
@@ -572,7 +572,7 @@ namespace OnlineStore.DeviceLibrary
{
LogUtil
.
error
(
Name
+
"托盘号【"
+
currTrayNum
+
"】入库信息【"
+
currCode
.
ToStr
()
+
"】料仓未验证成功,不拦截托盘,更新此托盘为NG,从waitInStoreList中删除,取消入库任务"
);
TrayManager
.
UpdateInStoreNG
(
currTrayNum
,
true
,
"Box验证入库失败"
);
//
waitInStoreList.RemoveAt(reIndex);
waitInStoreList
.
RemoveAt
(
reIndex
);
SServerManager
.
cancelPutInTask
(
Name
,
currCode
.
WareCode
);
return
false
;
}
...
...
source/DeviceLibrary/assemblymanager/TrayManager.cs
查看文件 @
9b480ac
...
...
@@ -168,7 +168,7 @@ namespace OnlineStore.DeviceLibrary
LogUtil
.
info
(
"加载到缓存托盘:"
+
tray
.
ToStr
());
TrayInfoMap
.
TryAdd
(
tray
.
TrayNum
,
tray
);
if
(
tray
.
InOrOutStore
.
Equals
(
1
)
&&
tray
.
InoutPar
.
InStoreNg
.
Equals
(
false
)
&&
(!
tray
.
InoutPar
.
PosId
.
Equals
(
""
)))
{
{
int
storeId
=
tray
.
InoutPar
.
GetStoreId
();
if
(
storeId
>
0
&&
LineManager
.
Line
.
MoveEquipMap
.
ContainsKey
(
storeId
))
{
...
...
source/DeviceLibrary/model/TrayInfo.cs
查看文件 @
9b480ac
...
...
@@ -30,7 +30,7 @@ namespace OnlineStore.DeviceLibrary
if
(
InOrOutStore
.
Equals
(
1
))
{
type
=
inoutPar
.
InStoreNg
?
"入料失败:"
+
ShowMsg
+
"
["
+
inoutPar
.
WareCode
+
"] ["
+
inoutPar
.
PlateW
+
"x"
+
inoutPar
.
PlateH
+
"] "
:
"入料:"
+
""
+
inoutPar
.
ToStr
()
+
""
;
type
=
inoutPar
.
InStoreNg
?
"入料失败:"
+
ShowMsg
+
"["
+
inoutPar
.
PosId
+
"]
["
+
inoutPar
.
WareCode
+
"] ["
+
inoutPar
.
PlateW
+
"x"
+
inoutPar
.
PlateH
+
"] "
:
"入料:"
+
""
+
inoutPar
.
ToStr
()
+
""
;
}
else
if
(
InOrOutStore
.
Equals
(
2
))
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论