Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
VerticalStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit d5368b31
由
LN
编写于
2020-08-03 11:01:35 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
出入库bug修改
1 个父辈
322bf14b
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
16 行增加
和
34 行删除
source/DeviceLibrary/acVerticalStore/VerticalStoreBean.cs
source/VerticalStoreClinet/FrmIOStatus.Designer.cs
source/DeviceLibrary/acVerticalStore/VerticalStoreBean.cs
查看文件 @
d5368b3
...
...
@@ -780,17 +780,8 @@ namespace OnlineStore.DeviceLibrary
{
index
++;
int
plateW
=
Convert
.
ToInt32
(
plateWArray
[
index
]);
int
plateH
=
Convert
.
ToInt32
(
plateHArray
[
index
]);
string
[]
posArray
=
posId
.
Split
(
'#'
);
if
(
posArray
.
Length
!=
2
)
{
WarnMsg
=
Name
+
"出库格式错误:库位号【"
+
posId
+
"】"
;
LogUtil
.
error
(
"收到服务器出库命令:库位号【"
+
posId
+
"】格式错误"
);
continue
;
}
int
storeId
=
int
.
Parse
(
posArray
[
0
]);
//根据发送的posId获取位置列表
int
plateH
=
Convert
.
ToInt32
(
plateHArray
[
index
]);
VerticalPosition
position
=
CSVPositionReader
<
VerticalPosition
>.
GetPositon
(
posId
);
if
(
position
==
null
)
{
...
...
@@ -802,20 +793,18 @@ namespace OnlineStore.DeviceLibrary
else
{
InOutParam
currInOutFixture
=
new
InOutParam
(
MoveType
.
OutStore
,
posId
,
""
,
plateW
,
plateH
);
//if (CanStarInOut())
//{
// bool result = StartOutStore(currInOutFixture);
// if (!result)
// {
// LogUtil.info(Name + " 执行出库【" + currInOutFixture.ToStr() + "】失败,加入等待队列");
// AddWaitMoveParam(currInOutFixture);
// }
//}
//else
//{
// LogUtil.error("执行出库【" + currInOutFixture.ToStr() + "】失败,当前在忙碌中,加入等待队列");
// AddWaitMoveParam(currInOutFixture);
//}
if
(
CanStarInOut
())
{
bool
result
=
StartOutStore
(
currInOutFixture
);
if
(!
result
)
{
LogUtil
.
info
(
Name
+
" 执行出库【"
+
currInOutFixture
.
ToStr
()
+
"】失败"
);
}
}
else
{
LogUtil
.
error
(
"执行出库【"
+
currInOutFixture
.
ToStr
()
+
"】失败,当前在忙碌中"
);
}
}
}
...
...
@@ -837,15 +826,7 @@ namespace OnlineStore.DeviceLibrary
string
posId
=
data
[
ParamDefine
.
posId
];
int
plateW
=
Convert
.
ToInt32
(
data
[
ParamDefine
.
plateW
].
Trim
());
int
plateH
=
Convert
.
ToInt32
(
data
[
ParamDefine
.
plateH
].
Trim
());
string
[]
posArray
=
posId
.
Split
(
'#'
);
if
(!(
posArray
.
Length
==
2
))
{
WarnMsg
=
Name
+
"入库库位格式错误:二维码【"
+
message
+
"】库位【"
+
posId
+
"】"
;
LogUtil
.
error
(
"服务器反馈 入库库位格式错误:二维码【"
+
message
+
"】库位【"
+
posId
+
"】"
);
return
;
}
int
storeId
=
int
.
Parse
(
posArray
[
0
]);
//根据发送的posId获取位置列表
VerticalPosition
position
=
CSVPositionReader
<
VerticalPosition
>.
GetPositon
(
posId
);
if
(
position
==
null
)
...
...
source/VerticalStoreClinet/FrmIOStatus.Designer.cs
查看文件 @
d5368b3
...
...
@@ -164,6 +164,7 @@
this
.
button1
.
TabIndex
=
254
;
this
.
button1
.
Text
=
"关闭"
;
this
.
button1
.
UseVisualStyleBackColor
=
true
;
this
.
button1
.
Visible
=
false
;
this
.
button1
.
Click
+=
new
System
.
EventHandler
(
this
.
button1_Click
);
//
// groupBox1
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论