Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-ACPackingStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 57efebb1
由
LN
编写于
2020-01-05 16:19:40 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
门已经打开不重复打开
1 个父辈
b07881a1
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
46 行增加
和
31 行删除
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
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnNGlineStop
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnNGlineStop
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnNgLine
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnNgLine
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnDoorStop
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnDoorStop
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnOpenAxisBreak
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnBlow
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnBlow
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnStoreOn
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnStoreOn
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnStopMove
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnStopMove
);
...
@@ -95,7 +96,6 @@
...
@@ -95,7 +96,6 @@
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDOIndex
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDOIndex
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDoName
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDoName
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label17
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label17
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnOpenAxisBreak
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label14
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label14
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtWriteTime
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtWriteTime
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnLocationDown
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnLocationDown
);
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
this
.
groupBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
485
,
8
);
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
485
,
8
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
32
0
,
527
);
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
32
3
,
541
);
this
.
groupBox1
.
TabIndex
=
105
;
this
.
groupBox1
.
TabIndex
=
105
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"DO写入"
;
this
.
groupBox1
.
Text
=
"DO写入"
;
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
//
//
this
.
btnNGlineStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNGlineStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNGlineStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnNGlineStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnNGlineStop
.
Location
=
new
System
.
Drawing
.
Point
(
1
75
,
210
);
this
.
btnNGlineStop
.
Location
=
new
System
.
Drawing
.
Point
(
1
4
,
316
);
this
.
btnNGlineStop
.
Name
=
"btnNGlineStop"
;
this
.
btnNGlineStop
.
Name
=
"btnNGlineStop"
;
this
.
btnNGlineStop
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnNGlineStop
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnNGlineStop
.
TabIndex
=
298
;
this
.
btnNGlineStop
.
TabIndex
=
298
;
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
//
//
this
.
btnNgLine
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNgLine
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNgLine
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnNgLine
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnNgLine
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
21
0
);
this
.
btnNgLine
.
Location
=
new
System
.
Drawing
.
Point
(
1
4
,
28
0
);
this
.
btnNgLine
.
Name
=
"btnNgLine"
;
this
.
btnNgLine
.
Name
=
"btnNgLine"
;
this
.
btnNgLine
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnNgLine
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnNgLine
.
TabIndex
=
297
;
this
.
btnNgLine
.
TabIndex
=
297
;
...
@@ -140,9 +140,9 @@
...
@@ -140,9 +140,9 @@
//
//
this
.
btnDoorStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnDoorStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnDoorStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnDoorStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnDoorStop
.
Location
=
new
System
.
Drawing
.
Point
(
2
08
,
168
);
this
.
btnDoorStop
.
Location
=
new
System
.
Drawing
.
Point
(
2
17
,
163
);
this
.
btnDoorStop
.
Name
=
"btnDoorStop"
;
this
.
btnDoorStop
.
Name
=
"btnDoorStop"
;
this
.
btnDoorStop
.
Size
=
new
System
.
Drawing
.
Size
(
9
2
,
34
);
this
.
btnDoorStop
.
Size
=
new
System
.
Drawing
.
Size
(
9
6
,
45
);
this
.
btnDoorStop
.
TabIndex
=
296
;
this
.
btnDoorStop
.
TabIndex
=
296
;
this
.
btnDoorStop
.
Text
=
"移门停止"
;
this
.
btnDoorStop
.
Text
=
"移门停止"
;
this
.
btnDoorStop
.
UseVisualStyleBackColor
=
false
;
this
.
btnDoorStop
.
UseVisualStyleBackColor
=
false
;
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
//
//
this
.
btnBlow
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnBlow
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnBlow
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnBlow
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnBlow
.
Location
=
new
System
.
Drawing
.
Point
(
1
75
,
472
);
this
.
btnBlow
.
Location
=
new
System
.
Drawing
.
Point
(
1
88
,
447
);
this
.
btnBlow
.
Name
=
"btnBlow"
;
this
.
btnBlow
.
Name
=
"btnBlow"
;
this
.
btnBlow
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnBlow
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnBlow
.
TabIndex
=
294
;
this
.
btnBlow
.
TabIndex
=
294
;
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
//
//
this
.
btnStoreOn
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStoreOn
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStoreOn
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStoreOn
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStoreOn
.
Location
=
new
System
.
Drawing
.
Point
(
1
75
,
386
);
this
.
btnStoreOn
.
Location
=
new
System
.
Drawing
.
Point
(
1
88
,
495
);
this
.
btnStoreOn
.
Name
=
"btnStoreOn"
;
this
.
btnStoreOn
.
Name
=
"btnStoreOn"
;
this
.
btnStoreOn
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnStoreOn
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnStoreOn
.
TabIndex
=
293
;
this
.
btnStoreOn
.
TabIndex
=
293
;
...
@@ -176,9 +176,9 @@
...
@@ -176,9 +176,9 @@
//
//
this
.
btnStopMove
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStopMove
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStopMove
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStopMove
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStopMove
.
Location
=
new
System
.
Drawing
.
Point
(
2
08
,
428
);
this
.
btnStopMove
.
Location
=
new
System
.
Drawing
.
Point
(
2
17
,
221
);
this
.
btnStopMove
.
Name
=
"btnStopMove"
;
this
.
btnStopMove
.
Name
=
"btnStopMove"
;
this
.
btnStopMove
.
Size
=
new
System
.
Drawing
.
Size
(
9
2
,
34
);
this
.
btnStopMove
.
Size
=
new
System
.
Drawing
.
Size
(
9
6
,
45
);
this
.
btnStopMove
.
TabIndex
=
292
;
this
.
btnStopMove
.
TabIndex
=
292
;
this
.
btnStopMove
.
Text
=
"线体停止"
;
this
.
btnStopMove
.
Text
=
"线体停止"
;
this
.
btnStopMove
.
UseVisualStyleBackColor
=
false
;
this
.
btnStopMove
.
UseVisualStyleBackColor
=
false
;
...
@@ -188,9 +188,9 @@
...
@@ -188,9 +188,9 @@
//
//
this
.
button4
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
button4
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
button4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
button4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
button4
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
428
);
this
.
button4
.
Location
=
new
System
.
Drawing
.
Point
(
1
4
,
221
);
this
.
button4
.
Name
=
"button4"
;
this
.
button4
.
Name
=
"button4"
;
this
.
button4
.
Size
=
new
System
.
Drawing
.
Size
(
9
2
,
34
);
this
.
button4
.
Size
=
new
System
.
Drawing
.
Size
(
9
6
,
45
);
this
.
button4
.
TabIndex
=
291
;
this
.
button4
.
TabIndex
=
291
;
this
.
button4
.
Text
=
"线体正转"
;
this
.
button4
.
Text
=
"线体正转"
;
this
.
button4
.
UseVisualStyleBackColor
=
false
;
this
.
button4
.
UseVisualStyleBackColor
=
false
;
...
@@ -200,7 +200,7 @@
...
@@ -200,7 +200,7 @@
//
//
this
.
btnCamerLed
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCamerLed
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCamerLed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCamerLed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCamerLed
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
472
);
this
.
btnCamerLed
.
Location
=
new
System
.
Drawing
.
Point
(
1
4
,
495
);
this
.
btnCamerLed
.
Name
=
"btnCamerLed"
;
this
.
btnCamerLed
.
Name
=
"btnCamerLed"
;
this
.
btnCamerLed
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnCamerLed
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnCamerLed
.
TabIndex
=
290
;
this
.
btnCamerLed
.
TabIndex
=
290
;
...
@@ -212,7 +212,7 @@
...
@@ -212,7 +212,7 @@
//
//
this
.
btnTopDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnTopDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnTopDown
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnTopDown
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnTopDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
75
,
296
);
this
.
btnTopDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
4
,
401
);
this
.
btnTopDown
.
Name
=
"btnTopDown"
;
this
.
btnTopDown
.
Name
=
"btnTopDown"
;
this
.
btnTopDown
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnTopDown
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnTopDown
.
TabIndex
=
289
;
this
.
btnTopDown
.
TabIndex
=
289
;
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
//
//
this
.
btnTopUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnTopUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnTopUp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnTopUp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnTopUp
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
296
);
this
.
btnTopUp
.
Location
=
new
System
.
Drawing
.
Point
(
1
4
,
364
);
this
.
btnTopUp
.
Name
=
"btnTopUp"
;
this
.
btnTopUp
.
Name
=
"btnTopUp"
;
this
.
btnTopUp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnTopUp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnTopUp
.
TabIndex
=
288
;
this
.
btnTopUp
.
TabIndex
=
288
;
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
//
//
this
.
btnNGDoorDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNGDoorDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNGDoorDown
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnNGDoorDown
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnNGDoorDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
75
,
251
);
this
.
btnNGDoorDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
88
,
316
);
this
.
btnNGDoorDown
.
Name
=
"btnNGDoorDown"
;
this
.
btnNGDoorDown
.
Name
=
"btnNGDoorDown"
;
this
.
btnNGDoorDown
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnNGDoorDown
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnNGDoorDown
.
TabIndex
=
287
;
this
.
btnNGDoorDown
.
TabIndex
=
287
;
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
//
//
this
.
btnNGDoorUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNGDoorUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNGDoorUp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnNGDoorUp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnNGDoorUp
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
251
);
this
.
btnNGDoorUp
.
Location
=
new
System
.
Drawing
.
Point
(
1
88
,
280
);
this
.
btnNGDoorUp
.
Name
=
"btnNGDoorUp"
;
this
.
btnNGDoorUp
.
Name
=
"btnNGDoorUp"
;
this
.
btnNGDoorUp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnNGDoorUp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnNGDoorUp
.
TabIndex
=
286
;
this
.
btnNGDoorUp
.
TabIndex
=
286
;
...
@@ -328,7 +328,7 @@
...
@@ -328,7 +328,7 @@
//
//
this
.
btnOpenAxisBreak
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenAxisBreak
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenAxisBreak
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenAxisBreak
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenAxisBreak
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
386
);
this
.
btnOpenAxisBreak
.
Location
=
new
System
.
Drawing
.
Point
(
1
4
,
447
);
this
.
btnOpenAxisBreak
.
Name
=
"btnOpenAxisBreak"
;
this
.
btnOpenAxisBreak
.
Name
=
"btnOpenAxisBreak"
;
this
.
btnOpenAxisBreak
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnOpenAxisBreak
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnOpenAxisBreak
.
TabIndex
=
252
;
this
.
btnOpenAxisBreak
.
TabIndex
=
252
;
...
@@ -362,7 +362,7 @@
...
@@ -362,7 +362,7 @@
//
//
this
.
btnLocationDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLocationDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLocationDown
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLocationDown
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLocationDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
75
,
34
1
);
this
.
btnLocationDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
88
,
40
1
);
this
.
btnLocationDown
.
Name
=
"btnLocationDown"
;
this
.
btnLocationDown
.
Name
=
"btnLocationDown"
;
this
.
btnLocationDown
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLocationDown
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLocationDown
.
TabIndex
=
251
;
this
.
btnLocationDown
.
TabIndex
=
251
;
...
@@ -387,7 +387,7 @@
...
@@ -387,7 +387,7 @@
//
//
this
.
btnLocationUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLocationUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLocationUp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLocationUp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLocationUp
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
341
);
this
.
btnLocationUp
.
Location
=
new
System
.
Drawing
.
Point
(
1
88
,
364
);
this
.
btnLocationUp
.
Name
=
"btnLocationUp"
;
this
.
btnLocationUp
.
Name
=
"btnLocationUp"
;
this
.
btnLocationUp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLocationUp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLocationUp
.
TabIndex
=
250
;
this
.
btnLocationUp
.
TabIndex
=
250
;
...
@@ -415,9 +415,9 @@
...
@@ -415,9 +415,9 @@
//
//
this
.
btnCloseDoor
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseDoor
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseDoor
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseDoor
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseDoor
.
Location
=
new
System
.
Drawing
.
Point
(
11
0
,
168
);
this
.
btnCloseDoor
.
Location
=
new
System
.
Drawing
.
Point
(
11
5
,
163
);
this
.
btnCloseDoor
.
Name
=
"btnCloseDoor"
;
this
.
btnCloseDoor
.
Name
=
"btnCloseDoor"
;
this
.
btnCloseDoor
.
Size
=
new
System
.
Drawing
.
Size
(
9
2
,
34
);
this
.
btnCloseDoor
.
Size
=
new
System
.
Drawing
.
Size
(
9
6
,
45
);
this
.
btnCloseDoor
.
TabIndex
=
249
;
this
.
btnCloseDoor
.
TabIndex
=
249
;
this
.
btnCloseDoor
.
Text
=
"入口移门关闭"
;
this
.
btnCloseDoor
.
Text
=
"入口移门关闭"
;
this
.
btnCloseDoor
.
UseVisualStyleBackColor
=
false
;
this
.
btnCloseDoor
.
UseVisualStyleBackColor
=
false
;
...
@@ -427,9 +427,9 @@
...
@@ -427,9 +427,9 @@
//
//
this
.
btnOpenDoor
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenDoor
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenDoor
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenDoor
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenDoor
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
168
);
this
.
btnOpenDoor
.
Location
=
new
System
.
Drawing
.
Point
(
1
4
,
163
);
this
.
btnOpenDoor
.
Name
=
"btnOpenDoor"
;
this
.
btnOpenDoor
.
Name
=
"btnOpenDoor"
;
this
.
btnOpenDoor
.
Size
=
new
System
.
Drawing
.
Size
(
9
2
,
34
);
this
.
btnOpenDoor
.
Size
=
new
System
.
Drawing
.
Size
(
9
6
,
45
);
this
.
btnOpenDoor
.
TabIndex
=
248
;
this
.
btnOpenDoor
.
TabIndex
=
248
;
this
.
btnOpenDoor
.
Text
=
"入口移门打开"
;
this
.
btnOpenDoor
.
Text
=
"入口移门打开"
;
this
.
btnOpenDoor
.
UseVisualStyleBackColor
=
false
;
this
.
btnOpenDoor
.
UseVisualStyleBackColor
=
false
;
...
@@ -493,9 +493,9 @@
...
@@ -493,9 +493,9 @@
//
//
this
.
btnLineBack
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLineBack
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLineBack
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLineBack
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLineBack
.
Location
=
new
System
.
Drawing
.
Point
(
11
0
,
428
);
this
.
btnLineBack
.
Location
=
new
System
.
Drawing
.
Point
(
11
5
,
221
);
this
.
btnLineBack
.
Name
=
"btnLineBack"
;
this
.
btnLineBack
.
Name
=
"btnLineBack"
;
this
.
btnLineBack
.
Size
=
new
System
.
Drawing
.
Size
(
9
2
,
34
);
this
.
btnLineBack
.
Size
=
new
System
.
Drawing
.
Size
(
9
6
,
45
);
this
.
btnLineBack
.
TabIndex
=
299
;
this
.
btnLineBack
.
TabIndex
=
299
;
this
.
btnLineBack
.
Text
=
"线体反转"
;
this
.
btnLineBack
.
Text
=
"线体反转"
;
this
.
btnLineBack
.
UseVisualStyleBackColor
=
false
;
this
.
btnLineBack
.
UseVisualStyleBackColor
=
false
;
...
@@ -505,7 +505,7 @@
...
@@ -505,7 +505,7 @@
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
81
8
,
608
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
81
6
,
608
);
this
.
Controls
.
Add
(
this
.
button1
);
this
.
Controls
.
Add
(
this
.
button1
);
this
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
Controls
.
Add
(
this
.
groupBox4
);
this
.
Controls
.
Add
(
this
.
groupBox4
);
...
...
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
{
{
...
@@ -101,13 +101,21 @@ namespace OnlineStore.DeviceLibrary
...
@@ -101,13 +101,21 @@ namespace OnlineStore.DeviceLibrary
}
}
}
}
public
bool
StartOpen
(
StoreMoveInfo
moveInfo
)
public
bool
StartOpen
(
StoreMoveInfo
moveInfo
)
{
{
bool
UseDoor
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
UseDoor
).
Equals
(
1
);
bool
UseDoor
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
UseDoor
).
Equals
(
1
);
if
(!
UseDoor
)
if
(!
UseDoor
)
{
{
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
));
...
@@ -122,6 +130,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -122,6 +130,13 @@ namespace OnlineStore.DeviceLibrary
if
(!
UseDoor
)
if
(!
UseDoor
)
{
{
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
)
{
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论