Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO775-DUOStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 2c839675
由
LN
编写于
2020-07-08 09:47:27 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
d01a881f
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
457 行增加
和
400 行删除
source/DUOStore/App.config
source/DUOStore/FrmAxisMove.Designer.cs
source/DUOStore/FrmBox.Designer.cs
source/DUOStore/FrmBox.cs
source/DUOStore/FrmIOStatus.Designer.cs
source/DUOStore/FrmIOStatus.cs
source/DUOStore/FrmStore.Designer.cs
source/DeviceLibrary/StoreConfig/StoreConfig.csv
source/DeviceLibrary/duoStore/DUOStoreBean.cs
source/DUOStore/App.config
查看文件 @
2c83967
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<
appSettings
>
<
appSettings
>
<!--是否开机自动启动料仓-->
<!--是否开机自动启动料仓-->
<
add
key
=
"App_AutoRun"
value
=
"0"
/>
<
add
key
=
"App_AutoRun"
value
=
"0"
/>
<
add
key
=
"App_Title"
value
=
"
包装料
料仓"
/>
<
add
key
=
"App_Title"
value
=
"
DUO
料仓"
/>
<!-- 开始吹气的判断值(配置值=服务器发送的湿度值-开始吹气值)-->
<!-- 开始吹气的判断值(配置值=服务器发送的湿度值-开始吹气值)-->
<
add
key
=
"StartBlowValue"
value
=
"4"
/>
<
add
key
=
"StartBlowValue"
value
=
"4"
/>
<!-- 停止吹气的判断值(配置值=服务器发送的湿度值-停止吹气值)-->
<!-- 停止吹气的判断值(配置值=服务器发送的湿度值-停止吹气值)-->
...
@@ -21,9 +21,9 @@
...
@@ -21,9 +21,9 @@
<
add
key
=
"Store_Position_Config"
value
=
"\StoreConfig\linePositions.csv"
/>
<
add
key
=
"Store_Position_Config"
value
=
"\StoreConfig\linePositions.csv"
/>
<
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
=
"
duo
-store"
/>
<
add
key
=
"Store_CID_1"
value
=
"
packing-19
"
/>
<
add
key
=
"Store_CID_1"
value
=
"
duo-1
"
/>
<
add
key
=
"Store_CID_2"
value
=
"
packing-20
"
/>
<
add
key
=
"Store_CID_2"
value
=
"
duo-2
"
/>
<!--
end
one
store
config
-->
<!--
end
one
store
config
-->
<
add
key
=
"ACBaudRate"
value
=
"115200"
/>
<
add
key
=
"ACBaudRate"
value
=
"115200"
/>
<
add
key
=
"InOutDefaultPosition"
value
=
"52000"
/>
<
add
key
=
"InOutDefaultPosition"
value
=
"52000"
/>
...
...
source/DUOStore/FrmAxisMove.Designer.cs
查看文件 @
2c83967
...
@@ -76,12 +76,12 @@ namespace OnlineStore.DUOStore
...
@@ -76,12 +76,12 @@ namespace OnlineStore.DUOStore
this
.
groupInout
.
Controls
.
Add
(
this
.
txtMiddleP11
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtMiddleP11
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnMiddleP11
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnMiddleP11
);
this
.
groupInout
.
Enabled
=
false
;
this
.
groupInout
.
Enabled
=
false
;
this
.
groupInout
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
3
20
);
this
.
groupInout
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
3
77
);
this
.
groupInout
.
Name
=
"groupInout"
;
this
.
groupInout
.
Name
=
"groupInout"
;
this
.
groupInout
.
Size
=
new
System
.
Drawing
.
Size
(
7
50
,
287
);
this
.
groupInout
.
Size
=
new
System
.
Drawing
.
Size
(
7
34
,
164
);
this
.
groupInout
.
TabIndex
=
100
;
this
.
groupInout
.
TabIndex
=
100
;
this
.
groupInout
.
TabStop
=
false
;
this
.
groupInout
.
TabStop
=
false
;
this
.
groupInout
.
Text
=
"
料仓操作
"
;
this
.
groupInout
.
Text
=
"
提升机构位置信息
"
;
//
//
// txtInOutP2
// txtInOutP2
//
//
...
@@ -90,7 +90,7 @@ namespace OnlineStore.DUOStore
...
@@ -90,7 +90,7 @@ namespace OnlineStore.DUOStore
this
.
txtInOutP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP2
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP2
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
6
41
,
30
);
this
.
txtInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
6
35
,
30
);
this
.
txtInOutP2
.
MaxLength
=
20
;
this
.
txtInOutP2
.
MaxLength
=
20
;
this
.
txtInOutP2
.
Name
=
"txtInOutP2"
;
this
.
txtInOutP2
.
Name
=
"txtInOutP2"
;
this
.
txtInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
@@ -105,7 +105,7 @@ namespace OnlineStore.DUOStore
...
@@ -105,7 +105,7 @@ namespace OnlineStore.DUOStore
this
.
txtInOutP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP1
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP1
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
6
40
,
69
);
this
.
txtInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
6
34
,
69
);
this
.
txtInOutP1
.
MaxLength
=
20
;
this
.
txtInOutP1
.
MaxLength
=
20
;
this
.
txtInOutP1
.
Name
=
"txtInOutP1"
;
this
.
txtInOutP1
.
Name
=
"txtInOutP1"
;
this
.
txtInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
@@ -182,7 +182,7 @@ namespace OnlineStore.DUOStore
...
@@ -182,7 +182,7 @@ namespace OnlineStore.DUOStore
this
.
btnInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP2
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP2
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP2
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP2
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
49
7
,
25
);
this
.
btnInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
49
1
,
25
);
this
.
btnInOutP2
.
Name
=
"btnInOutP2"
;
this
.
btnInOutP2
.
Name
=
"btnInOutP2"
;
this
.
btnInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnInOutP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
...
@@ -200,7 +200,7 @@ namespace OnlineStore.DUOStore
...
@@ -200,7 +200,7 @@ namespace OnlineStore.DUOStore
this
.
btnInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP1
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP1
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
49
7
,
64
);
this
.
btnInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
49
1
,
64
);
this
.
btnInOutP1
.
Name
=
"btnInOutP1"
;
this
.
btnInOutP1
.
Name
=
"btnInOutP1"
;
this
.
btnInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnInOutP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
...
@@ -287,11 +287,11 @@ namespace OnlineStore.DUOStore
...
@@ -287,11 +287,11 @@ namespace OnlineStore.DUOStore
this
.
txtInoutP11
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInoutP11
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInoutP11
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInoutP11
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInoutP11
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInoutP11
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInoutP11
.
Location
=
new
System
.
Drawing
.
Point
(
6
40
,
108
);
this
.
txtInoutP11
.
Location
=
new
System
.
Drawing
.
Point
(
6
34
,
108
);
this
.
txtInoutP11
.
MaxLength
=
0
;
this
.
txtInoutP11
.
MaxLength
=
0
;
this
.
txtInoutP11
.
Name
=
"txtInoutP11"
;
this
.
txtInoutP11
.
Name
=
"txtInoutP11"
;
this
.
txtInoutP11
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtInoutP11
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtInoutP11
.
Size
=
new
System
.
Drawing
.
Size
(
77
,
23
);
this
.
txtInoutP11
.
Size
=
new
System
.
Drawing
.
Size
(
89
,
23
);
this
.
txtInoutP11
.
TabIndex
=
227
;
this
.
txtInoutP11
.
TabIndex
=
227
;
this
.
txtInoutP11
.
Text
=
"999999"
;
this
.
txtInoutP11
.
Text
=
"999999"
;
//
//
...
@@ -304,7 +304,7 @@ namespace OnlineStore.DUOStore
...
@@ -304,7 +304,7 @@ namespace OnlineStore.DUOStore
this
.
btnInoutP11
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInoutP11
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInoutP11
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInoutP11
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInoutP11
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInoutP11
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInoutP11
.
Location
=
new
System
.
Drawing
.
Point
(
49
7
,
103
);
this
.
btnInoutP11
.
Location
=
new
System
.
Drawing
.
Point
(
49
1
,
103
);
this
.
btnInoutP11
.
Name
=
"btnInoutP11"
;
this
.
btnInoutP11
.
Name
=
"btnInoutP11"
;
this
.
btnInoutP11
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInoutP11
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInoutP11
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnInoutP11
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
...
@@ -324,7 +324,7 @@ namespace OnlineStore.DUOStore
...
@@ -324,7 +324,7 @@ namespace OnlineStore.DUOStore
this
.
txtMiddleP11
.
MaxLength
=
0
;
this
.
txtMiddleP11
.
MaxLength
=
0
;
this
.
txtMiddleP11
.
Name
=
"txtMiddleP11"
;
this
.
txtMiddleP11
.
Name
=
"txtMiddleP11"
;
this
.
txtMiddleP11
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtMiddleP11
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtMiddleP11
.
Size
=
new
System
.
Drawing
.
Size
(
77
,
23
);
this
.
txtMiddleP11
.
Size
=
new
System
.
Drawing
.
Size
(
89
,
23
);
this
.
txtMiddleP11
.
TabIndex
=
225
;
this
.
txtMiddleP11
.
TabIndex
=
225
;
this
.
txtMiddleP11
.
Text
=
"999999"
;
this
.
txtMiddleP11
.
Text
=
"999999"
;
//
//
...
@@ -349,7 +349,7 @@ namespace OnlineStore.DUOStore
...
@@ -349,7 +349,7 @@ namespace OnlineStore.DUOStore
// axisMoveControl1
// axisMoveControl1
//
//
this
.
axisMoveControl1
.
Enabled
=
false
;
this
.
axisMoveControl1
.
Enabled
=
false
;
this
.
axisMoveControl1
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
3
);
this
.
axisMoveControl1
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
1
);
this
.
axisMoveControl1
.
Name
=
"axisMoveControl1"
;
this
.
axisMoveControl1
.
Name
=
"axisMoveControl1"
;
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
735
,
316
);
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
735
,
316
);
this
.
axisMoveControl1
.
TabIndex
=
274
;
this
.
axisMoveControl1
.
TabIndex
=
274
;
...
@@ -357,7 +357,7 @@ namespace OnlineStore.DUOStore
...
@@ -357,7 +357,7 @@ namespace OnlineStore.DUOStore
// btnAxisOff
// btnAxisOff
//
//
this
.
btnAxisOff
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOff
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOff
.
Location
=
new
System
.
Drawing
.
Point
(
898
,
24
);
this
.
btnAxisOff
.
Location
=
new
System
.
Drawing
.
Point
(
148
,
320
);
this
.
btnAxisOff
.
Name
=
"btnAxisOff"
;
this
.
btnAxisOff
.
Name
=
"btnAxisOff"
;
this
.
btnAxisOff
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnAxisOff
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnAxisOff
.
TabIndex
=
276
;
this
.
btnAxisOff
.
TabIndex
=
276
;
...
@@ -367,7 +367,7 @@ namespace OnlineStore.DUOStore
...
@@ -367,7 +367,7 @@ namespace OnlineStore.DUOStore
// btnAxisOn
// btnAxisOn
//
//
this
.
btnAxisOn
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOn
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOn
.
Location
=
new
System
.
Drawing
.
Point
(
768
,
24
);
this
.
btnAxisOn
.
Location
=
new
System
.
Drawing
.
Point
(
18
,
320
);
this
.
btnAxisOn
.
Name
=
"btnAxisOn"
;
this
.
btnAxisOn
.
Name
=
"btnAxisOn"
;
this
.
btnAxisOn
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnAxisOn
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnAxisOn
.
TabIndex
=
275
;
this
.
btnAxisOn
.
TabIndex
=
275
;
...
@@ -378,7 +378,7 @@ namespace OnlineStore.DUOStore
...
@@ -378,7 +378,7 @@ namespace OnlineStore.DUOStore
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
96F
,
96F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
96F
,
96F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Dpi
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Dpi
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1224
,
626
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
964
,
630
);
this
.
Controls
.
Add
(
this
.
groupInout
);
this
.
Controls
.
Add
(
this
.
groupInout
);
this
.
Controls
.
Add
(
this
.
axisMoveControl1
);
this
.
Controls
.
Add
(
this
.
axisMoveControl1
);
this
.
Controls
.
Add
(
this
.
btnAxisOff
);
this
.
Controls
.
Add
(
this
.
btnAxisOff
);
...
...
source/DUOStore/FrmBox.Designer.cs
查看文件 @
2c83967
...
@@ -37,11 +37,9 @@ namespace OnlineStore.DUOStore
...
@@ -37,11 +37,9 @@ namespace OnlineStore.DUOStore
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabPage4
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
tabPage4
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
btnDoorDown
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnDoorDown
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
btnDoorUp
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
tableLayoutPanel2
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupInout
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupInout
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
btnSingleOut
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtComP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtComP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInOutP2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInOutP2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInOutP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInOutP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
...
@@ -87,14 +85,6 @@ namespace OnlineStore.DUOStore
...
@@ -87,14 +85,6 @@ namespace OnlineStore.DUOStore
this
.
cmbPosition
=
new
System
.
Windows
.
Forms
.
ComboBox
();
this
.
cmbPosition
=
new
System
.
Windows
.
Forms
.
ComboBox
();
this
.
btnInStore
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnInStore
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnOutStore
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnOutStore
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnDoorUp
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
lblMoveInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTemp
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblMoveEquipInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblWarnMsg
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblThisSta
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
chbDebug
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
tabPage1
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
tabPage1
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
groupBox7
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox7
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
btnSelTemp
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnSelTemp
=
new
System
.
Windows
.
Forms
.
Button
();
...
@@ -107,17 +97,25 @@ namespace OnlineStore.DUOStore
...
@@ -107,17 +97,25 @@ namespace OnlineStore.DUOStore
this
.
btnTempClose
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnTempClose
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnTempInit
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnTempInit
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
axisMoveControl1
=
new
OnlineStore
.
DUOStore
.
AxisMoveControl
();
this
.
axisMoveControl1
=
new
OnlineStore
.
DUOStore
.
AxisMoveControl
();
this
.
btnSingleOut
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
chbDebug
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
groupInfo
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
lblMoveInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTemp
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
tableLayoutPanel2
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
lblMoveEquipInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblWarnMsg
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblThisSta
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
tabControl1
.
SuspendLayout
();
this
.
tabControl1
.
SuspendLayout
();
this
.
tabPage4
.
SuspendLayout
();
this
.
tabPage4
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupInout
.
SuspendLayout
();
this
.
groupInout
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
this
.
tabPage1
.
SuspendLayout
();
this
.
tabPage1
.
SuspendLayout
();
this
.
groupBox7
.
SuspendLayout
();
this
.
groupBox7
.
SuspendLayout
();
this
.
groupInfo
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// timer1
// timer1
...
@@ -128,7 +126,7 @@ namespace OnlineStore.DUOStore
...
@@ -128,7 +126,7 @@ namespace OnlineStore.DUOStore
// btnUpdown
// btnUpdown
//
//
this
.
btnUpdown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpdown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpdown
.
Location
=
new
System
.
Drawing
.
Point
(
281
,
32
6
);
this
.
btnUpdown
.
Location
=
new
System
.
Drawing
.
Point
(
555
,
41
6
);
this
.
btnUpdown
.
Name
=
"btnUpdown"
;
this
.
btnUpdown
.
Name
=
"btnUpdown"
;
this
.
btnUpdown
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnUpdown
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnUpdown
.
TabIndex
=
273
;
this
.
btnUpdown
.
TabIndex
=
273
;
...
@@ -139,7 +137,7 @@ namespace OnlineStore.DUOStore
...
@@ -139,7 +137,7 @@ namespace OnlineStore.DUOStore
// btnAxisOff
// btnAxisOff
//
//
this
.
btnAxisOff
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOff
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOff
.
Location
=
new
System
.
Drawing
.
Point
(
147
,
326
);
this
.
btnAxisOff
.
Location
=
new
System
.
Drawing
.
Point
(
555
,
371
);
this
.
btnAxisOff
.
Name
=
"btnAxisOff"
;
this
.
btnAxisOff
.
Name
=
"btnAxisOff"
;
this
.
btnAxisOff
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnAxisOff
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnAxisOff
.
TabIndex
=
11
;
this
.
btnAxisOff
.
TabIndex
=
11
;
...
@@ -150,7 +148,7 @@ namespace OnlineStore.DUOStore
...
@@ -150,7 +148,7 @@ namespace OnlineStore.DUOStore
// btnAxisOn
// btnAxisOn
//
//
this
.
btnAxisOn
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOn
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOn
.
Location
=
new
System
.
Drawing
.
Point
(
17
,
326
);
this
.
btnAxisOn
.
Location
=
new
System
.
Drawing
.
Point
(
555
,
326
);
this
.
btnAxisOn
.
Name
=
"btnAxisOn"
;
this
.
btnAxisOn
.
Name
=
"btnAxisOn"
;
this
.
btnAxisOn
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnAxisOn
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnAxisOn
.
TabIndex
=
10
;
this
.
btnAxisOn
.
TabIndex
=
10
;
...
@@ -161,7 +159,7 @@ namespace OnlineStore.DUOStore
...
@@ -161,7 +159,7 @@ namespace OnlineStore.DUOStore
// btnAxisP
// btnAxisP
//
//
this
.
btnAxisP
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisP
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisP
.
Location
=
new
System
.
Drawing
.
Point
(
10
,
141
);
this
.
btnAxisP
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
422
);
this
.
btnAxisP
.
Name
=
"btnAxisP"
;
this
.
btnAxisP
.
Name
=
"btnAxisP"
;
this
.
btnAxisP
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnAxisP
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnAxisP
.
TabIndex
=
8
;
this
.
btnAxisP
.
TabIndex
=
8
;
...
@@ -209,97 +207,53 @@ namespace OnlineStore.DUOStore
...
@@ -209,97 +207,53 @@ namespace OnlineStore.DUOStore
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage4
);
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage4
);
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage1
);
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage1
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
239
,
112
);
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1219
,
620
);
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
744
,
506
);
this
.
tabControl1
.
TabIndex
=
272
;
this
.
tabControl1
.
TabIndex
=
272
;
//
//
// tabPage4
// tabPage4
//
//
this
.
tabPage4
.
Controls
.
Add
(
this
.
groupInfo
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
btnAxisP
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
groupBox4
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
btnDoorDown
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
btnDoorUp
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
groupInout
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
groupInout
);
this
.
tabPage4
.
Controls
.
Add
(
this
.
groupBox3
);
this
.
tabPage4
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage4
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage4
.
Name
=
"tabPage4"
;
this
.
tabPage4
.
Name
=
"tabPage4"
;
this
.
tabPage4
.
Size
=
new
System
.
Drawing
.
Size
(
1211
,
587
);
this
.
tabPage4
.
Size
=
new
System
.
Drawing
.
Size
(
736
,
473
);
this
.
tabPage4
.
TabIndex
=
3
;
this
.
tabPage4
.
TabIndex
=
3
;
this
.
tabPage4
.
Text
=
"
状态
信息 "
;
this
.
tabPage4
.
Text
=
"
库位
信息 "
;
this
.
tabPage4
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage4
.
UseVisualStyleBackColor
=
true
;
//
//
// btnDoorDown
// btnDoorDown
//
//
this
.
btnDoorDown
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnDoorDown
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnDoorDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnDoorDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnDoorDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
247
);
this
.
btnDoorDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
19
,
422
);
this
.
btnDoorDown
.
Name
=
"btnDoorDown"
;
this
.
btnDoorDown
.
Name
=
"btnDoorDown"
;
this
.
btnDoorDown
.
Size
=
new
System
.
Drawing
.
Size
(
1
28
,
39
);
this
.
btnDoorDown
.
Size
=
new
System
.
Drawing
.
Size
(
1
07
,
39
);
this
.
btnDoorDown
.
TabIndex
=
272
;
this
.
btnDoorDown
.
TabIndex
=
272
;
this
.
btnDoorDown
.
Text
=
"出料口门下降"
;
this
.
btnDoorDown
.
Text
=
"出料口门下降"
;
this
.
btnDoorDown
.
UseVisualStyleBackColor
=
false
;
this
.
btnDoorDown
.
UseVisualStyleBackColor
=
false
;
this
.
btnDoorDown
.
Click
+=
new
System
.
EventHandler
(
this
.
btnDoorDown_Click
);
//
//
// groupBox4
// btnDoorUp
//
this
.
groupBox4
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
groupBox4
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
groupBox4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
229
,
115
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
225
,
226
);
this
.
groupBox4
.
TabIndex
=
270
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"DO列表"
;
//
// tableLayoutPanel2
//
this
.
tableLayoutPanel2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tableLayoutPanel2
.
ColumnCount
=
1
;
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel2
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
14
);
this
.
tableLayoutPanel2
.
Name
=
"tableLayoutPanel2"
;
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
214
,
206
);
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
//
// groupBox1
//
this
.
groupBox1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
groupBox1
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
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
(
229
,
343
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
225
,
226
);
this
.
groupBox1
.
TabIndex
=
269
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"DI列表"
;
//
// tableLayoutPanel1
//
//
this
.
tableLayoutPanel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
btnDoorUp
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
btnDoorUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnDoorUp
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
422
);
this
.
tableLayoutPanel1
.
ColumnCount
=
1
;
this
.
btnDoorUp
.
Name
=
"btnDoorUp"
;
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
btnDoorUp
.
Size
=
new
System
.
Drawing
.
Size
(
107
,
39
);
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
14
);
this
.
btnDoorUp
.
TabIndex
=
271
;
this
.
tableLayoutPanel1
.
Name
=
"tableLayoutPanel1"
;
this
.
btnDoorUp
.
Text
=
"出料口门上升"
;
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
btnDoorUp
.
UseVisualStyleBackColor
=
false
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
btnDoorUp
.
Click
+=
new
System
.
EventHandler
(
this
.
btnDoorUp_Click
);
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
214
,
206
);
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
//
//
// groupInout
// groupInout
//
//
this
.
groupInout
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
groupInout
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Lef
t
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Righ
t
)));
this
.
groupInout
.
Controls
.
Add
(
this
.
btnSingleOut
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnSingleOut
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtComP1
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtComP1
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtInOutP2
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtInOutP2
);
...
@@ -347,13 +301,25 @@ namespace OnlineStore.DUOStore
...
@@ -347,13 +301,25 @@ namespace OnlineStore.DUOStore
this
.
groupInout
.
Controls
.
Add
(
this
.
btnInStore
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnInStore
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnOutStore
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnOutStore
);
this
.
groupInout
.
Enabled
=
false
;
this
.
groupInout
.
Enabled
=
false
;
this
.
groupInout
.
Location
=
new
System
.
Drawing
.
Point
(
459
,
114
);
this
.
groupInout
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
3
);
this
.
groupInout
.
Name
=
"groupInout"
;
this
.
groupInout
.
Name
=
"groupInout"
;
this
.
groupInout
.
Size
=
new
System
.
Drawing
.
Size
(
7
50
,
464
);
this
.
groupInout
.
Size
=
new
System
.
Drawing
.
Size
(
7
22
,
415
);
this
.
groupInout
.
TabIndex
=
100
;
this
.
groupInout
.
TabIndex
=
100
;
this
.
groupInout
.
TabStop
=
false
;
this
.
groupInout
.
TabStop
=
false
;
this
.
groupInout
.
Text
=
"料仓操作"
;
this
.
groupInout
.
Text
=
"料仓操作"
;
//
//
// btnSingleOut
//
this
.
btnSingleOut
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnSingleOut
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnSingleOut
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnSingleOut
.
Location
=
new
System
.
Drawing
.
Point
(
538
,
21
);
this
.
btnSingleOut
.
Name
=
"btnSingleOut"
;
this
.
btnSingleOut
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnSingleOut
.
TabIndex
=
309
;
this
.
btnSingleOut
.
Text
=
"单盘出库测试"
;
this
.
btnSingleOut
.
UseVisualStyleBackColor
=
false
;
//
// txtComP1
// txtComP1
//
//
this
.
txtComP1
.
AcceptsReturn
=
true
;
this
.
txtComP1
.
AcceptsReturn
=
true
;
...
@@ -376,7 +342,7 @@ namespace OnlineStore.DUOStore
...
@@ -376,7 +342,7 @@ namespace OnlineStore.DUOStore
this
.
txtInOutP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP2
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP2
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
150
,
297
);
this
.
txtInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
392
,
297
);
this
.
txtInOutP2
.
MaxLength
=
20
;
this
.
txtInOutP2
.
MaxLength
=
20
;
this
.
txtInOutP2
.
Name
=
"txtInOutP2"
;
this
.
txtInOutP2
.
Name
=
"txtInOutP2"
;
this
.
txtInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
@@ -391,7 +357,7 @@ namespace OnlineStore.DUOStore
...
@@ -391,7 +357,7 @@ namespace OnlineStore.DUOStore
this
.
txtInOutP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP1
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP1
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
391
,
297
);
this
.
txtInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
149
,
297
);
this
.
txtInOutP1
.
MaxLength
=
20
;
this
.
txtInOutP1
.
MaxLength
=
20
;
this
.
txtInOutP1
.
Name
=
"txtInOutP1"
;
this
.
txtInOutP1
.
Name
=
"txtInOutP1"
;
this
.
txtInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
@@ -592,7 +558,7 @@ namespace OnlineStore.DUOStore
...
@@ -592,7 +558,7 @@ namespace OnlineStore.DUOStore
this
.
btnInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP2
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP2
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP2
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP2
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
292
);
this
.
btnInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
248
,
292
);
this
.
btnInOutP2
.
Name
=
"btnInOutP2"
;
this
.
btnInOutP2
.
Name
=
"btnInOutP2"
;
this
.
btnInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnInOutP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
...
@@ -611,7 +577,7 @@ namespace OnlineStore.DUOStore
...
@@ -611,7 +577,7 @@ namespace OnlineStore.DUOStore
this
.
btnInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP1
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP1
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
248
,
292
);
this
.
btnInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
292
);
this
.
btnInOutP1
.
Name
=
"btnInOutP1"
;
this
.
btnInOutP1
.
Name
=
"btnInOutP1"
;
this
.
btnInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnInOutP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
...
@@ -730,7 +696,7 @@ namespace OnlineStore.DUOStore
...
@@ -730,7 +696,7 @@ namespace OnlineStore.DUOStore
this
.
btnInOutP3
.
Text
=
"进出轴取料点P3:"
;
this
.
btnInOutP3
.
Text
=
"进出轴取料点P3:"
;
this
.
btnInOutP3
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP3
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP3
.
UseVisualStyleBackColor
=
false
;
this
.
btnInOutP3
.
UseVisualStyleBackColor
=
false
;
this
.
btnInOutP3
.
Click
+=
new
System
.
EventHandler
(
this
.
btnInOutP
2
_Click
);
this
.
btnInOutP3
.
Click
+=
new
System
.
EventHandler
(
this
.
btnInOutP
3
_Click
);
//
//
// btnMiddleP2
// btnMiddleP2
//
//
...
@@ -869,7 +835,7 @@ namespace OnlineStore.DUOStore
...
@@ -869,7 +835,7 @@ namespace OnlineStore.DUOStore
this
.
txtInoutP11
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInoutP11
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInoutP11
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInoutP11
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInoutP11
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInoutP11
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInoutP11
.
Location
=
new
System
.
Drawing
.
Point
(
640
,
29
8
);
this
.
txtInoutP11
.
Location
=
new
System
.
Drawing
.
Point
(
640
,
29
7
);
this
.
txtInoutP11
.
MaxLength
=
0
;
this
.
txtInoutP11
.
MaxLength
=
0
;
this
.
txtInoutP11
.
Name
=
"txtInoutP11"
;
this
.
txtInoutP11
.
Name
=
"txtInoutP11"
;
this
.
txtInoutP11
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtInoutP11
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
@@ -886,7 +852,7 @@ namespace OnlineStore.DUOStore
...
@@ -886,7 +852,7 @@ namespace OnlineStore.DUOStore
this
.
btnInoutP11
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInoutP11
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInoutP11
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInoutP11
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInoutP11
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInoutP11
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInoutP11
.
Location
=
new
System
.
Drawing
.
Point
(
497
,
29
3
);
this
.
btnInoutP11
.
Location
=
new
System
.
Drawing
.
Point
(
497
,
29
2
);
this
.
btnInoutP11
.
Name
=
"btnInoutP11"
;
this
.
btnInoutP11
.
Name
=
"btnInoutP11"
;
this
.
btnInoutP11
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInoutP11
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInoutP11
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnInoutP11
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
...
@@ -984,7 +950,7 @@ namespace OnlineStore.DUOStore
...
@@ -984,7 +950,7 @@ namespace OnlineStore.DUOStore
this
.
btnSavePosition
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnSavePosition
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnSavePosition
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnSavePosition
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnSavePosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnSavePosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnSavePosition
.
Location
=
new
System
.
Drawing
.
Point
(
538
,
6
5
);
this
.
btnSavePosition
.
Location
=
new
System
.
Drawing
.
Point
(
538
,
35
5
);
this
.
btnSavePosition
.
Name
=
"btnSavePosition"
;
this
.
btnSavePosition
.
Name
=
"btnSavePosition"
;
this
.
btnSavePosition
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnSavePosition
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnSavePosition
.
TabIndex
=
217
;
this
.
btnSavePosition
.
TabIndex
=
217
;
...
@@ -1060,103 +1026,6 @@ namespace OnlineStore.DUOStore
...
@@ -1060,103 +1026,6 @@ namespace OnlineStore.DUOStore
this
.
btnOutStore
.
UseVisualStyleBackColor
=
false
;
this
.
btnOutStore
.
UseVisualStyleBackColor
=
false
;
this
.
btnOutStore
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOutStore_Click
);
this
.
btnOutStore
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOutStore_Click
);
//
//
// btnDoorUp
//
this
.
btnDoorUp
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnDoorUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnDoorUp
.
Location
=
new
System
.
Drawing
.
Point
(
10
,
207
);
this
.
btnDoorUp
.
Name
=
"btnDoorUp"
;
this
.
btnDoorUp
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
btnDoorUp
.
TabIndex
=
271
;
this
.
btnDoorUp
.
Text
=
"出料口门上升"
;
this
.
btnDoorUp
.
UseVisualStyleBackColor
=
false
;
//
// groupBox3
//
this
.
groupBox3
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox3
.
Controls
.
Add
(
this
.
lblMoveEquipInfo
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
btnSotreReset
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
btnStoreStop
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
btnStoreStart
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
lblWarnMsg
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
lblThisSta
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
3
);
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
1199
,
105
);
this
.
groupBox3
.
TabIndex
=
268
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
Text
=
"设备状态"
;
//
// lblMoveInfo
//
this
.
lblMoveInfo
.
AutoSize
=
true
;
this
.
lblMoveInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
25
,
63
);
this
.
lblMoveInfo
.
Name
=
"lblMoveInfo"
;
this
.
lblMoveInfo
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
lblMoveInfo
.
TabIndex
=
269
;
this
.
lblMoveInfo
.
Text
=
"运转状态"
;
//
// lblTemp
//
this
.
lblTemp
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblTemp
.
AutoSize
=
true
;
this
.
lblTemp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTemp
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
lblTemp
.
Location
=
new
System
.
Drawing
.
Point
(
25
,
96
);
this
.
lblTemp
.
Name
=
"lblTemp"
;
this
.
lblTemp
.
Size
=
new
System
.
Drawing
.
Size
(
136
,
17
);
this
.
lblTemp
.
TabIndex
=
270
;
this
.
lblTemp
.
Text
=
"当前温度--,当前湿度--"
;
//
// lblMoveEquipInfo
//
this
.
lblMoveEquipInfo
.
AutoSize
=
true
;
this
.
lblMoveEquipInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveEquipInfo
.
ForeColor
=
System
.
Drawing
.
Color
.
Blue
;
this
.
lblMoveEquipInfo
.
Location
=
new
System
.
Drawing
.
Point
(
138
,
75
);
this
.
lblMoveEquipInfo
.
Name
=
"lblMoveEquipInfo"
;
this
.
lblMoveEquipInfo
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
lblMoveEquipInfo
.
TabIndex
=
272
;
this
.
lblMoveEquipInfo
.
Text
=
"移栽状态"
;
//
// lblWarnMsg
//
this
.
lblWarnMsg
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblWarnMsg
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblWarnMsg
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblWarnMsg
.
Location
=
new
System
.
Drawing
.
Point
(
409
,
14
);
this
.
lblWarnMsg
.
Name
=
"lblWarnMsg"
;
this
.
lblWarnMsg
.
Size
=
new
System
.
Drawing
.
Size
(
784
,
84
);
this
.
lblWarnMsg
.
TabIndex
=
224
;
this
.
lblWarnMsg
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
// lblThisSta
//
this
.
lblThisSta
.
AutoSize
=
true
;
this
.
lblThisSta
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblThisSta
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
75
);
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
65
,
19
);
this
.
lblThisSta
.
TabIndex
=
216
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
//
// chbDebug
//
this
.
chbDebug
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbDebug
.
AutoSize
=
true
;
this
.
chbDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbDebug
.
Location
=
new
System
.
Drawing
.
Point
(
28
,
22
);
this
.
chbDebug
.
Name
=
"chbDebug"
;
this
.
chbDebug
.
Size
=
new
System
.
Drawing
.
Size
(
93
,
25
);
this
.
chbDebug
.
TabIndex
=
271
;
this
.
chbDebug
.
Text
=
"调试状态"
;
this
.
chbDebug
.
UseVisualStyleBackColor
=
true
;
this
.
chbDebug
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbDebug_CheckedChanged
);
//
// tabPage1
// tabPage1
//
//
this
.
tabPage1
.
Controls
.
Add
(
this
.
btnUpdown
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
btnUpdown
);
...
@@ -1167,7 +1036,7 @@ namespace OnlineStore.DUOStore
...
@@ -1167,7 +1036,7 @@ namespace OnlineStore.DUOStore
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
1211
,
587
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
736
,
473
);
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
Text
=
" 伺服/温湿度 "
;
this
.
tabPage1
.
Text
=
" 伺服/温湿度 "
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
...
@@ -1183,16 +1052,16 @@ namespace OnlineStore.DUOStore
...
@@ -1183,16 +1052,16 @@ namespace OnlineStore.DUOStore
this
.
groupBox7
.
Controls
.
Add
(
this
.
label27
);
this
.
groupBox7
.
Controls
.
Add
(
this
.
label27
);
this
.
groupBox7
.
Controls
.
Add
(
this
.
btnTempClose
);
this
.
groupBox7
.
Controls
.
Add
(
this
.
btnTempClose
);
this
.
groupBox7
.
Controls
.
Add
(
this
.
btnTempInit
);
this
.
groupBox7
.
Controls
.
Add
(
this
.
btnTempInit
);
this
.
groupBox7
.
Location
=
new
System
.
Drawing
.
Point
(
748
,
6
);
this
.
groupBox7
.
Location
=
new
System
.
Drawing
.
Point
(
13
,
318
);
this
.
groupBox7
.
Name
=
"groupBox7"
;
this
.
groupBox7
.
Name
=
"groupBox7"
;
this
.
groupBox7
.
Size
=
new
System
.
Drawing
.
Size
(
434
,
164
);
this
.
groupBox7
.
Size
=
new
System
.
Drawing
.
Size
(
527
,
138
);
this
.
groupBox7
.
TabIndex
=
272
;
this
.
groupBox7
.
TabIndex
=
272
;
this
.
groupBox7
.
TabStop
=
false
;
this
.
groupBox7
.
TabStop
=
false
;
this
.
groupBox7
.
Text
=
"温控器调试"
;
this
.
groupBox7
.
Text
=
"温控器调试"
;
//
//
// btnSelTemp
// btnSelTemp
//
//
this
.
btnSelTemp
.
Location
=
new
System
.
Drawing
.
Point
(
212
,
82
);
this
.
btnSelTemp
.
Location
=
new
System
.
Drawing
.
Point
(
188
,
85
);
this
.
btnSelTemp
.
Name
=
"btnSelTemp"
;
this
.
btnSelTemp
.
Name
=
"btnSelTemp"
;
this
.
btnSelTemp
.
Size
=
new
System
.
Drawing
.
Size
(
157
,
33
);
this
.
btnSelTemp
.
Size
=
new
System
.
Drawing
.
Size
(
157
,
33
);
this
.
btnSelTemp
.
TabIndex
=
248
;
this
.
btnSelTemp
.
TabIndex
=
248
;
...
@@ -1203,7 +1072,7 @@ namespace OnlineStore.DUOStore
...
@@ -1203,7 +1072,7 @@ namespace OnlineStore.DUOStore
// txtHum
// txtHum
//
//
this
.
txtHum
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtHum
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtHum
.
Location
=
new
System
.
Drawing
.
Point
(
95
,
98
);
this
.
txtHum
.
Location
=
new
System
.
Drawing
.
Point
(
77
,
98
);
this
.
txtHum
.
MaxLength
=
10
;
this
.
txtHum
.
MaxLength
=
10
;
this
.
txtHum
.
Name
=
"txtHum"
;
this
.
txtHum
.
Name
=
"txtHum"
;
this
.
txtHum
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
26
);
this
.
txtHum
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
26
);
...
@@ -1225,7 +1094,7 @@ namespace OnlineStore.DUOStore
...
@@ -1225,7 +1094,7 @@ namespace OnlineStore.DUOStore
// txtTemp
// txtTemp
//
//
this
.
txtTemp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtTemp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtTemp
.
Location
=
new
System
.
Drawing
.
Point
(
95
,
63
);
this
.
txtTemp
.
Location
=
new
System
.
Drawing
.
Point
(
77
,
63
);
this
.
txtTemp
.
MaxLength
=
10
;
this
.
txtTemp
.
MaxLength
=
10
;
this
.
txtTemp
.
Name
=
"txtTemp"
;
this
.
txtTemp
.
Name
=
"txtTemp"
;
this
.
txtTemp
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
26
);
this
.
txtTemp
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
26
);
...
@@ -1247,7 +1116,7 @@ namespace OnlineStore.DUOStore
...
@@ -1247,7 +1116,7 @@ namespace OnlineStore.DUOStore
// txtTempPort
// txtTempPort
//
//
this
.
txtTempPort
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtTempPort
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtTempPort
.
Location
=
new
System
.
Drawing
.
Point
(
95
,
28
);
this
.
txtTempPort
.
Location
=
new
System
.
Drawing
.
Point
(
77
,
28
);
this
.
txtTempPort
.
MaxLength
=
10
;
this
.
txtTempPort
.
MaxLength
=
10
;
this
.
txtTempPort
.
Name
=
"txtTempPort"
;
this
.
txtTempPort
.
Name
=
"txtTempPort"
;
this
.
txtTempPort
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
26
);
this
.
txtTempPort
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
26
);
...
@@ -1268,7 +1137,7 @@ namespace OnlineStore.DUOStore
...
@@ -1268,7 +1137,7 @@ namespace OnlineStore.DUOStore
//
//
// btnTempClose
// btnTempClose
//
//
this
.
btnTempClose
.
Location
=
new
System
.
Drawing
.
Point
(
322
,
30
);
this
.
btnTempClose
.
Location
=
new
System
.
Drawing
.
Point
(
298
,
33
);
this
.
btnTempClose
.
Name
=
"btnTempClose"
;
this
.
btnTempClose
.
Name
=
"btnTempClose"
;
this
.
btnTempClose
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
33
);
this
.
btnTempClose
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
33
);
this
.
btnTempClose
.
TabIndex
=
89
;
this
.
btnTempClose
.
TabIndex
=
89
;
...
@@ -1278,7 +1147,7 @@ namespace OnlineStore.DUOStore
...
@@ -1278,7 +1147,7 @@ namespace OnlineStore.DUOStore
//
//
// btnTempInit
// btnTempInit
//
//
this
.
btnTempInit
.
Location
=
new
System
.
Drawing
.
Point
(
212
,
30
);
this
.
btnTempInit
.
Location
=
new
System
.
Drawing
.
Point
(
188
,
33
);
this
.
btnTempInit
.
Name
=
"btnTempInit"
;
this
.
btnTempInit
.
Name
=
"btnTempInit"
;
this
.
btnTempInit
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
33
);
this
.
btnTempInit
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
33
);
this
.
btnTempInit
.
TabIndex
=
88
;
this
.
btnTempInit
.
TabIndex
=
88
;
...
@@ -1294,39 +1163,156 @@ namespace OnlineStore.DUOStore
...
@@ -1294,39 +1163,156 @@ namespace OnlineStore.DUOStore
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
735
,
316
);
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
735
,
316
);
this
.
axisMoveControl1
.
TabIndex
=
0
;
this
.
axisMoveControl1
.
TabIndex
=
0
;
//
//
//
btnSingleOut
//
chbDebug
//
//
this
.
btnSingleOut
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
chbDebug
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnSingleOut
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
chbDebug
.
AutoSize
=
true
;
this
.
btnSingleOut
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnSingleOut
.
Location
=
new
System
.
Drawing
.
Point
(
538
,
21
);
this
.
chbDebug
.
Location
=
new
System
.
Drawing
.
Point
(
149
,
506
);
this
.
btnSingleOut
.
Name
=
"btnSingleOut"
;
this
.
chbDebug
.
Name
=
"chbDebug"
;
this
.
btnSingleOut
.
Size
=
new
System
.
Drawing
.
Size
(
128
,
39
);
this
.
chbDebug
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
24
);
this
.
btnSingleOut
.
TabIndex
=
309
;
this
.
chbDebug
.
TabIndex
=
271
;
this
.
btnSingleOut
.
Text
=
"单盘出库测试"
;
this
.
chbDebug
.
Text
=
"调试状态"
;
this
.
btnSingleOut
.
UseVisualStyleBackColor
=
false
;
this
.
chbDebug
.
UseVisualStyleBackColor
=
true
;
this
.
chbDebug
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbDebug_CheckedChanged
);
//
// lblMoveInfo
//
this
.
lblMoveInfo
.
AutoSize
=
true
;
this
.
lblMoveInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
20
,
531
);
this
.
lblMoveInfo
.
Name
=
"lblMoveInfo"
;
this
.
lblMoveInfo
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
lblMoveInfo
.
TabIndex
=
269
;
this
.
lblMoveInfo
.
Text
=
"运转状态"
;
//
// lblTemp
//
this
.
lblTemp
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblTemp
.
AutoSize
=
true
;
this
.
lblTemp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTemp
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
lblTemp
.
Location
=
new
System
.
Drawing
.
Point
(-
254
,
593
);
this
.
lblTemp
.
Name
=
"lblTemp"
;
this
.
lblTemp
.
Size
=
new
System
.
Drawing
.
Size
(
136
,
17
);
this
.
lblTemp
.
TabIndex
=
270
;
this
.
lblTemp
.
Text
=
"当前温度--,当前湿度--"
;
//
// groupBox4
//
this
.
groupBox4
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
groupBox4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
112
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
225
,
193
);
this
.
groupBox4
.
TabIndex
=
270
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"DO列表"
;
//
// tableLayoutPanel2
//
this
.
tableLayoutPanel2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tableLayoutPanel2
.
ColumnCount
=
1
;
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel2
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
14
);
this
.
tableLayoutPanel2
.
Name
=
"tableLayoutPanel2"
;
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
214
,
173
);
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
//
// groupBox1
//
this
.
groupBox1
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
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
(
8
,
311
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
225
,
193
);
this
.
groupBox1
.
TabIndex
=
269
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"DI列表"
;
//
// tableLayoutPanel1
//
this
.
tableLayoutPanel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tableLayoutPanel1
.
ColumnCount
=
1
;
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
14
);
this
.
tableLayoutPanel1
.
Name
=
"tableLayoutPanel1"
;
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
214
,
173
);
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
//
// groupBox3
//
this
.
groupBox3
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox3
.
Controls
.
Add
(
this
.
lblMoveEquipInfo
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
btnSotreReset
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
btnStoreStop
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
btnStoreStart
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
lblWarnMsg
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
lblThisSta
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
2
);
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
975
,
105
);
this
.
groupBox3
.
TabIndex
=
268
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
Text
=
"设备状态"
;
//
// lblMoveEquipInfo
//
this
.
lblMoveEquipInfo
.
AutoSize
=
true
;
this
.
lblMoveEquipInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveEquipInfo
.
ForeColor
=
System
.
Drawing
.
Color
.
Blue
;
this
.
lblMoveEquipInfo
.
Location
=
new
System
.
Drawing
.
Point
(
138
,
75
);
this
.
lblMoveEquipInfo
.
Name
=
"lblMoveEquipInfo"
;
this
.
lblMoveEquipInfo
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
lblMoveEquipInfo
.
TabIndex
=
272
;
this
.
lblMoveEquipInfo
.
Text
=
"移栽状态"
;
//
// lblWarnMsg
//
this
.
lblWarnMsg
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblWarnMsg
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblWarnMsg
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblWarnMsg
.
Location
=
new
System
.
Drawing
.
Point
(
407
,
14
);
this
.
lblWarnMsg
.
Name
=
"lblWarnMsg"
;
this
.
lblWarnMsg
.
Size
=
new
System
.
Drawing
.
Size
(
562
,
84
);
this
.
lblWarnMsg
.
TabIndex
=
224
;
this
.
lblWarnMsg
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
//
// groupInfo
// lblThisSta
//
//
this
.
groupInfo
.
Controls
.
Add
(
this
.
btnAxisP
);
this
.
lblThisSta
.
AutoSize
=
true
;
this
.
groupInfo
.
Controls
.
Add
(
this
.
btnDoorUp
);
this
.
lblThisSta
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupInfo
.
Controls
.
Add
(
this
.
btnDoorDown
);
this
.
lblThisSta
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
groupInfo
.
Controls
.
Add
(
this
.
chbDebug
);
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
75
);
this
.
groupInfo
.
Controls
.
Add
(
this
.
lblMoveInfo
);
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
groupInfo
.
Controls
.
Add
(
this
.
lblTemp
);
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
65
,
19
);
this
.
groupInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblThisSta
.
TabIndex
=
216
;
this
.
groupInfo
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
114
);
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
groupInfo
.
Name
=
"groupInfo"
;
this
.
groupInfo
.
Size
=
new
System
.
Drawing
.
Size
(
217
,
464
);
this
.
groupInfo
.
TabIndex
=
273
;
this
.
groupInfo
.
TabStop
=
false
;
//
//
// FrmBox
// FrmBox
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
96F
,
96F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
96F
,
96F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Dpi
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Dpi
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1224
,
626
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
984
,
623
);
this
.
Controls
.
Add
(
this
.
chbDebug
);
this
.
Controls
.
Add
(
this
.
lblMoveInfo
);
this
.
Controls
.
Add
(
this
.
groupBox4
);
this
.
Controls
.
Add
(
this
.
lblTemp
);
this
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Controls
.
Add
(
this
.
groupBox3
);
this
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
...
@@ -1337,18 +1323,17 @@ namespace OnlineStore.DUOStore
...
@@ -1337,18 +1323,17 @@ namespace OnlineStore.DUOStore
this
.
Shown
+=
new
System
.
EventHandler
(
this
.
FrmStoreBox_Shown
);
this
.
Shown
+=
new
System
.
EventHandler
(
this
.
FrmStoreBox_Shown
);
this
.
tabControl1
.
ResumeLayout
(
false
);
this
.
tabControl1
.
ResumeLayout
(
false
);
this
.
tabPage4
.
ResumeLayout
(
false
);
this
.
tabPage4
.
ResumeLayout
(
false
);
this
.
groupBox4
.
ResumeLayout
(
false
);
this
.
groupBox1
.
ResumeLayout
(
false
);
this
.
groupInout
.
ResumeLayout
(
false
);
this
.
groupInout
.
ResumeLayout
(
false
);
this
.
groupInout
.
PerformLayout
();
this
.
groupInout
.
PerformLayout
();
this
.
groupBox3
.
ResumeLayout
(
false
);
this
.
groupBox3
.
PerformLayout
();
this
.
tabPage1
.
ResumeLayout
(
false
);
this
.
tabPage1
.
ResumeLayout
(
false
);
this
.
groupBox7
.
ResumeLayout
(
false
);
this
.
groupBox7
.
ResumeLayout
(
false
);
this
.
groupBox7
.
PerformLayout
();
this
.
groupBox7
.
PerformLayout
();
this
.
groupInfo
.
ResumeLayout
(
false
);
this
.
groupBox4
.
ResumeLayout
(
false
);
this
.
groupInfo
.
PerformLayout
();
this
.
groupBox1
.
ResumeLayout
(
false
);
this
.
groupBox3
.
ResumeLayout
(
false
);
this
.
groupBox3
.
PerformLayout
();
this
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
this
.
PerformLayout
();
}
}
...
@@ -1436,7 +1421,6 @@ namespace OnlineStore.DUOStore
...
@@ -1436,7 +1421,6 @@ namespace OnlineStore.DUOStore
public
System
.
Windows
.
Forms
.
Button
btnUpDownP3
;
public
System
.
Windows
.
Forms
.
Button
btnUpDownP3
;
public
System
.
Windows
.
Forms
.
Button
btnUpDownP4
;
public
System
.
Windows
.
Forms
.
Button
btnUpDownP4
;
private
System
.
Windows
.
Forms
.
Button
btnSingleOut
;
private
System
.
Windows
.
Forms
.
Button
btnSingleOut
;
private
System
.
Windows
.
Forms
.
GroupBox
groupInfo
;
}
}
}
}
source/DUOStore/FrmBox.cs
查看文件 @
2c83967
...
@@ -48,35 +48,31 @@ namespace OnlineStore.DUOStore
...
@@ -48,35 +48,31 @@ namespace OnlineStore.DUOStore
this
.
Close
();
this
.
Close
();
return
;
return
;
}
}
this
.
groupBox3
.
Text
=
"设备["
+
BoxBean
.
CID
+
"]状态"
;
//
this.groupBox3.Text = "设备[" + BoxBean.CID + "]状态";
this
.
Text
=
BoxBean
.
Name
;
this
.
Text
=
BoxBean
.
Name
;
axisMoveControl1
.
LoadData
(
new
AxisBean
[]
{
});
axisMoveControl1
.
LoadData
(
new
AxisBean
[]
{
});
ACBoxPosition
ktk
Position
=
null
;
ACBoxPosition
ac
Position
=
null
;
if
(
BoxBean
.
PositionNumList
.
Count
>
0
)
if
(
BoxBean
.
PositionNumList
.
Count
>
0
)
{
{
cmbPosition
.
DataSource
=
BoxBean
.
PositionNumList
;
cmbPosition
.
DataSource
=
BoxBean
.
PositionNumList
;
cmbPosition
.
SelectedIndex
=
0
;
cmbPosition
.
SelectedIndex
=
0
;
ktk
Position
=
CSVPositionReader
<
ACBoxPosition
>.
GetPositon
(
cmbPosition
.
Text
);
ac
Position
=
CSVPositionReader
<
ACBoxPosition
>.
GetPositon
(
cmbPosition
.
Text
);
//BoxBean.PositionNumList = positionNumList;
//BoxBean.PositionNumList = positionNumList;
}
}
txtMiddleP1
.
Text
=
BoxBean
.
Config
.
MiddleAxis_P1
.
ToString
();
txtMiddleP1
.
Text
=
BoxBean
.
Config
.
MiddleAxis_P1
.
ToString
();
txtUpdownP11
.
Text
=
BoxBean
.
Config
.
UpDownAxis_P11
.
ToString
();
txtUpdownP12
.
Text
=
BoxBean
.
Config
.
UpDownAxis_P12
.
ToString
();
txtUpDownP1
.
Text
=
BoxBean
.
Config
.
UpDownAxis_P1
.
ToString
();
txtUpDownP1
.
Text
=
BoxBean
.
Config
.
UpDownAxis_P1
.
ToString
();
txtInOutP1
.
Text
=
BoxBean
.
Config
.
InOutAxis_P1
.
ToString
();
txtInOutP1
.
Text
=
BoxBean
.
Config
.
InOutAxis_P1
.
ToString
();
txtComP1
.
Text
=
BoxBean
.
Config
.
CompAxis_P1
.
ToString
();
txtComP1
.
Text
=
BoxBean
.
Config
.
CompAxis_P1
.
ToString
();
txtUpDownP2
.
Text
=
BoxBean
.
Config
.
UpDownAxis_P2
.
ToString
();
txtUpDownP2
.
Text
=
BoxBean
.
Config
.
UpDownAxis_P2
.
ToString
();
txtInOutP2
.
Text
=
BoxBean
.
Config
.
InOutAxis_P2
.
ToString
();
txtMiddleP11
.
Text
=
BoxBean
.
Config
.
MiddleAxis_P11
.
ToString
();
txtMiddleP11
.
Text
=
BoxBean
.
Config
.
MiddleAxis_P11
.
ToString
();
txtUpdownP11
.
Text
=
BoxBean
.
Config
.
UpDownAxis_P11
.
ToString
();
txtUpdownP12
.
Text
=
BoxBean
.
Config
.
UpDownAxis_P12
.
ToString
();
txtInOutP2
.
Text
=
BoxBean
.
Config
.
InOutAxis_P2
.
ToString
();
txtInoutP11
.
Text
=
BoxBean
.
Config
.
InOutAxis_P11
.
ToString
();
txtInoutP11
.
Text
=
BoxBean
.
Config
.
InOutAxis_P11
.
ToString
();
//txtInOutP2.Text = BoxBean.Config.InOutAxis_DoorPosition_P2
.ToString();
txtComP3
.
Text
=
BoxBean
.
Config
.
CompAxis_P3
.
ToString
();
txt
UpDownP1
.
Text
=
BoxBean
.
Config
.
UpDownAxis_P1
.
ToString
();
txt
InOutP2
.
Text
=
BoxBean
.
Config
.
InOutAxis_P2
.
ToString
();
LoadPData
(
ktk
Position
);
LoadPData
(
ac
Position
);
chbDebug
.
Checked
=
BoxBean
.
IsDebug
;
chbDebug
.
Checked
=
BoxBean
.
IsDebug
;
this
.
ShowInTaskbar
=
true
;
this
.
ShowInTaskbar
=
true
;
...
@@ -280,8 +276,8 @@ namespace OnlineStore.DUOStore
...
@@ -280,8 +276,8 @@ namespace OnlineStore.DUOStore
if
(
cmbPosition
.
SelectedIndex
>=
0
)
if
(
cmbPosition
.
SelectedIndex
>=
0
)
{
{
string
selectPositionNum
=
cmbPosition
.
Text
;
string
selectPositionNum
=
cmbPosition
.
Text
;
ACBoxPosition
ktk
Position
=
CSVPositionReader
<
ACBoxPosition
>.
GetPositon
(
selectPositionNum
);
ACBoxPosition
ac
Position
=
CSVPositionReader
<
ACBoxPosition
>.
GetPositon
(
selectPositionNum
);
LoadPData
(
ktk
Position
);
LoadPData
(
ac
Position
);
}
}
}
}
...
@@ -294,17 +290,11 @@ namespace OnlineStore.DUOStore
...
@@ -294,17 +290,11 @@ namespace OnlineStore.DUOStore
txtUpDownP4
.
Text
=
acPosition
.
UpdownAxis_IL_P4
.
ToString
();
txtUpDownP4
.
Text
=
acPosition
.
UpdownAxis_IL_P4
.
ToString
();
txtUpDownP5
.
Text
=
acPosition
.
UpdownAxis_OH_P5
.
ToString
();
txtUpDownP5
.
Text
=
acPosition
.
UpdownAxis_OH_P5
.
ToString
();
txtUpDownP6
.
Text
=
acPosition
.
UpdownAxis_OL_P6
.
ToString
();
txtUpDownP6
.
Text
=
acPosition
.
UpdownAxis_OL_P6
.
ToString
();
txtInOutP3
.
Text
=
acPosition
.
InoutAxis_P3
.
ToString
();
txtMiddleP2
.
Text
=
acPosition
.
MiddleAxis_P2
.
ToString
();
int
comP2
=
BoxBean
.
Config
.
GetComP2
(
acPosition
.
BagHigh
);
int
comP2
=
BoxBean
.
Config
.
GetComP2
(
acPosition
.
BagHigh
);
txtComP2
.
Text
=
comP2
.
ToString
();
txtComP2
.
Text
=
comP2
.
ToString
();
txtComP3
.
Text
=
BoxBean
.
Config
.
CompAxis_P3
.
ToString
();
lblSize
.
Text
=
"尺寸:"
+
acPosition
.
BagWidth
+
"*"
+
acPosition
.
BagHigh
;
lblSize
.
Text
=
"尺寸:"
+
acPosition
.
BagWidth
+
"*"
+
acPosition
.
BagHigh
;
txtInOutP3
.
Text
=
acPosition
.
InoutAxis_P3
.
ToString
();
txtInOutP2
.
Text
=
BoxBean
.
Config
.
InOutAxis_P2
.
ToString
();
}
}
}
}
...
@@ -313,25 +303,15 @@ namespace OnlineStore.DUOStore
...
@@ -313,25 +303,15 @@ namespace OnlineStore.DUOStore
//料仓格子位置保存
//料仓格子位置保存
string
selectPositionNum
=
cmbPosition
.
Text
;
string
selectPositionNum
=
cmbPosition
.
Text
;
ACBoxPosition
ktkPosition
=
CSVPositionReader
<
ACBoxPosition
>.
GetPositon
(
selectPositionNum
);
ACBoxPosition
acPosition
=
CSVPositionReader
<
ACBoxPosition
>.
GetPositon
(
selectPositionNum
);
if
(
ktkPosition
!=
null
)
if
(
acPosition
!=
null
)
{
{
ktkPosition
.
MiddleAxis_P2
=
FormUtil
.
GetIntValue
(
txtMiddleP2
);
acPosition
.
MiddleAxis_P2
=
FormUtil
.
GetIntValue
(
txtMiddleP2
);
ktkPosition
.
UpdownAxis_IH_P3
=
FormUtil
.
GetIntValue
(
txtUpDownP3
);
acPosition
.
UpdownAxis_IH_P3
=
FormUtil
.
GetIntValue
(
txtUpDownP3
);
ktkPosition
.
UpdownAxis_IL_P4
=
FormUtil
.
GetIntValue
(
txtUpDownP4
);
acPosition
.
UpdownAxis_IL_P4
=
FormUtil
.
GetIntValue
(
txtUpDownP4
);
acPosition
.
InoutAxis_P3
=
FormUtil
.
GetIntValue
(
txtInOutP3
);
ktkPosition
.
UpdownAxis_IL_P4
=
FormUtil
.
GetIntValue
(
txtUpDownP4
);
acPosition
.
UpdownAxis_OH_P5
=
FormUtil
.
GetIntValue
(
txtUpDownP5
);
ktkPosition
.
InoutAxis_P3
=
FormUtil
.
GetIntValue
(
txtInOutP3
);
acPosition
.
UpdownAxis_OL_P6
=
FormUtil
.
GetIntValue
(
txtUpDownP6
);
// ktkPosition.ComAxis_P3 = FormUtil.GetIntValue(txtComP3);
ktkPosition
.
UpdownAxis_OH_P5
=
FormUtil
.
GetIntValue
(
txtUpDownP5
);
ktkPosition
.
UpdownAxis_OL_P6
=
FormUtil
.
GetIntValue
(
txtUpDownP6
);
// ktkPosition.ComAxis_P2 = FormUtil.GetIntValue(txtComP2);
//ktkPosition.InOutAxis_P11 = FormUtil.GetIntValue(txtInoutP11);
//ktkPosition.UpDownAxis_P2 = FormUtil.GetIntValue(txtUpDownP2);
//ktkPosition.UpDownAxis_DoorOBPosition_P7 = FormUtil.GetIntValue(txtUpDownP7);
//ktkPosition.UpDownAxis_DoorIBPosition_P8 = FormUtil.GetIntValue(txtUpDownP8);
//ktkPosition.InOutAxis_DoorPosition_P2 = FormUtil.GetIntValue(txtInOutP2);
//ktkPosition.UpDownAxis_P1 = FormUtil.GetIntValue(txtUpDownP1);
}
}
//位置配置
//位置配置
string
appPath
=
Application
.
StartupPath
;
string
appPath
=
Application
.
StartupPath
;
...
@@ -342,80 +322,97 @@ namespace OnlineStore.DUOStore
...
@@ -342,80 +322,97 @@ namespace OnlineStore.DUOStore
string
nameStr
=
BoxBean
.
ID
.
ToString
();
string
nameStr
=
BoxBean
.
ID
.
ToString
();
positionConfigFile
=
positionConfigFile
.
Replace
(
".csv"
,
"_"
+
nameStr
+
".csv"
);
positionConfigFile
=
positionConfigFile
.
Replace
(
".csv"
,
"_"
+
nameStr
+
".csv"
);
}
}
bool
result
=
CSVPositionReader
<
ACBoxPosition
>.
SavePostion
(
positionConfigFile
,
ktk
Position
);
bool
result
=
CSVPositionReader
<
ACBoxPosition
>.
SavePostion
(
positionConfigFile
,
ac
Position
);
if
(!
result
)
if
(!
result
)
{
{
MessageBox
.
Show
(
"库位【"
+
selectPositionNum
+
"】保存失败!"
);
MessageBox
.
Show
(
"库位【"
+
selectPositionNum
+
"】保存失败!"
);
}
}
//料仓固定位置保存
//料仓固定位置保存
bool
needUpdate
=
false
;
bool
needUpdate
=
false
;
if
(
BoxBean
.
Config
.
MiddleAxis_P1
!=
FormUtil
.
GetIntValue
(
txtMiddleP1
))
int
inoup1
=
FormUtil
.
GetIntValue
(
txtInOutP1
);
int
inoup2
=
FormUtil
.
GetIntValue
(
txtInOutP2
);
int
inoutp11
=
FormUtil
.
GetIntValue
(
txtInoutP11
);
int
comp1
=
FormUtil
.
GetIntValue
(
txtComP1
);
int
comp2
=
FormUtil
.
GetIntValue
(
txtComP2
);
int
comp3
=
FormUtil
.
GetIntValue
(
txtComP3
);
int
mP1
=
FormUtil
.
GetIntValue
(
txtMiddleP1
);
int
mp11
=
FormUtil
.
GetIntValue
(
txtMiddleP11
);
int
udp1
=
FormUtil
.
GetIntValue
(
txtUpDownP1
);
int
upp2
=
FormUtil
.
GetIntValue
(
txtUpDownP2
);
int
upp11
=
FormUtil
.
GetIntValue
(
txtUpdownP11
);
int
upp12
=
FormUtil
.
GetIntValue
(
txtUpdownP12
);
if
(
BoxBean
.
Config
.
MiddleAxis_P1
!=
mP1
)
{
{
BoxBean
.
Config
.
MiddleAxis_P1
=
FormUtil
.
GetIntValue
(
txtMiddleP1
)
;
BoxBean
.
Config
.
MiddleAxis_P1
=
mP1
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
if
(
BoxBean
.
Config
.
UpDownAxis_P1
!=
FormUtil
.
GetIntValue
(
txtUpDownP1
)
)
if
(
BoxBean
.
Config
.
MiddleAxis_P11
!=
mp11
)
{
{
BoxBean
.
Config
.
UpDownAxis_P1
=
FormUtil
.
GetIntValue
(
txtUpDownP1
)
;
BoxBean
.
Config
.
MiddleAxis_P11
=
mp11
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
if
(
BoxBean
.
Config
.
InOutAxis_P1
!=
FormUtil
.
GetIntValue
(
txtInOutP1
)
)
if
(
BoxBean
.
Config
.
InOutAxis_P1
!=
inoup1
)
{
{
BoxBean
.
Config
.
InOutAxis_P1
=
FormUtil
.
GetIntValue
(
txtInOutP1
)
;
BoxBean
.
Config
.
InOutAxis_P1
=
inoup1
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
if
(
BoxBean
.
Config
.
InOutAxis_P11
!=
FormUtil
.
GetIntValue
(
txtInoutP11
)
)
if
(
BoxBean
.
Config
.
InOutAxis_P11
!=
inoutp11
)
{
{
BoxBean
.
Config
.
InOutAxis_P11
=
FormUtil
.
GetIntValue
(
txtInoutP11
)
;
BoxBean
.
Config
.
InOutAxis_P11
=
inoutp11
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
if
(
BoxBean
.
Config
.
CompAxis_P1
!=
FormUtil
.
GetIntValue
(
txtComP1
)
)
if
(
BoxBean
.
Config
.
InOutAxis_P2
!=
inoup2
)
{
{
BoxBean
.
Config
.
CompAxis_P1
=
FormUtil
.
GetIntValue
(
txtComP1
)
;
BoxBean
.
Config
.
InOutAxis_P2
=
inoup2
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
if
(
BoxBean
.
Config
.
UpDownAxis_P2
!=
FormUtil
.
GetIntValue
(
txtUpDownP2
))
if
(
BoxBean
.
Config
.
UpDownAxis_P1
!=
udp1
)
{
{
BoxBean
.
Config
.
UpDownAxis_P
2
=
FormUtil
.
GetIntValue
(
txtUpDownP2
)
;
BoxBean
.
Config
.
UpDownAxis_P
1
=
udp1
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
if
(
BoxBean
.
Config
.
MiddleAxis_P11
!=
FormUtil
.
GetIntValue
(
txtMiddleP11
)
)
if
(
BoxBean
.
Config
.
UpDownAxis_P2
!=
upp2
)
{
{
BoxBean
.
Config
.
MiddleAxis_P11
=
FormUtil
.
GetIntValue
(
txtMiddleP11
)
;
BoxBean
.
Config
.
UpDownAxis_P2
=
upp2
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
if
(
BoxBean
.
Config
.
UpDownAxis_P11
!=
FormUtil
.
GetIntValue
(
txtUpdownP11
))
if
(
BoxBean
.
Config
.
UpDownAxis_P11
!=
upp11
)
{
{
BoxBean
.
Config
.
UpDownAxis_P11
=
FormUtil
.
GetIntValue
(
txtUpdownP11
)
;
BoxBean
.
Config
.
UpDownAxis_P11
=
upp11
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
if
(
BoxBean
.
Config
.
UpDownAxis_P12
!=
FormUtil
.
GetIntValue
(
txtUpdownP12
)
)
if
(
BoxBean
.
Config
.
UpDownAxis_P12
!=
upp12
)
{
{
BoxBean
.
Config
.
UpDownAxis_P12
=
FormUtil
.
GetIntValue
(
txtUpdownP12
)
;
BoxBean
.
Config
.
UpDownAxis_P12
=
upp12
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
if
(
BoxBean
.
Config
.
InOutAxis_P2
!=
FormUtil
.
GetIntValue
(
txtInOutP2
))
if
(
BoxBean
.
Config
.
CompAxis_P3
!=
comp3
)
{
{
BoxBean
.
Config
.
InOutAxis_P2
=
FormUtil
.
GetIntValue
(
txtInOutP2
)
;
BoxBean
.
Config
.
CompAxis_P3
=
comp3
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
//if (BoxBean.Config.InOutAxis_DoorPosition_P2 != FormUtil.GetIntValue(txtInOutP2))
if
(
BoxBean
.
Config
.
GetComP2
(
acPosition
.
BagHigh
)
!=
comp2
)
//{
// BoxBean.Config.InOutAxis_DoorPosition_P2 = FormUtil.GetIntValue(txtInOutP2);
// needUpdate = true;
//}
if
(
BoxBean
.
Config
.
UpDownAxis_P1
!=
FormUtil
.
GetIntValue
(
txtUpDownP1
))
{
{
BoxBean
.
Config
.
UpDownAxis_P1
=
FormUtil
.
GetIntValue
(
txtUpDownP1
);
BoxBean
.
Config
.
UpdateComP2
(
acPosition
.
BagHigh
,
comp2
);
needUpdate
=
true
;
}
if
(
BoxBean
.
Config
.
CompAxis_P1
!=
comp1
)
{
BoxBean
.
Config
.
CompAxis_P1
=
comp1
;
needUpdate
=
true
;
needUpdate
=
true
;
}
}
//if (BoxBean.Config.CompAxis_P3 != FormUtil.GetIntValue(txtComP3 ))
//{
// BoxBean.Config.CompAxis_P3 = FormUtil.GetIntValue(txtComP3);
// needUpdate = true;
//}
if
(
needUpdate
)
if
(
needUpdate
)
{
{
//更新缓存
//更新缓存
...
@@ -726,24 +723,24 @@ namespace OnlineStore.DUOStore
...
@@ -726,24 +723,24 @@ namespace OnlineStore.DUOStore
}
}
private
void
btnUpdown_Click
(
object
sender
,
EventArgs
e
)
private
void
btnUpdown_Click
(
object
sender
,
EventArgs
e
)
{
{
//
string PortName = BoxBean.Config.UpDown_Axis.DeviceName;
string
PortName
=
BoxBean
.
Config
.
UpDown_Axis
.
DeviceName
;
//
int slvAddr = BoxBean.Config.UpDown_Axis.GetAxisValue();
int
slvAddr
=
BoxBean
.
Config
.
UpDown_Axis
.
GetAxisValue
();
//
string ioIP = "192.168.200.13";
string
ioIP
=
"192.168.200.13"
;
//
int ioIndex = 0;
int
ioIndex
=
0
;
//
//
if (store.Config.StoreDIList.ContainsKey(IO_Type.UpdownPositionSingal))
// if (store.Config.StoreDIList.ContainsKey(IO_Type.UpdownPositionSingal))
//if (BoxBean.Config.DIList.ContainsKey(IO_Type.Compress
_Check))
if
(
BoxBean
.
Config
.
DIList
.
ContainsKey
(
IO_Type
.
Fixture
_Check
))
//
{
{
// ioIP = BoxBean.Config.DIList[IO_Type.Compress
_Check].IO_IP;
ioIP
=
BoxBean
.
Config
.
DIList
[
IO_Type
.
Fixture
_Check
].
IO_IP
;
// ioIndex = BoxBean.Config.DIList[IO_Type.Compress
_Check].GetIOAddr();
ioIndex
=
BoxBean
.
Config
.
DIList
[
IO_Type
.
Fixture
_Check
].
GetIOAddr
();
//
}
}
//
FrmPositionTool frm = new FrmPositionTool(PortName, slvAddr, ioIP, ioIndex, Text, BoxBean.ID);
FrmPositionTool
frm
=
new
FrmPositionTool
(
PortName
,
slvAddr
,
ioIP
,
ioIndex
,
Text
,
BoxBean
.
ID
);
//
frm.ShowDialog();
frm
.
ShowDialog
();
}
}
private
void
btnUpdownP12_Click
(
object
sender
,
EventArgs
e
)
private
void
btnUpdownP12_Click
(
object
sender
,
EventArgs
e
)
{
{
AxisABSMove
(
BoxBean
.
Config
.
UpDown_Axis
,
txtUpdownP12
,
BoxBean
.
Config
.
UpDownAxis_P1_Speed
);
AxisABSMove
(
BoxBean
.
Config
.
UpDown_Axis
,
txtUpdownP12
,
BoxBean
.
Config
.
UpDownAxis_P1
2
_Speed
);
}
}
#
region
IO
处理
#
region
IO
处理
...
@@ -804,8 +801,17 @@ namespace OnlineStore.DUOStore
...
@@ -804,8 +801,17 @@ namespace OnlineStore.DUOStore
}
}
#
endregion
#
endregion
private
void
btnDoorUp_Click
(
object
sender
,
EventArgs
e
)
{
BoxBean
.
CylinderMove
(
null
,
IO_Type
.
OutDoor_Down
,
IO_Type
.
OutDoor_Up
);
}
private
void
btnDoorDown_Click
(
object
sender
,
EventArgs
e
)
{
BoxBean
.
CylinderMove
(
null
,
IO_Type
.
OutDoor_Up
,
IO_Type
.
OutDoor_Down
);
}
}
}
}
}
source/DUOStore/FrmIOStatus.Designer.cs
查看文件 @
2c83967
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
button1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
btnCloseAll
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnRDoorDown
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnRDoorDown
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnRDoorUp
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnRDoorUp
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnLDoorDown
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnLDoorDown
=
new
System
.
Windows
.
Forms
.
Button
();
...
@@ -60,7 +61,7 @@
...
@@ -60,7 +61,7 @@
//
//
this
.
button1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
button1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
button1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
button1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
653
,
5
59
);
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
653
,
5
72
);
this
.
button1
.
Name
=
"button1"
;
this
.
button1
.
Name
=
"button1"
;
this
.
button1
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
37
);
this
.
button1
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
37
);
this
.
button1
.
TabIndex
=
254
;
this
.
button1
.
TabIndex
=
254
;
...
@@ -72,6 +73,7 @@
...
@@ -72,6 +73,7 @@
//
//
this
.
groupBox1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
groupBox1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnCloseAll
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnRDoorDown
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnRDoorDown
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnRDoorUp
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnRDoorUp
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnLDoorDown
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnLDoorDown
);
...
@@ -96,62 +98,78 @@
...
@@ -96,62 +98,78 @@
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnFoward
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnFoward
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
cmbWriteIO
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
cmbWriteIO
);
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
(
524
,
3
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
323
,
5
41
);
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
323
,
5
65
);
this
.
groupBox1
.
TabIndex
=
105
;
this
.
groupBox1
.
TabIndex
=
105
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"DO写入"
;
this
.
groupBox1
.
Text
=
"DO写入"
;
//
//
// btnCloseAll
//
this
.
btnCloseAll
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseAll
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseAll
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
448
);
this
.
btnCloseAll
.
Name
=
"btnCloseAll"
;
this
.
btnCloseAll
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnCloseAll
.
TabIndex
=
302
;
this
.
btnCloseAll
.
Text
=
"关闭所有DO"
;
this
.
btnCloseAll
.
UseVisualStyleBackColor
=
false
;
this
.
btnCloseAll
.
Click
+=
new
System
.
EventHandler
(
this
.
btnCloseCyDo_Click
);
//
// btnRDoorDown
// btnRDoorDown
//
//
this
.
btnRDoorDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnRDoorDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnRDoorDown
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
410
);
this
.
btnRDoorDown
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
394
);
this
.
btnRDoorDown
.
Name
=
"btnRDoorDown"
;
this
.
btnRDoorDown
.
Name
=
"btnRDoorDown"
;
this
.
btnRDoorDown
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnRDoorDown
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnRDoorDown
.
TabIndex
=
301
;
this
.
btnRDoorDown
.
TabIndex
=
301
;
this
.
btnRDoorDown
.
Text
=
"右侧出料口门下降"
;
this
.
btnRDoorDown
.
Text
=
"右侧出料口门下降"
;
this
.
btnRDoorDown
.
UseVisualStyleBackColor
=
true
;
this
.
btnRDoorDown
.
UseVisualStyleBackColor
=
true
;
this
.
btnRDoorDown
.
Visible
=
false
;
this
.
btnRDoorDown
.
Click
+=
new
System
.
EventHandler
(
this
.
btnRDoorDown_Click
);
this
.
btnRDoorDown
.
Click
+=
new
System
.
EventHandler
(
this
.
btnRDoorDown_Click
);
//
//
// btnRDoorUp
// btnRDoorUp
//
//
this
.
btnRDoorUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnRDoorUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnRDoorUp
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
3
70
);
this
.
btnRDoorUp
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
3
54
);
this
.
btnRDoorUp
.
Name
=
"btnRDoorUp"
;
this
.
btnRDoorUp
.
Name
=
"btnRDoorUp"
;
this
.
btnRDoorUp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnRDoorUp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnRDoorUp
.
TabIndex
=
300
;
this
.
btnRDoorUp
.
TabIndex
=
300
;
this
.
btnRDoorUp
.
Text
=
"右侧出料口门上升"
;
this
.
btnRDoorUp
.
Text
=
"右侧出料口门上升"
;
this
.
btnRDoorUp
.
UseVisualStyleBackColor
=
true
;
this
.
btnRDoorUp
.
UseVisualStyleBackColor
=
true
;
this
.
btnRDoorUp
.
Visible
=
false
;
this
.
btnRDoorUp
.
Click
+=
new
System
.
EventHandler
(
this
.
btnRDoorUp_Click
);
this
.
btnRDoorUp
.
Click
+=
new
System
.
EventHandler
(
this
.
btnRDoorUp_Click
);
//
//
// btnLDoorDown
// btnLDoorDown
//
//
this
.
btnLDoorDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLDoorDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLDoorDown
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
410
);
this
.
btnLDoorDown
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
394
);
this
.
btnLDoorDown
.
Name
=
"btnLDoorDown"
;
this
.
btnLDoorDown
.
Name
=
"btnLDoorDown"
;
this
.
btnLDoorDown
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLDoorDown
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLDoorDown
.
TabIndex
=
299
;
this
.
btnLDoorDown
.
TabIndex
=
299
;
this
.
btnLDoorDown
.
Text
=
"左侧出料口门下降"
;
this
.
btnLDoorDown
.
Text
=
"左侧出料口门下降"
;
this
.
btnLDoorDown
.
UseVisualStyleBackColor
=
true
;
this
.
btnLDoorDown
.
UseVisualStyleBackColor
=
true
;
this
.
btnLDoorDown
.
Visible
=
false
;
this
.
btnLDoorDown
.
Click
+=
new
System
.
EventHandler
(
this
.
btnLDoorDown_Click
);
this
.
btnLDoorDown
.
Click
+=
new
System
.
EventHandler
(
this
.
btnLDoorDown_Click
);
//
//
// btnLDoorUp
// btnLDoorUp
//
//
this
.
btnLDoorUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLDoorUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLDoorUp
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
3
70
);
this
.
btnLDoorUp
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
3
54
);
this
.
btnLDoorUp
.
Name
=
"btnLDoorUp"
;
this
.
btnLDoorUp
.
Name
=
"btnLDoorUp"
;
this
.
btnLDoorUp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLDoorUp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLDoorUp
.
TabIndex
=
298
;
this
.
btnLDoorUp
.
TabIndex
=
298
;
this
.
btnLDoorUp
.
Text
=
"左侧出料口门上升"
;
this
.
btnLDoorUp
.
Text
=
"左侧出料口门上升"
;
this
.
btnLDoorUp
.
UseVisualStyleBackColor
=
true
;
this
.
btnLDoorUp
.
UseVisualStyleBackColor
=
true
;
this
.
btnLDoorUp
.
Visible
=
false
;
this
.
btnLDoorUp
.
Click
+=
new
System
.
EventHandler
(
this
.
btnLDoorUp_Click
);
this
.
btnLDoorUp
.
Click
+=
new
System
.
EventHandler
(
this
.
btnLDoorUp_Click
);
//
//
// btnRelax
// btnRelax
//
//
this
.
btnRelax
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnRelax
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnRelax
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnRelax
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnRelax
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
3
12
);
this
.
btnRelax
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
3
00
);
this
.
btnRelax
.
Name
=
"btnRelax"
;
this
.
btnRelax
.
Name
=
"btnRelax"
;
this
.
btnRelax
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnRelax
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnRelax
.
TabIndex
=
297
;
this
.
btnRelax
.
TabIndex
=
297
;
...
@@ -163,7 +181,7 @@
...
@@ -163,7 +181,7 @@
//
//
this
.
btnClamp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClamp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClamp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnClamp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnClamp
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
2
75
);
this
.
btnClamp
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
2
63
);
this
.
btnClamp
.
Name
=
"btnClamp"
;
this
.
btnClamp
.
Name
=
"btnClamp"
;
this
.
btnClamp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnClamp
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnClamp
.
TabIndex
=
296
;
this
.
btnClamp
.
TabIndex
=
296
;
...
@@ -175,29 +193,31 @@
...
@@ -175,29 +193,31 @@
//
//
this
.
btnLineStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLineStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLineStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLineStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLineStop
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
3
12
);
this
.
btnLineStop
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
3
00
);
this
.
btnLineStop
.
Name
=
"btnLineStop"
;
this
.
btnLineStop
.
Name
=
"btnLineStop"
;
this
.
btnLineStop
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLineStop
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLineStop
.
TabIndex
=
295
;
this
.
btnLineStop
.
TabIndex
=
295
;
this
.
btnLineStop
.
Text
=
"线体停止"
;
this
.
btnLineStop
.
Text
=
"线体停止"
;
this
.
btnLineStop
.
UseVisualStyleBackColor
=
false
;
this
.
btnLineStop
.
UseVisualStyleBackColor
=
false
;
this
.
btnLineStop
.
Click
+=
new
System
.
EventHandler
(
this
.
btnLineStop_Click
);
//
//
// btnLineRun
// btnLineRun
//
//
this
.
btnLineRun
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLineRun
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLineRun
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLineRun
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLineRun
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
2
75
);
this
.
btnLineRun
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
2
63
);
this
.
btnLineRun
.
Name
=
"btnLineRun"
;
this
.
btnLineRun
.
Name
=
"btnLineRun"
;
this
.
btnLineRun
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLineRun
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnLineRun
.
TabIndex
=
294
;
this
.
btnLineRun
.
TabIndex
=
294
;
this
.
btnLineRun
.
Text
=
"线体正转"
;
this
.
btnLineRun
.
Text
=
"线体正转"
;
this
.
btnLineRun
.
UseVisualStyleBackColor
=
false
;
this
.
btnLineRun
.
UseVisualStyleBackColor
=
false
;
this
.
btnLineRun
.
Click
+=
new
System
.
EventHandler
(
this
.
btnLineRun_Click
);
//
//
// btnDeviceLed
// btnDeviceLed
//
//
this
.
btnDeviceLed
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnDeviceLed
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnDeviceLed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnDeviceLed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnDeviceLed
.
Location
=
new
System
.
Drawing
.
Point
(
1
68
,
495
);
this
.
btnDeviceLed
.
Location
=
new
System
.
Drawing
.
Point
(
1
4
,
488
);
this
.
btnDeviceLed
.
Name
=
"btnDeviceLed"
;
this
.
btnDeviceLed
.
Name
=
"btnDeviceLed"
;
this
.
btnDeviceLed
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnDeviceLed
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnDeviceLed
.
TabIndex
=
293
;
this
.
btnDeviceLed
.
TabIndex
=
293
;
...
@@ -209,7 +229,7 @@
...
@@ -209,7 +229,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
(
14
,
4
95
);
this
.
btnCamerLed
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
4
48
);
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
;
...
@@ -221,7 +241,7 @@
...
@@ -221,7 +241,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
(
14
,
2
18
);
this
.
btnTopDown
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
2
06
);
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
;
...
@@ -233,7 +253,7 @@
...
@@ -233,7 +253,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
(
14
,
1
81
);
this
.
btnTopUp
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
1
69
);
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
;
...
@@ -325,7 +345,7 @@
...
@@ -325,7 +345,7 @@
//
//
this
.
btnBack
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnBack
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnBack
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnBack
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnBack
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
2
18
);
this
.
btnBack
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
2
06
);
this
.
btnBack
.
Name
=
"btnBack"
;
this
.
btnBack
.
Name
=
"btnBack"
;
this
.
btnBack
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnBack
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnBack
.
TabIndex
=
251
;
this
.
btnBack
.
TabIndex
=
251
;
...
@@ -350,7 +370,7 @@
...
@@ -350,7 +370,7 @@
//
//
this
.
btnFoward
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnFoward
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnFoward
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnFoward
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnFoward
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
1
81
);
this
.
btnFoward
.
Location
=
new
System
.
Drawing
.
Point
(
168
,
1
69
);
this
.
btnFoward
.
Name
=
"btnFoward"
;
this
.
btnFoward
.
Name
=
"btnFoward"
;
this
.
btnFoward
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnFoward
.
Size
=
new
System
.
Drawing
.
Size
(
125
,
34
);
this
.
btnFoward
.
TabIndex
=
250
;
this
.
btnFoward
.
TabIndex
=
250
;
...
@@ -379,9 +399,9 @@
...
@@ -379,9 +399,9 @@
this
.
groupBox4
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
groupBox4
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
groupBox4
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
2
47
,
8
);
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
2
65
,
3
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
2
29
,
590
);
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
2
55
,
614
);
this
.
groupBox4
.
TabIndex
=
104
;
this
.
groupBox4
.
TabIndex
=
104
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"DO列表"
;
this
.
groupBox4
.
Text
=
"DO列表"
;
...
@@ -399,7 +419,7 @@
...
@@ -399,7 +419,7 @@
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
2
18
,
570
);
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
2
44
,
594
);
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
//
//
// groupBox3
// groupBox3
...
@@ -407,9 +427,9 @@
...
@@ -407,9 +427,9 @@
this
.
groupBox3
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
groupBox3
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
groupBox3
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
8
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
3
);
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
2
29
,
590
);
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
2
55
,
614
);
this
.
groupBox3
.
TabIndex
=
103
;
this
.
groupBox3
.
TabIndex
=
103
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
Text
=
"DI列表"
;
this
.
groupBox3
.
Text
=
"DI列表"
;
...
@@ -427,14 +447,14 @@
...
@@ -427,14 +447,14 @@
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
2
18
,
570
);
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
2
44
,
594
);
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
//
//
// FrmIOStatus
// FrmIOStatus
//
//
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
(
816
,
608
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
904
,
621
);
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
);
...
@@ -486,6 +506,7 @@
...
@@ -486,6 +506,7 @@
private
System
.
Windows
.
Forms
.
Button
btnRDoorUp
;
private
System
.
Windows
.
Forms
.
Button
btnRDoorUp
;
private
System
.
Windows
.
Forms
.
Button
btnLDoorDown
;
private
System
.
Windows
.
Forms
.
Button
btnLDoorDown
;
private
System
.
Windows
.
Forms
.
Button
btnLDoorUp
;
private
System
.
Windows
.
Forms
.
Button
btnLDoorUp
;
private
System
.
Windows
.
Forms
.
Button
btnCloseAll
;
}
}
}
}
source/DUOStore/FrmIOStatus.cs
查看文件 @
2c83967
...
@@ -44,24 +44,30 @@ namespace OnlineStore.DUOStore
...
@@ -44,24 +44,30 @@ namespace OnlineStore.DUOStore
this
.
tableLayoutPanel1
.
RowCount
=
StoreManager
.
Config
.
DIList
.
Count
;
this
.
tableLayoutPanel1
.
RowCount
=
StoreManager
.
Config
.
DIList
.
Count
;
foreach
(
ConfigIO
ioValue
in
StoreManager
.
Config
.
DIList
.
Values
)
foreach
(
ConfigIO
ioValue
in
StoreManager
.
Config
.
DIList
.
Values
)
{
{
if
(
ioValue
.
SubType
.
Equals
(
0
))
{
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
RowStyle
(
SizeType
.
Absolute
,
26
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
RowStyle
(
SizeType
.
Absolute
,
26
));
IOTextControl
control
=
new
IOTextControl
(
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
,
ioValue
.
ProName
);
IOTextControl
control
=
new
IOTextControl
(
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
,
ioValue
.
ProName
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
control
,
0
,
roleindex
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
control
,
0
,
roleindex
);
roleindex
++;
roleindex
++;
DIControlList
.
Add
(
ioValue
.
ProName
,
control
);
DIControlList
.
Add
(
ioValue
.
ProName
,
control
);
}
}
}
tableLayoutPanel2
.
RowStyles
.
Clear
();
tableLayoutPanel2
.
RowStyles
.
Clear
();
this
.
tableLayoutPanel2
.
RowCount
=
StoreManager
.
Config
.
DOList
.
Count
;
this
.
tableLayoutPanel2
.
RowCount
=
StoreManager
.
Config
.
DOList
.
Count
;
roleindex
=
0
;
roleindex
=
0
;
foreach
(
ConfigIO
ioValue
in
StoreManager
.
Config
.
DOList
.
Values
)
foreach
(
ConfigIO
ioValue
in
StoreManager
.
Config
.
DOList
.
Values
)
{
{
if
(
ioValue
.
SubType
.
Equals
(
0
))
{
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
RowStyle
(
SizeType
.
Absolute
,
28
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
RowStyle
(
SizeType
.
Absolute
,
28
));
IOTextControl
control
=
new
IOTextControl
(
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
,
ioValue
.
ProName
);
IOTextControl
control
=
new
IOTextControl
(
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
,
ioValue
.
ProName
);
this
.
tableLayoutPanel2
.
Controls
.
Add
(
control
,
0
,
roleindex
);
this
.
tableLayoutPanel2
.
Controls
.
Add
(
control
,
0
,
roleindex
);
roleindex
++;
roleindex
++;
DOControlList
.
Add
(
ioValue
.
ProName
,
control
);
DOControlList
.
Add
(
ioValue
.
ProName
,
control
);
}
}
}
this
.
SuspendLayout
();
//此处为不闪屏,一定要有的!
this
.
SuspendLayout
();
//此处为不闪屏,一定要有的!
cmbWriteIO
.
DataSource
=
new
List
<
ConfigIO
>(
StoreManager
.
Config
.
DOList
.
Values
);
cmbWriteIO
.
DataSource
=
new
List
<
ConfigIO
>(
StoreManager
.
Config
.
DOList
.
Values
);
...
@@ -268,14 +274,13 @@ namespace OnlineStore.DUOStore
...
@@ -268,14 +274,13 @@ namespace OnlineStore.DUOStore
private
void
btnCloseCyDo_Click
(
object
sender
,
EventArgs
e
)
private
void
btnCloseCyDo_Click
(
object
sender
,
EventArgs
e
)
{
{
//StoreManager.Store.IOMove(IO_Type.EntranceDoor_Open, IO_VALUE.LOW);
foreach
(
ConfigIO
io
in
StoreManager
.
Store
.
Config
.
DOList
.
Values
)
//StoreManager.Store.IOMove(IO_Type.EntranceDoor_Close, IO_VALUE.LOW);
{
//StoreManager.Store.IOMove(IO_Type.TopCylinder_Down, IO_VALUE.LOW);
if
(
io
.
SubType
.
Equals
(
0
))
//StoreManager.Store.IOMove(IO_Type.TopCylinder_Up, IO_VALUE.LOW);
{
//StoreManager.Store.IOMove(IO_Type.NGDoorCylinder_Down, IO_VALUE.LOW);
IOManager
.
instance
.
WriteSingleDO
(
io
.
IO_IP
,
(
byte
)
0
,
(
ushort
)
io
.
GetIOAddr
(),
IO_VALUE
.
LOW
);
//StoreManager.Store.IOMove(IO_Type.NGDoowCylinder_Up, IO_VALUE.LOW);
}
// StoreManager.Store.IOMove(IO_Type.LocationCylinder_Down, IO_VALUE.LOW);
}
// StoreManager.Store.IOMove(IO_Type.LocationCylinder_Up, IO_VALUE.LOW);
}
}
private
void
btnClamp_Click
(
object
sender
,
EventArgs
e
)
private
void
btnClamp_Click
(
object
sender
,
EventArgs
e
)
...
@@ -312,5 +317,16 @@ namespace OnlineStore.DUOStore
...
@@ -312,5 +317,16 @@ namespace OnlineStore.DUOStore
{
{
WriteDO
(
IO_VALUE
.
LOW
);
WriteDO
(
IO_VALUE
.
LOW
);
}
}
private
void
btnLineRun_Click
(
object
sender
,
EventArgs
e
)
{
StoreManager
.
Store
.
LineRun
(
null
);
}
private
void
btnLineStop_Click
(
object
sender
,
EventArgs
e
)
{
StoreManager
.
Store
.
LineStop
(
null
);
}
}
}
}
}
source/DUOStore/FrmStore.Designer.cs
查看文件 @
2c83967
...
@@ -81,11 +81,11 @@
...
@@ -81,11 +81,11 @@
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage1
);
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage1
);
this
.
tabControl1
.
DrawMode
=
System
.
Windows
.
Forms
.
TabDrawMode
.
OwnerDrawFixed
;
this
.
tabControl1
.
DrawMode
=
System
.
Windows
.
Forms
.
TabDrawMode
.
OwnerDrawFixed
;
this
.
tabControl1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
tabControl1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
50
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
50
);
this
.
tabControl1
.
Multiline
=
true
;
this
.
tabControl1
.
Multiline
=
true
;
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1
242
,
667
);
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1
003
,
675
);
this
.
tabControl1
.
TabIndex
=
0
;
this
.
tabControl1
.
TabIndex
=
0
;
this
.
tabControl1
.
DrawItem
+=
new
System
.
Windows
.
Forms
.
DrawItemEventHandler
(
this
.
tabControl1_DrawItem
);
this
.
tabControl1
.
DrawItem
+=
new
System
.
Windows
.
Forms
.
DrawItemEventHandler
(
this
.
tabControl1_DrawItem
);
this
.
tabControl1
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
tabControl1_SelectedIndexChanged
);
this
.
tabControl1
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
tabControl1_SelectedIndexChanged
);
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
this
.
tabPage1
.
Controls
.
Add
(
this
.
logBox
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
logBox
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
1234
,
634
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
995
,
642
);
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
Text
=
" 日志信息 "
;
this
.
tabPage1
.
Text
=
" 日志信息 "
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
...
@@ -118,9 +118,10 @@
...
@@ -118,9 +118,10 @@
//
//
// chbDoorCanMove
// chbDoorCanMove
//
//
this
.
chbDoorCanMove
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbDoorCanMove
.
AutoSize
=
true
;
this
.
chbDoorCanMove
.
AutoSize
=
true
;
this
.
chbDoorCanMove
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbDoorCanMove
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbDoorCanMove
.
Location
=
new
System
.
Drawing
.
Point
(
52
,
416
);
this
.
chbDoorCanMove
.
Location
=
new
System
.
Drawing
.
Point
(
832
,
101
);
this
.
chbDoorCanMove
.
Name
=
"chbDoorCanMove"
;
this
.
chbDoorCanMove
.
Name
=
"chbDoorCanMove"
;
this
.
chbDoorCanMove
.
Size
=
new
System
.
Drawing
.
Size
(
126
,
24
);
this
.
chbDoorCanMove
.
Size
=
new
System
.
Drawing
.
Size
(
126
,
24
);
this
.
chbDoorCanMove
.
TabIndex
=
197
;
this
.
chbDoorCanMove
.
TabIndex
=
197
;
...
@@ -130,9 +131,10 @@
...
@@ -130,9 +131,10 @@
//
//
// chbUseBuzzer
// chbUseBuzzer
//
//
this
.
chbUseBuzzer
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbUseBuzzer
.
AutoSize
=
true
;
this
.
chbUseBuzzer
.
AutoSize
=
true
;
this
.
chbUseBuzzer
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbUseBuzzer
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbUseBuzzer
.
Location
=
new
System
.
Drawing
.
Point
(
52
,
369
);
this
.
chbUseBuzzer
.
Location
=
new
System
.
Drawing
.
Point
(
832
,
54
);
this
.
chbUseBuzzer
.
Name
=
"chbUseBuzzer"
;
this
.
chbUseBuzzer
.
Name
=
"chbUseBuzzer"
;
this
.
chbUseBuzzer
.
Size
=
new
System
.
Drawing
.
Size
(
98
,
24
);
this
.
chbUseBuzzer
.
Size
=
new
System
.
Drawing
.
Size
(
98
,
24
);
this
.
chbUseBuzzer
.
TabIndex
=
195
;
this
.
chbUseBuzzer
.
TabIndex
=
195
;
...
@@ -142,9 +144,10 @@
...
@@ -142,9 +144,10 @@
//
//
// chkDebug
// chkDebug
//
//
this
.
chkDebug
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chkDebug
.
AutoSize
=
true
;
this
.
chkDebug
.
AutoSize
=
true
;
this
.
chkDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chkDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chkDebug
.
Location
=
new
System
.
Drawing
.
Point
(
52
,
466
);
this
.
chkDebug
.
Location
=
new
System
.
Drawing
.
Point
(
832
,
151
);
this
.
chkDebug
.
Name
=
"chkDebug"
;
this
.
chkDebug
.
Name
=
"chkDebug"
;
this
.
chkDebug
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
24
);
this
.
chkDebug
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
24
);
this
.
chkDebug
.
TabIndex
=
194
;
this
.
chkDebug
.
TabIndex
=
194
;
...
@@ -154,9 +157,10 @@
...
@@ -154,9 +157,10 @@
//
//
// chbAutoRun
// chbAutoRun
//
//
this
.
chbAutoRun
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbAutoRun
.
AutoSize
=
true
;
this
.
chbAutoRun
.
AutoSize
=
true
;
this
.
chbAutoRun
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbAutoRun
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbAutoRun
.
Location
=
new
System
.
Drawing
.
Point
(
52
,
328
);
this
.
chbAutoRun
.
Location
=
new
System
.
Drawing
.
Point
(
832
,
13
);
this
.
chbAutoRun
.
Name
=
"chbAutoRun"
;
this
.
chbAutoRun
.
Name
=
"chbAutoRun"
;
this
.
chbAutoRun
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
24
);
this
.
chbAutoRun
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
24
);
this
.
chbAutoRun
.
TabIndex
=
94
;
this
.
chbAutoRun
.
TabIndex
=
94
;
...
@@ -166,9 +170,10 @@
...
@@ -166,9 +170,10 @@
//
//
// btnCopyLog
// btnCopyLog
//
//
this
.
btnCopyLog
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnCopyLog
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnCopyLog
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnCopyLog
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCopyLog
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCopyLog
.
Location
=
new
System
.
Drawing
.
Point
(
52
,
517
);
this
.
btnCopyLog
.
Location
=
new
System
.
Drawing
.
Point
(
832
,
202
);
this
.
btnCopyLog
.
Name
=
"btnCopyLog"
;
this
.
btnCopyLog
.
Name
=
"btnCopyLog"
;
this
.
btnCopyLog
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
35
);
this
.
btnCopyLog
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
35
);
this
.
btnCopyLog
.
TabIndex
=
191
;
this
.
btnCopyLog
.
TabIndex
=
191
;
...
@@ -178,9 +183,10 @@
...
@@ -178,9 +183,10 @@
//
//
// btnClearLog
// btnClearLog
//
//
this
.
btnClearLog
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnClearLog
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnClearLog
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnClearLog
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClearLog
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClearLog
.
Location
=
new
System
.
Drawing
.
Point
(
52
,
558
);
this
.
btnClearLog
.
Location
=
new
System
.
Drawing
.
Point
(
832
,
243
);
this
.
btnClearLog
.
Name
=
"btnClearLog"
;
this
.
btnClearLog
.
Name
=
"btnClearLog"
;
this
.
btnClearLog
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
35
);
this
.
btnClearLog
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
35
);
this
.
btnClearLog
.
TabIndex
=
190
;
this
.
btnClearLog
.
TabIndex
=
190
;
...
@@ -194,9 +200,9 @@
...
@@ -194,9 +200,9 @@
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
logBox
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
logBox
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
logBox
.
Location
=
new
System
.
Drawing
.
Point
(
241
,
138
);
this
.
logBox
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
logBox
.
Name
=
"logBox"
;
this
.
logBox
.
Name
=
"logBox"
;
this
.
logBox
.
Size
=
new
System
.
Drawing
.
Size
(
985
,
473
);
this
.
logBox
.
Size
=
new
System
.
Drawing
.
Size
(
810
,
635
);
this
.
logBox
.
TabIndex
=
106
;
this
.
logBox
.
TabIndex
=
106
;
this
.
logBox
.
Text
=
""
;
this
.
logBox
.
Text
=
""
;
this
.
logBox
.
VisibleChanged
+=
new
System
.
EventHandler
(
this
.
logBox_VisibleChanged
);
this
.
logBox
.
VisibleChanged
+=
new
System
.
EventHandler
(
this
.
logBox_VisibleChanged
);
...
@@ -208,9 +214,9 @@
...
@@ -208,9 +214,9 @@
this
.
lblWarnMsg
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
lblWarnMsg
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
lblWarnMsg
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblWarnMsg
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblWarnMsg
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblWarnMsg
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblWarnMsg
.
Location
=
new
System
.
Drawing
.
Point
(
464
,
4
);
this
.
lblWarnMsg
.
Location
=
new
System
.
Drawing
.
Point
(
526
,
4
);
this
.
lblWarnMsg
.
Name
=
"lblWarnMsg"
;
this
.
lblWarnMsg
.
Name
=
"lblWarnMsg"
;
this
.
lblWarnMsg
.
Size
=
new
System
.
Drawing
.
Size
(
779
,
72
);
this
.
lblWarnMsg
.
Size
=
new
System
.
Drawing
.
Size
(
475
,
72
);
this
.
lblWarnMsg
.
TabIndex
=
96
;
this
.
lblWarnMsg
.
TabIndex
=
96
;
this
.
lblWarnMsg
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
this
.
lblWarnMsg
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
//
...
@@ -224,7 +230,7 @@
...
@@ -224,7 +230,7 @@
this
.
帮助
ToolStripMenuItem
});
this
.
帮助
ToolStripMenuItem
});
this
.
menuStrip1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
menuStrip1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
menuStrip1
.
Name
=
"menuStrip1"
;
this
.
menuStrip1
.
Name
=
"menuStrip1"
;
this
.
menuStrip1
.
Size
=
new
System
.
Drawing
.
Size
(
1
250
,
29
);
this
.
menuStrip1
.
Size
=
new
System
.
Drawing
.
Size
(
1
008
,
29
);
this
.
menuStrip1
.
TabIndex
=
4
;
this
.
menuStrip1
.
TabIndex
=
4
;
this
.
menuStrip1
.
Text
=
"menuStrip1"
;
this
.
menuStrip1
.
Text
=
"menuStrip1"
;
//
//
...
@@ -314,38 +320,38 @@
...
@@ -314,38 +320,38 @@
// toolStripMenuItem2
// toolStripMenuItem2
//
//
this
.
toolStripMenuItem2
.
Name
=
"toolStripMenuItem2"
;
this
.
toolStripMenuItem2
.
Name
=
"toolStripMenuItem2"
;
this
.
toolStripMenuItem2
.
Size
=
new
System
.
Drawing
.
Size
(
1
8
0
,
26
);
this
.
toolStripMenuItem2
.
Size
=
new
System
.
Drawing
.
Size
(
1
6
0
,
26
);
this
.
toolStripMenuItem2
.
Text
=
"启用调试"
;
this
.
toolStripMenuItem2
.
Text
=
"启用调试"
;
this
.
toolStripMenuItem2
.
Click
+=
new
System
.
EventHandler
(
this
.
toolStripMenuItem2_Click
);
this
.
toolStripMenuItem2
.
Click
+=
new
System
.
EventHandler
(
this
.
toolStripMenuItem2_Click
);
//
//
// toolStripSeparator6
// toolStripSeparator6
//
//
this
.
toolStripSeparator6
.
Name
=
"toolStripSeparator6"
;
this
.
toolStripSeparator6
.
Name
=
"toolStripSeparator6"
;
this
.
toolStripSeparator6
.
Size
=
new
System
.
Drawing
.
Size
(
1
7
7
,
6
);
this
.
toolStripSeparator6
.
Size
=
new
System
.
Drawing
.
Size
(
1
5
7
,
6
);
//
//
// 二维码学习ToolStripMenuItem
// 二维码学习ToolStripMenuItem
//
//
this
.
二维码学习
ToolStripMenuItem
.
Name
=
"二维码学习ToolStripMenuItem"
;
this
.
二维码学习
ToolStripMenuItem
.
Name
=
"二维码学习ToolStripMenuItem"
;
this
.
二维码学习
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
8
0
,
26
);
this
.
二维码学习
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
6
0
,
26
);
this
.
二维码学习
ToolStripMenuItem
.
Text
=
"二维码学习"
;
this
.
二维码学习
ToolStripMenuItem
.
Text
=
"二维码学习"
;
this
.
二维码学习
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
二维码学习
ToolStripMenuItem_Click
);
this
.
二维码学习
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
二维码学习
ToolStripMenuItem_Click
);
//
//
// toolStripSeparator7
// toolStripSeparator7
//
//
this
.
toolStripSeparator7
.
Name
=
"toolStripSeparator7"
;
this
.
toolStripSeparator7
.
Name
=
"toolStripSeparator7"
;
this
.
toolStripSeparator7
.
Size
=
new
System
.
Drawing
.
Size
(
1
7
7
,
6
);
this
.
toolStripSeparator7
.
Size
=
new
System
.
Drawing
.
Size
(
1
5
7
,
6
);
//
//
// 扫码测试ToolStripMenuItem
// 扫码测试ToolStripMenuItem
//
//
this
.
扫码测试
ToolStripMenuItem
.
Name
=
"扫码测试ToolStripMenuItem"
;
this
.
扫码测试
ToolStripMenuItem
.
Name
=
"扫码测试ToolStripMenuItem"
;
this
.
扫码测试
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
8
0
,
26
);
this
.
扫码测试
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
6
0
,
26
);
this
.
扫码测试
ToolStripMenuItem
.
Text
=
"扫码测试"
;
this
.
扫码测试
ToolStripMenuItem
.
Text
=
"扫码测试"
;
this
.
扫码测试
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
扫码测试
ToolStripMenuItem_Click
);
this
.
扫码测试
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
扫码测试
ToolStripMenuItem_Click
);
//
//
// toolStripSeparator9
// toolStripSeparator9
//
//
this
.
toolStripSeparator9
.
Name
=
"toolStripSeparator9"
;
this
.
toolStripSeparator9
.
Name
=
"toolStripSeparator9"
;
this
.
toolStripSeparator9
.
Size
=
new
System
.
Drawing
.
Size
(
1
7
7
,
6
);
this
.
toolStripSeparator9
.
Size
=
new
System
.
Drawing
.
Size
(
1
5
7
,
6
);
//
//
// 帮助ToolStripMenuItem
// 帮助ToolStripMenuItem
//
//
...
@@ -409,7 +415,7 @@
...
@@ -409,7 +415,7 @@
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
250
,
721
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
008
,
729
);
this
.
Controls
.
Add
(
this
.
lblWarnMsg
);
this
.
Controls
.
Add
(
this
.
lblWarnMsg
);
this
.
Controls
.
Add
(
this
.
menuStrip1
);
this
.
Controls
.
Add
(
this
.
menuStrip1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
...
...
source/DeviceLibrary/StoreConfig/StoreConfig.csv
查看文件 @
2c83967
...
@@ -4,11 +4,11 @@ AXIS,,T2_取料机构旋转轴,T2_Middle_Axis,2,COM3,,1000,1000,1000,200,500,500,10,100
...
@@ -4,11 +4,11 @@ AXIS,,T2_取料机构旋转轴,T2_Middle_Axis,2,COM3,,1000,1000,1000,200,500,500,10,100
AXIS,,T3_取料机构上下轴,T3_Updown_Axis,3,COM3,,800,1000,1000,200,500,500,10,1000,0,0
AXIS,,T3_取料机构上下轴,T3_Updown_Axis,3,COM3,,800,1000,1000,200,500,500,10,1000,0,0
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
PRO,,IO模块对应的DI数量,IO_DILength,192.168.20
0.21#16;192.168.200.22#16;192.168.200
.23#8,,,,,,,,,,,,
PRO,,IO模块对应的DI数量,IO_DILength,192.168.20
1.21#16;192.168.201.22#16;192.168.201
.23#8,,,,,,,,,,,,
PRO,,IO模块对应的DO数量,IO_DOLength,192.168.20
0.21#16;192.168.200.22#16;192.168.200
.23#8,,,,,,,,,,,,
PRO,,IO模块对应的DO数量,IO_DOLength,192.168.20
1.21#16;192.168.201.22#16;192.168.201
.23#8,,,,,,,,,,,,
PRO,,第一块IO模块IP,PRO_AIO_IP_1,192.168.20
0
.21,,,,,,,,,,,,
PRO,,第一块IO模块IP,PRO_AIO_IP_1,192.168.20
1
.21,,,,,,,,,,,,
PRO,,第二块IO模块IP,PRO_AIO_IP_2,192.168.20
0
.22,,,,,,,,,,,,
PRO,,第二块IO模块IP,PRO_AIO_IP_2,192.168.20
1
.22,,,,,,,,,,,,
PRO,,第三块IO模块IP,PRO_AIO_IP_3,192.168.20
0
.23,,,,,,,,,,,,
PRO,,第三块IO模块IP,PRO_AIO_IP_3,192.168.20
1
.23,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
DI,0,急停,SuddenStop_BTN,0,PRO_AIO_IP_1,X01,,,,,,,,,,
DI,0,急停,SuddenStop_BTN,0,PRO_AIO_IP_1,X01,,,,,,,,,,
...
...
source/DeviceLibrary/duoStore/DUOStoreBean.cs
查看文件 @
2c83967
...
@@ -388,6 +388,30 @@ namespace OnlineStore.DeviceLibrary
...
@@ -388,6 +388,30 @@ namespace OnlineStore.DeviceLibrary
{
{
}
}
public
void
LineRun
(
StoreMoveInfo
move
)
{
if
(
move
!=
null
)
{
move
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Line_BackRun
,
IO_VALUE
.
LOW
));
move
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Line_Run
,
IO_VALUE
.
HIGH
));
}
IOMove
(
IO_Type
.
Line_BackRun
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
Line_Run
,
IO_VALUE
.
HIGH
);
}
public
void
LineStop
(
StoreMoveInfo
move
)
{
if
(
move
!=
null
)
{
move
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Line_BackRun
,
IO_VALUE
.
LOW
));
move
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Line_Run
,
IO_VALUE
.
LOW
));
}
IOMove
(
IO_Type
.
Line_BackRun
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
Line_Run
,
IO_VALUE
.
LOW
);
}
#
region
出库
#
region
出库
public
override
bool
StartOutStoreMove
(
InOutParam
param
)
public
override
bool
StartOutStoreMove
(
InOutParam
param
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论