Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-ACPackingStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 57efebb1
由
LN
编写于
2020-01-05 16:19:40 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
门已经打开不重复打开
1 个父辈
b07881a1
全部展开
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
18 行增加
和
3 行删除
source/ACPackingStore/App.config
source/ACPackingStore/FrmIOStatus.Designer.cs
source/DeviceLibrary/ACPackingStore/EnteryDoorBean.cs
source/ACPackingStore/App.config
查看文件 @
57efebb
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
<
add
key
=
"BOX_ConfigPath"
value
=
"\StoreConfig\BoxConfig.csv"
/>
<
add
key
=
"BOX_ConfigPath"
value
=
"\StoreConfig\BoxConfig.csv"
/>
<
add
key
=
"Store_Type"
value
=
"RC_AC_PA"
/>
<
add
key
=
"Store_Type"
value
=
"RC_AC_PA"
/>
<
add
key
=
"Store_CID"
value
=
"packing-store"
/>
<
add
key
=
"Store_CID"
value
=
"packing-store"
/>
<
add
key
=
"Store_CID_1"
value
=
"packing-
store
1"
/>
<
add
key
=
"Store_CID_1"
value
=
"packing-
2
1"
/>
<
add
key
=
"Store_CID_2"
value
=
"packing-
store
2"
/>
<
add
key
=
"Store_CID_2"
value
=
"packing-
2
2"
/>
<!--
end
one
store
config
-->
<!--
end
one
store
config
-->
<
add
key
=
"ACBaudRate"
value
=
"115200"
/>
<
add
key
=
"ACBaudRate"
value
=
"115200"
/>
<
add
key
=
"InOutDefaultPosition"
value
=
"8000"
/>
<
add
key
=
"InOutDefaultPosition"
value
=
"8000"
/>
...
...
source/ACPackingStore/FrmIOStatus.Designer.cs
查看文件 @
57efebb
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/ACPackingStore/EnteryDoorBean.cs
查看文件 @
57efebb
...
@@ -86,7 +86,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -86,7 +86,7 @@ namespace OnlineStore.DeviceLibrary
{
{
if
(
result
.
Equals
(
""
))
if
(
result
.
Equals
(
""
))
{
{
LogUtil
.
info
(
"停止运动:"
+
result
+
" ["
+
moveDO
+
"] ["
+
checkDI
+
"] "
);
LogUtil
.
info
(
"停止运动:"
+
result
+
" ["
+
moveDO
+
"] ["
+
checkDI
+
"] "
);
}
}
else
else
{
{
...
@@ -108,6 +108,14 @@ namespace OnlineStore.DeviceLibrary
...
@@ -108,6 +108,14 @@ namespace OnlineStore.DeviceLibrary
{
{
return
false
;
return
false
;
}
}
//如果门已打开直接返回
if
(
IOManager
.
IOValue
(
IO_Type
.
EntranceDoor_Open
,
subType
).
Equals
(
IO_VALUE
.
HIGH
)
&&
IOManager
.
IOValue
(
IO_Type
.
EntranceDoor_Close
,
subType
).
Equals
(
IO_VALUE
.
LOW
))
{
return
true
;
}
if
(
moveInfo
!=
null
)
if
(
moveInfo
!=
null
)
{
{
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
EntranceDoor_Open
,
IO_VALUE
.
HIGH
));
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
EntranceDoor_Open
,
IO_VALUE
.
HIGH
));
...
@@ -123,6 +131,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -123,6 +131,13 @@ namespace OnlineStore.DeviceLibrary
{
{
return
false
;
return
false
;
}
}
//如果门已关闭直接返回
if
(
IOManager
.
IOValue
(
IO_Type
.
EntranceDoor_Close
,
subType
).
Equals
(
IO_VALUE
.
HIGH
)
&&
IOManager
.
IOValue
(
IO_Type
.
EntranceDoor_Open
,
subType
).
Equals
(
IO_VALUE
.
LOW
))
{
return
true
;
}
if
(
moveInfo
!=
null
)
if
(
moveInfo
!=
null
)
{
{
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
EntranceDoor_Close
,
IO_VALUE
.
HIGH
));
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
EntranceDoor_Close
,
IO_VALUE
.
HIGH
));
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论