Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 8843c29a
由
LN
编写于
2019-12-18 13:27:13 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
f37d8909
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
457 行增加
和
466 行删除
source/AssemblyLineClient/FrmDischargeLine.Designer.cs
source/AssemblyLineClient/FrmProvidingEquip.Designer.cs
source/AssemblyLineClient/FrmProvidingEquip.cs
source/DeviceLibrary/assemblyLine/LineBean.cs
source/AssemblyLineClient/FrmDischargeLine.Designer.cs
查看文件 @
8843c29
...
@@ -18,35 +18,14 @@
...
@@ -18,35 +18,14 @@
this
.
components
=
new
System
.
ComponentModel
.
Container
();
this
.
components
=
new
System
.
ComponentModel
.
Container
();
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
FrmDischargeLine
));
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
FrmDischargeLine
));
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
panel1
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
txtDOIndex
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
btnScan
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtDoName
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblName
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label17
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label14
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnOpenDo
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnWriteSingleDO
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtWriteTime
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label5
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtSlaveId
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
cmbWriteIO
=
new
System
.
Windows
.
Forms
.
ComboBox
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
tableLayoutPanel2
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupBox5
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
btnSRun
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnRun2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnRun3
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnRun1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnCloseAll
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnStop1Up
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
chbDebug
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbDebug
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
lblThisSta
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblStoreStatus
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblStoreStatus
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnStart
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnStart
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnStop
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnStop
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnReset
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnReset
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnLine1Test
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabPage1
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
tabPage1
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
groupBox2
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox2
=
new
System
.
Windows
.
Forms
.
GroupBox
();
...
@@ -55,22 +34,43 @@
...
@@ -55,22 +34,43 @@
this
.
btnStrart
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnStrart
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnlineStop
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnlineStop
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
cmbLineType
=
new
System
.
Windows
.
Forms
.
ComboBox
();
this
.
cmbLineType
=
new
System
.
Windows
.
Forms
.
ComboBox
();
this
.
btnLine1Test
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox6
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox6
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
lblMoveInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblMoveInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTrayNum
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTrayNum
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblInstoreList
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblInstoreList
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
panel1
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
lblThisSta
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnScan
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
lblName
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox4
.
SuspendLayout
();
this
.
tableLayoutPanel2
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupBox3
.
SuspendLayout
();
this
.
groupBox5
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox5
.
SuspendLayout
();
this
.
btnSRun
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnRun2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnRun3
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnRun1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnCloseAll
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnStop1Up
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
txtDOIndex
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtDoName
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label17
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label14
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnOpenDo
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnWriteSingleDO
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtWriteTime
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label5
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtSlaveId
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
cmbWriteIO
=
new
System
.
Windows
.
Forms
.
ComboBox
();
this
.
panel1
.
SuspendLayout
();
this
.
tabControl1
.
SuspendLayout
();
this
.
tabControl1
.
SuspendLayout
();
this
.
tabPage1
.
SuspendLayout
();
this
.
tabPage1
.
SuspendLayout
();
this
.
groupBox2
.
SuspendLayout
();
this
.
groupBox2
.
SuspendLayout
();
this
.
groupBox6
.
SuspendLayout
();
this
.
groupBox6
.
SuspendLayout
();
this
.
panel1
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox5
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// timer1
// timer1
...
@@ -78,173 +78,298 @@
...
@@ -78,173 +78,298 @@
this
.
timer1
.
Interval
=
1000
;
this
.
timer1
.
Interval
=
1000
;
this
.
timer1
.
Tick
+=
new
System
.
EventHandler
(
this
.
timer1_Tick
);
this
.
timer1
.
Tick
+=
new
System
.
EventHandler
(
this
.
timer1_Tick
);
//
//
// groupBox1
// panel1
//
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDOIndex
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDoName
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label17
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label14
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnOpenDo
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnWriteSingleDO
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtWriteTime
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label5
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtSlaveId
);
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
.
Location
=
new
System
.
Drawing
.
Point
(
497
,
6
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
394
,
150
);
this
.
groupBox1
.
TabIndex
=
105
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"DO写入"
;
//
// txtDOIndex
//
//
this
.
txtDOIndex
.
Enabled
=
false
;
this
.
panel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
txtDOIndex
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
txtDOIndex
.
Location
=
new
System
.
Drawing
.
Point
(
328
,
63
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnScan
);
this
.
txtDOIndex
.
MaxLength
=
10
;
this
.
panel1
.
Controls
.
Add
(
this
.
lblName
);
this
.
txtDOIndex
.
Name
=
"txtDOIndex"
;
this
.
panel1
.
Controls
.
Add
(
this
.
chbDebug
);
this
.
txtDOIndex
.
Size
=
new
System
.
Drawing
.
Size
(
47
,
23
);
this
.
panel1
.
Controls
.
Add
(
this
.
lblStoreStatus
);
this
.
txtDOIndex
.
TabIndex
=
268
;
this
.
panel1
.
Controls
.
Add
(
this
.
btnStart
);
this
.
txtDOIndex
.
Text
=
"0"
;
this
.
panel1
.
Controls
.
Add
(
this
.
btnStop
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnReset
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
1
);
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
1303
,
56
);
this
.
panel1
.
TabIndex
=
258
;
//
//
//
txtDoName
//
btnScan
//
//
this
.
txtDoName
.
Enabled
=
false
;
this
.
btnScan
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
txtDoName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnScan
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
txtDoName
.
Location
=
new
System
.
Drawing
.
Point
(
71
,
63
);
this
.
btnScan
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtDoName
.
MaxLength
=
10
;
this
.
btnScan
.
Location
=
new
System
.
Drawing
.
Point
(
532
,
11
);
this
.
txtDoName
.
Name
=
"txtDoName"
;
this
.
btnScan
.
Name
=
"btnScan"
;
this
.
txtDoName
.
Size
=
new
System
.
Drawing
.
Size
(
116
,
23
);
this
.
btnScan
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
txtDoName
.
TabIndex
=
267
;
this
.
btnScan
.
TabIndex
=
249
;
this
.
txtDoName
.
Text
=
"0"
;
this
.
btnScan
.
Text
=
"扫码测试"
;
this
.
btnScan
.
UseVisualStyleBackColor
=
false
;
this
.
btnScan
.
Click
+=
new
System
.
EventHandler
(
this
.
btnScan_Click
);
//
//
// l
abel17
// l
blName
//
//
this
.
label17
.
AutoSize
=
true
;
this
.
lblName
.
BackColor
=
System
.
Drawing
.
Color
.
DodgerBlue
;
this
.
label17
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label17
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblName
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
66
);
this
.
lblName
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
11
);
this
.
label17
.
Name
=
"label17"
;
this
.
lblName
.
Name
=
"lblName"
;
this
.
label17
.
Size
=
new
System
.
Drawing
.
Size
(
46
,
17
);
this
.
lblName
.
Size
=
new
System
.
Drawing
.
Size
(
180
,
40
);
this
.
label17
.
TabIndex
=
266
;
this
.
lblName
.
TabIndex
=
248
;
this
.
label17
.
Text
=
"设备IP:"
;
this
.
lblName
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
this
.
label17
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
//
label14
//
chbDebug
//
//
this
.
label14
.
AutoSize
=
true
;
this
.
chbDebug
.
AutoSize
=
true
;
this
.
label14
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label14
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
chbDebug
.
Location
=
new
System
.
Drawing
.
Point
(
660
,
19
)
;
this
.
label14
.
Location
=
new
System
.
Drawing
.
Point
(
272
,
66
)
;
this
.
chbDebug
.
Name
=
"chbDebug"
;
this
.
label14
.
Name
=
"label14"
;
this
.
chbDebug
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
24
)
;
this
.
label14
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
)
;
this
.
chbDebug
.
TabIndex
=
247
;
this
.
label14
.
TabIndex
=
265
;
this
.
chbDebug
.
Text
=
"调试状态"
;
this
.
label14
.
Text
=
"地址:"
;
this
.
chbDebug
.
UseVisualStyleBackColor
=
true
;
this
.
label14
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
chbDebug
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbDebug_CheckedChanged
)
;
//
//
//
btnOpenDo
//
lblStoreStatus
//
//
this
.
btnOpenDo
.
BackColor
=
System
.
Drawing
.
Color
.
Whit
e
;
this
.
lblStoreStatus
.
AutoSize
=
tru
e
;
this
.
btnOpenDo
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblStoreStatus
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)))
;
this
.
btnOpenDo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)))
;
this
.
lblStoreStatus
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnOpenDo
.
Location
=
new
System
.
Drawing
.
Point
(
169
,
99
)
;
this
.
lblStoreStatus
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
btnOpenDo
.
Name
=
"btnOpenDo"
;
this
.
lblStoreStatus
.
Location
=
new
System
.
Drawing
.
Point
(
761
,
21
)
;
this
.
btnOpenDo
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
34
)
;
this
.
lblStoreStatus
.
Name
=
"lblStoreStatus"
;
this
.
btnOpenDo
.
TabIndex
=
264
;
this
.
lblStoreStatus
.
Size
=
new
System
.
Drawing
.
Size
(
65
,
20
)
;
this
.
btnOpenDo
.
Text
=
"打开"
;
this
.
lblStoreStatus
.
TabIndex
=
245
;
this
.
btnOpenDo
.
UseVisualStyleBackColor
=
false
;
this
.
lblStoreStatus
.
Text
=
"等待启动"
;
this
.
btnOpenDo
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOpenDo_Click
)
;
this
.
lblStoreStatus
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
// btn
WriteSingleDO
// btn
Start
//
//
this
.
btn
WriteSingleDO
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btn
Start
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btn
WriteSingleDO
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btn
Start
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btn
WriteSingleDO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btn
Start
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btn
WriteSingleDO
.
Location
=
new
System
.
Drawing
.
Point
(
275
,
99
);
this
.
btn
Start
.
Location
=
new
System
.
Drawing
.
Point
(
190
,
11
);
this
.
btn
WriteSingleDO
.
Name
=
"btnWriteSingleDO
"
;
this
.
btn
Start
.
Name
=
"btnStart
"
;
this
.
btn
WriteSingleDO
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
34
);
this
.
btn
Start
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btn
WriteSingleDO
.
TabIndex
=
261
;
this
.
btn
Start
.
TabIndex
=
86
;
this
.
btn
WriteSingleDO
.
Text
=
"关闭
"
;
this
.
btn
Start
.
Text
=
"启动调试
"
;
this
.
btn
WriteSingleDO
.
UseVisualStyleBackColor
=
false
;
this
.
btn
Start
.
UseVisualStyleBackColor
=
false
;
this
.
btn
WriteSingleDO
.
Click
+=
new
System
.
EventHandler
(
this
.
btnWriteSingleDO
_Click
);
this
.
btn
Start
.
Click
+=
new
System
.
EventHandler
(
this
.
btnStart
_Click
);
//
//
//
txtWriteTime
//
btnStop
//
//
this
.
txtWriteTime
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStop
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
txtWriteTime
.
Location
=
new
System
.
Drawing
.
Point
(
82
,
105
);
this
.
btnStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
txtWriteTime
.
MaxLength
=
10
;
this
.
btnStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtWriteTime
.
Name
=
"txtWriteTime"
;
this
.
btnStop
.
Location
=
new
System
.
Drawing
.
Point
(
304
,
11
);
this
.
txtWriteTime
.
Size
=
new
System
.
Drawing
.
Size
(
66
,
23
);
this
.
btnStop
.
Name
=
"btnStop"
;
this
.
txtWriteTime
.
TabIndex
=
263
;
this
.
btnStop
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
txtWriteTime
.
Text
=
"0"
;
this
.
btnStop
.
TabIndex
=
87
;
this
.
btnStop
.
Text
=
"停止"
;
this
.
btnStop
.
UseVisualStyleBackColor
=
false
;
this
.
btnStop
.
Click
+=
new
System
.
EventHandler
(
this
.
btnStop_Click
);
//
//
//
label5
//
btnReset
//
//
this
.
label5
.
AutoSize
=
true
;
this
.
btnReset
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
label5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnReset
.
Enabled
=
false
;
this
.
label5
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
btnReset
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
108
);
this
.
btnReset
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label5
.
Name
=
"label5"
;
this
.
btnReset
.
Location
=
new
System
.
Drawing
.
Point
(
418
,
11
);
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
60
,
17
);
this
.
btnReset
.
Name
=
"btnReset"
;
this
.
label5
.
TabIndex
=
262
;
this
.
btnReset
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
label5
.
Text
=
"定时(ms):"
;
this
.
btnReset
.
TabIndex
=
95
;
this
.
label5
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
btnReset
.
Text
=
"复位"
;
this
.
btnReset
.
UseVisualStyleBackColor
=
false
;
this
.
btnReset
.
Click
+=
new
System
.
EventHandler
(
this
.
btnReset_Click
);
//
//
// t
xtSlaveId
// t
abControl1
//
//
this
.
txtSlaveId
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
tabControl1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
txtSlaveId
.
Location
=
new
System
.
Drawing
.
Point
(
417
,
26
);
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
txtSlaveId
.
MaxLength
=
10
;
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
txtSlaveId
.
Name
=
"txtSlaveId"
;
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage1
);
this
.
txtSlaveId
.
Size
=
new
System
.
Drawing
.
Size
(
12
,
23
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
60
);
this
.
txtSlaveId
.
TabIndex
=
255
;
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
txtSlaveId
.
Text
=
"0"
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
txtSlaveId
.
Visible
=
false
;
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1307
,
559
);
this
.
tabControl1
.
TabIndex
=
257
;
//
//
//
cmbWriteIO
//
tabPage1
//
//
this
.
cmbWriteIO
.
DisplayMember
=
"ProName"
;
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox2
)
;
this
.
cmbWriteIO
.
DrawMode
=
System
.
Windows
.
Forms
.
DrawMode
.
OwnerDrawVariable
;
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox6
)
;
this
.
cmbWriteIO
.
DropDownStyle
=
System
.
Windows
.
Forms
.
ComboBoxStyle
.
DropDownList
;
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox3
)
;
this
.
cmbWriteIO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
))
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox4
);
this
.
cmbWriteIO
.
FormattingEnabled
=
true
;
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox5
)
;
this
.
cmbWriteIO
.
ItemHeight
=
22
;
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox1
)
;
this
.
cmbWriteIO
.
Location
=
new
System
.
Drawing
.
Point
(
17
,
25
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
cmbWriteIO
.
Name
=
"cmbWriteIO
"
;
this
.
tabPage1
.
Name
=
"tabPage1
"
;
this
.
cmbWriteIO
.
Size
=
new
System
.
Drawing
.
Size
(
356
,
28
);
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
cmbWriteIO
.
TabIndex
=
234
;
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
1299
,
529
)
;
this
.
cmbWriteIO
.
ValueMember
=
"ProName"
;
this
.
tabPage1
.
TabIndex
=
0
;
this
.
cmbWriteIO
.
DrawItem
+=
new
System
.
Windows
.
Forms
.
DrawItemEventHandler
(
this
.
cmbWriteIO_DrawItem
)
;
this
.
tabPage1
.
Text
=
" IO列表 "
;
this
.
cmbWriteIO
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cmbWriteIO_SelectedIndexChanged
)
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
//
//
// groupBox
4
// groupBox
2
//
//
this
.
groupBox4
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
groupBox2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox4
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnLine2Test
);
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
251
,
6
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
lblLineInfo
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnStrart
);
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
517
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnlineStop
);
this
.
groupBox4
.
TabIndex
=
104
;
this
.
groupBox2
.
Controls
.
Add
(
this
.
cmbLineType
);
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnLine1Test
);
this
.
groupBox4
.
Text
=
"DO列表"
;
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
497
,
449
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
793
,
72
);
this
.
groupBox2
.
TabIndex
=
279
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
Text
=
"皮带转动测试"
;
//
//
//
tableLayoutPanel2
//
btnLine2Test
//
//
this
.
tableLayoutPanel2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
btnLine2Test
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnLine2Test
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLine2Test
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLine2Test
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
19
);
this
.
btnLine2Test
.
Name
=
"btnLine2Test"
;
this
.
btnLine2Test
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btnLine2Test
.
TabIndex
=
250
;
this
.
btnLine2Test
.
Text
=
"皮带线2出库测试"
;
this
.
btnLine2Test
.
UseVisualStyleBackColor
=
false
;
this
.
btnLine2Test
.
Click
+=
new
System
.
EventHandler
(
this
.
btnLine2Test_Click
);
//
// lblLineInfo
//
this
.
lblLineInfo
.
AutoSize
=
true
;
this
.
lblLineInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblLineInfo
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblLineInfo
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
31
);
this
.
lblLineInfo
.
Name
=
"lblLineInfo"
;
this
.
lblLineInfo
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
lblLineInfo
.
TabIndex
=
280
;
this
.
lblLineInfo
.
Text
=
"线体未启动"
;
//
// btnStrart
//
this
.
btnStrart
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnStrart
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStrart
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStrart
.
Location
=
new
System
.
Drawing
.
Point
(
325
,
22
);
this
.
btnStrart
.
Name
=
"btnStrart"
;
this
.
btnStrart
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
34
);
this
.
btnStrart
.
TabIndex
=
267
;
this
.
btnStrart
.
Text
=
"开始"
;
this
.
btnStrart
.
UseVisualStyleBackColor
=
false
;
this
.
btnStrart
.
Click
+=
new
System
.
EventHandler
(
this
.
btnStrart_Click
);
//
// btnlineStop
//
this
.
btnlineStop
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
434
,
22
);
this
.
btnlineStop
.
Name
=
"btnlineStop"
;
this
.
btnlineStop
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
34
);
this
.
btnlineStop
.
TabIndex
=
266
;
this
.
btnlineStop
.
Text
=
"停止"
;
this
.
btnlineStop
.
UseVisualStyleBackColor
=
false
;
this
.
btnlineStop
.
Click
+=
new
System
.
EventHandler
(
this
.
btnlineStop_Click
);
//
// cmbLineType
//
this
.
cmbLineType
.
DropDownStyle
=
System
.
Windows
.
Forms
.
ComboBoxStyle
.
DropDownList
;
this
.
cmbLineType
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
cmbLineType
.
FormattingEnabled
=
true
;
this
.
cmbLineType
.
Items
.
AddRange
(
new
object
[]
{
"皮带线1运转-入口定位测试"
,
"皮带线2运转-入口定位测试"
,
"皮带线3运转测试"
,
"皮带线1运转-出口定位测试"
,
"皮带线2运转-出口定位测试"
});
this
.
cmbLineType
.
Location
=
new
System
.
Drawing
.
Point
(
85
,
25
);
this
.
cmbLineType
.
Name
=
"cmbLineType"
;
this
.
cmbLineType
.
Size
=
new
System
.
Drawing
.
Size
(
231
,
28
);
this
.
cmbLineType
.
TabIndex
=
0
;
//
// btnLine1Test
//
this
.
btnLine1Test
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnLine1Test
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLine1Test
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLine1Test
.
Location
=
new
System
.
Drawing
.
Point
(
543
,
19
);
this
.
btnLine1Test
.
Name
=
"btnLine1Test"
;
this
.
btnLine1Test
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btnLine1Test
.
TabIndex
=
101
;
this
.
btnLine1Test
.
Text
=
"皮带线1出库测试"
;
this
.
btnLine1Test
.
UseVisualStyleBackColor
=
false
;
this
.
btnLine1Test
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOutStore_Click
);
//
// groupBox6
//
this
.
groupBox6
.
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
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tableLayoutPanel2
.
ColumnCount
=
1
;
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblMoveInfo
);
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblTrayNum
);
this
.
tableLayoutPanel2
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
14
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblInstoreList
);
this
.
tableLayoutPanel2
.
Name
=
"tableLayoutPanel2"
;
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblThisSta
);
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
498
,
158
);
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
792
,
288
);
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
497
);
this
.
groupBox6
.
TabIndex
=
278
;
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
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
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
22
);
this
.
lblMoveInfo
.
Name
=
"lblMoveInfo"
;
this
.
lblMoveInfo
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
lblMoveInfo
.
TabIndex
=
279
;
this
.
lblMoveInfo
.
Text
=
"运动信息:"
;
//
// lblTrayNum
//
this
.
lblTrayNum
.
AutoSize
=
true
;
this
.
lblTrayNum
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTrayNum
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblTrayNum
.
Location
=
new
System
.
Drawing
.
Point
(
29
,
29
);
this
.
lblTrayNum
.
Name
=
"lblTrayNum"
;
this
.
lblTrayNum
.
Size
=
new
System
.
Drawing
.
Size
(
0
,
17
);
this
.
lblTrayNum
.
TabIndex
=
276
;
this
.
lblTrayNum
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// lblInstoreList
//
this
.
lblInstoreList
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblInstoreList
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblInstoreList
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
lblInstoreList
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblInstoreList
.
Location
=
new
System
.
Drawing
.
Point
(
267
,
228
);
this
.
lblInstoreList
.
Name
=
"lblInstoreList"
;
this
.
lblInstoreList
.
Size
=
new
System
.
Drawing
.
Size
(
519
,
53
);
this
.
lblInstoreList
.
TabIndex
=
277
;
//
// lblThisSta
//
this
.
lblThisSta
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblThisSta
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblThisSta
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblThisSta
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
263
,
29
);
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
523
,
191
);
this
.
lblThisSta
.
TabIndex
=
246
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
//
// groupBox3
// groupBox3
//
//
...
@@ -273,6 +398,33 @@
...
@@ -273,6 +398,33 @@
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
497
);
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
497
);
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
//
//
// groupBox4
//
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
.
Location
=
new
System
.
Drawing
.
Point
(
251
,
6
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
517
);
this
.
groupBox4
.
TabIndex
=
104
;
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
(
229
,
497
);
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
//
// groupBox5
// groupBox5
//
//
this
.
groupBox5
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
groupBox5
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
...
@@ -368,298 +520,146 @@
...
@@ -368,298 +520,146 @@
this
.
btnStop1Up
.
UseVisualStyleBackColor
=
false
;
this
.
btnStop1Up
.
UseVisualStyleBackColor
=
false
;
this
.
btnStop1Up
.
Click
+=
new
System
.
EventHandler
(
this
.
btnStop1Up_Click
);
this
.
btnStop1Up
.
Click
+=
new
System
.
EventHandler
(
this
.
btnStop1Up_Click
);
//
//
// chbDebug
// groupBox1
//
this
.
chbDebug
.
AutoSize
=
true
;
this
.
chbDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbDebug
.
Location
=
new
System
.
Drawing
.
Point
(
660
,
19
);
this
.
chbDebug
.
Name
=
"chbDebug"
;
this
.
chbDebug
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
24
);
this
.
chbDebug
.
TabIndex
=
247
;
this
.
chbDebug
.
Text
=
"调试状态"
;
this
.
chbDebug
.
UseVisualStyleBackColor
=
true
;
this
.
chbDebug
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbDebug_CheckedChanged
);
//
// lblThisSta
//
//
this
.
lblThisSta
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDOIndex
);
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDoName
);
this
.
lblThisSta
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
Controls
.
Add
(
this
.
label17
);
this
.
lblThisSta
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
label14
);
this
.
lblThisSta
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnOpenDo
);
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
263
,
29
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnWriteSingleDO
);
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtWriteTime
);
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
523
,
191
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label5
);
this
.
lblThisSta
.
TabIndex
=
246
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtSlaveId
);
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
cmbWriteIO
);
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
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
(
497
,
6
);
// lblStoreStatus
this
.
groupBox1
.
Name
=
"groupBox1"
;
//
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
394
,
150
);
this
.
lblStoreStatus
.
AutoSize
=
true
;
this
.
groupBox1
.
TabIndex
=
105
;
this
.
lblStoreStatus
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
TabStop
=
false
;
this
.
lblStoreStatus
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
groupBox1
.
Text
=
"DO写入"
;
this
.
lblStoreStatus
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblStoreStatus
.
Location
=
new
System
.
Drawing
.
Point
(
761
,
21
);
this
.
lblStoreStatus
.
Name
=
"lblStoreStatus"
;
this
.
lblStoreStatus
.
Size
=
new
System
.
Drawing
.
Size
(
65
,
20
);
this
.
lblStoreStatus
.
TabIndex
=
245
;
this
.
lblStoreStatus
.
Text
=
"等待启动"
;
this
.
lblStoreStatus
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// btnStart
//
this
.
btnStart
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnStart
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStart
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStart
.
Location
=
new
System
.
Drawing
.
Point
(
190
,
11
);
this
.
btnStart
.
Name
=
"btnStart"
;
this
.
btnStart
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btnStart
.
TabIndex
=
86
;
this
.
btnStart
.
Text
=
"启动调试"
;
this
.
btnStart
.
UseVisualStyleBackColor
=
false
;
this
.
btnStart
.
Click
+=
new
System
.
EventHandler
(
this
.
btnStart_Click
);
//
// btnStop
//
this
.
btnStop
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStop
.
Location
=
new
System
.
Drawing
.
Point
(
304
,
11
);
this
.
btnStop
.
Name
=
"btnStop"
;
this
.
btnStop
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btnStop
.
TabIndex
=
87
;
this
.
btnStop
.
Text
=
"停止"
;
this
.
btnStop
.
UseVisualStyleBackColor
=
false
;
this
.
btnStop
.
Click
+=
new
System
.
EventHandler
(
this
.
btnStop_Click
);
//
// btnReset
//
this
.
btnReset
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnReset
.
Enabled
=
false
;
this
.
btnReset
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnReset
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnReset
.
Location
=
new
System
.
Drawing
.
Point
(
418
,
11
);
this
.
btnReset
.
Name
=
"btnReset"
;
this
.
btnReset
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btnReset
.
TabIndex
=
95
;
this
.
btnReset
.
Text
=
"复位"
;
this
.
btnReset
.
UseVisualStyleBackColor
=
false
;
this
.
btnReset
.
Click
+=
new
System
.
EventHandler
(
this
.
btnReset_Click
);
//
// btnLine1Test
//
this
.
btnLine1Test
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnLine1Test
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLine1Test
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLine1Test
.
Location
=
new
System
.
Drawing
.
Point
(
543
,
19
);
this
.
btnLine1Test
.
Name
=
"btnLine1Test"
;
this
.
btnLine1Test
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btnLine1Test
.
TabIndex
=
101
;
this
.
btnLine1Test
.
Text
=
"皮带线1测试"
;
this
.
btnLine1Test
.
UseVisualStyleBackColor
=
false
;
this
.
btnLine1Test
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOutStore_Click
);
//
// tabControl1
//
this
.
tabControl1
.
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
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage1
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
60
);
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1307
,
559
);
this
.
tabControl1
.
TabIndex
=
257
;
//
// tabPage1
//
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox2
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox6
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox3
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox4
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox5
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
1299
,
529
);
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
Text
=
" IO列表 "
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
//
// groupBox2
//
this
.
groupBox2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnLine2Test
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
lblLineInfo
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnStrart
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnlineStop
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
cmbLineType
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnLine1Test
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
497
,
449
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
793
,
72
);
this
.
groupBox2
.
TabIndex
=
279
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
Text
=
"皮带转动测试"
;
//
// btnLine2Test
//
this
.
btnLine2Test
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnLine2Test
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnLine2Test
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnLine2Test
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
19
);
this
.
btnLine2Test
.
Name
=
"btnLine2Test"
;
this
.
btnLine2Test
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btnLine2Test
.
TabIndex
=
250
;
this
.
btnLine2Test
.
Text
=
"皮带线2测试"
;
this
.
btnLine2Test
.
UseVisualStyleBackColor
=
false
;
this
.
btnLine2Test
.
Click
+=
new
System
.
EventHandler
(
this
.
btnLine2Test_Click
);
//
// lblLineInfo
//
this
.
lblLineInfo
.
AutoSize
=
true
;
this
.
lblLineInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblLineInfo
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblLineInfo
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
31
);
this
.
lblLineInfo
.
Name
=
"lblLineInfo"
;
this
.
lblLineInfo
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
lblLineInfo
.
TabIndex
=
280
;
this
.
lblLineInfo
.
Text
=
"线体未启动"
;
//
//
//
btnStrart
//
txtDOIndex
//
//
this
.
btnStrart
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
txtDOIndex
.
Enabled
=
false
;
this
.
btnStrart
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
txtDOIndex
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStrart
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtDOIndex
.
Location
=
new
System
.
Drawing
.
Point
(
328
,
63
);
this
.
btnStrart
.
Location
=
new
System
.
Drawing
.
Point
(
325
,
22
);
this
.
txtDOIndex
.
MaxLength
=
10
;
this
.
btnStrart
.
Name
=
"btnStrart"
;
this
.
txtDOIndex
.
Name
=
"txtDOIndex"
;
this
.
btnStrart
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
34
);
this
.
txtDOIndex
.
Size
=
new
System
.
Drawing
.
Size
(
47
,
23
);
this
.
btnStrart
.
TabIndex
=
267
;
this
.
txtDOIndex
.
TabIndex
=
268
;
this
.
btnStrart
.
Text
=
"开始"
;
this
.
txtDOIndex
.
Text
=
"0"
;
this
.
btnStrart
.
UseVisualStyleBackColor
=
false
;
this
.
btnStrart
.
Click
+=
new
System
.
EventHandler
(
this
.
btnStrart_Click
);
//
//
//
btnlineStop
//
txtDoName
//
//
this
.
btnlineStop
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
txtDoName
.
Enabled
=
false
;
this
.
btnlineStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
txtDoName
.
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
.
txtDoName
.
Location
=
new
System
.
Drawing
.
Point
(
71
,
63
);
this
.
btnlineStop
.
Location
=
new
System
.
Drawing
.
Point
(
434
,
22
);
this
.
txtDoName
.
MaxLength
=
10
;
this
.
btnlineStop
.
Name
=
"btnlineStop"
;
this
.
txtDoName
.
Name
=
"txtDoName"
;
this
.
btnlineStop
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
34
);
this
.
txtDoName
.
Size
=
new
System
.
Drawing
.
Size
(
116
,
23
);
this
.
btnlineStop
.
TabIndex
=
266
;
this
.
txtDoName
.
TabIndex
=
267
;
this
.
btnlineStop
.
Text
=
"停止"
;
this
.
txtDoName
.
Text
=
"0"
;
this
.
btnlineStop
.
UseVisualStyleBackColor
=
false
;
this
.
btnlineStop
.
Click
+=
new
System
.
EventHandler
(
this
.
btnlineStop_Click
);
//
//
//
cmbLineType
//
label17
//
//
this
.
cmbLineType
.
DropDownStyle
=
System
.
Windows
.
Forms
.
ComboBoxStyle
.
DropDownList
;
this
.
label17
.
AutoSize
=
true
;
this
.
cmbLineType
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label17
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
cmbLineType
.
FormattingEnabled
=
true
;
this
.
label17
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
cmbLineType
.
Items
.
AddRange
(
new
object
[]
{
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
66
);
"皮带线1运转-入口定位测试"
,
this
.
label17
.
Name
=
"label17"
;
"皮带线2运转-入口定位测试"
,
this
.
label17
.
Size
=
new
System
.
Drawing
.
Size
(
46
,
17
);
"皮带线3运转测试"
,
this
.
label17
.
TabIndex
=
266
;
"皮带线1运转-出口定位测试"
,
this
.
label17
.
Text
=
"设备IP:"
;
"皮带线2运转-出口定位测试"
});
this
.
label17
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
cmbLineType
.
Location
=
new
System
.
Drawing
.
Point
(
85
,
25
);
this
.
cmbLineType
.
Name
=
"cmbLineType"
;
this
.
cmbLineType
.
Size
=
new
System
.
Drawing
.
Size
(
231
,
28
);
this
.
cmbLineType
.
TabIndex
=
0
;
//
//
//
groupBox6
//
label14
//
//
this
.
groupBox6
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
label14
.
AutoSize
=
true
;
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
label14
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
label14
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblMoveInfo
);
this
.
label14
.
Location
=
new
System
.
Drawing
.
Point
(
272
,
66
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblTrayNum
);
this
.
label14
.
Name
=
"label14"
;
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblInstoreList
);
this
.
label14
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblThisSta
);
this
.
label14
.
TabIndex
=
265
;
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
498
,
158
);
this
.
label14
.
Text
=
"地址:"
;
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
label14
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
792
,
288
);
this
.
groupBox6
.
TabIndex
=
278
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
Text
=
"消息"
;
//
//
//
lblMoveInf
o
//
btnOpenD
o
//
//
this
.
lblMoveInfo
.
AutoSize
=
true
;
this
.
btnOpenDo
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
lblMoveInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenDo
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblMoveInfo
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
btnOpenDo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
22
);
this
.
btnOpenDo
.
Location
=
new
System
.
Drawing
.
Point
(
169
,
99
);
this
.
lblMoveInfo
.
Name
=
"lblMoveInfo"
;
this
.
btnOpenDo
.
Name
=
"btnOpenDo"
;
this
.
lblMoveInfo
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
btnOpenDo
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
34
);
this
.
lblMoveInfo
.
TabIndex
=
279
;
this
.
btnOpenDo
.
TabIndex
=
264
;
this
.
lblMoveInfo
.
Text
=
"运动信息:"
;
this
.
btnOpenDo
.
Text
=
"打开"
;
this
.
btnOpenDo
.
UseVisualStyleBackColor
=
false
;
this
.
btnOpenDo
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOpenDo_Click
);
//
//
//
lblTrayNum
//
btnWriteSingleDO
//
//
this
.
lblTrayNum
.
AutoSize
=
true
;
this
.
btnWriteSingleDO
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
lblTrayNum
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnWriteSingleDO
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblTrayNum
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
btnWriteSingleDO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTrayNum
.
Location
=
new
System
.
Drawing
.
Point
(
29
,
29
);
this
.
btnWriteSingleDO
.
Location
=
new
System
.
Drawing
.
Point
(
275
,
99
);
this
.
lblTrayNum
.
Name
=
"lblTrayNum"
;
this
.
btnWriteSingleDO
.
Name
=
"btnWriteSingleDO"
;
this
.
lblTrayNum
.
Size
=
new
System
.
Drawing
.
Size
(
0
,
17
);
this
.
btnWriteSingleDO
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
34
);
this
.
lblTrayNum
.
TabIndex
=
276
;
this
.
btnWriteSingleDO
.
TabIndex
=
261
;
this
.
lblTrayNum
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
btnWriteSingleDO
.
Text
=
"关闭"
;
this
.
btnWriteSingleDO
.
UseVisualStyleBackColor
=
false
;
this
.
btnWriteSingleDO
.
Click
+=
new
System
.
EventHandler
(
this
.
btnWriteSingleDO_Click
);
//
//
//
lblInstoreList
//
txtWriteTime
//
//
this
.
lblInstoreList
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
txtWriteTime
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
txtWriteTime
.
Location
=
new
System
.
Drawing
.
Point
(
82
,
105
);
this
.
lblInstoreList
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtWriteTime
.
MaxLength
=
10
;
this
.
lblInstoreList
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
txtWriteTime
.
Name
=
"txtWriteTime"
;
this
.
lblInstoreList
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
txtWriteTime
.
Size
=
new
System
.
Drawing
.
Size
(
66
,
23
);
this
.
lblInstoreList
.
Location
=
new
System
.
Drawing
.
Point
(
267
,
228
);
this
.
txtWriteTime
.
TabIndex
=
263
;
this
.
lblInstoreList
.
Name
=
"lblInstoreList"
;
this
.
txtWriteTime
.
Text
=
"0"
;
this
.
lblInstoreList
.
Size
=
new
System
.
Drawing
.
Size
(
519
,
53
);
this
.
lblInstoreList
.
TabIndex
=
277
;
//
//
//
panel1
//
label5
//
//
this
.
panel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
label5
.
AutoSize
=
true
;
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
label5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
panel1
.
Controls
.
Add
(
this
.
btnScan
);
this
.
label5
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
panel1
.
Controls
.
Add
(
this
.
lblName
);
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
108
);
this
.
panel1
.
Controls
.
Add
(
this
.
chbDebug
);
this
.
label5
.
Name
=
"label5"
;
this
.
panel1
.
Controls
.
Add
(
this
.
lblStoreStatus
);
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
60
,
17
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnStart
);
this
.
label5
.
TabIndex
=
262
;
this
.
panel1
.
Controls
.
Add
(
this
.
btnStop
);
this
.
label5
.
Text
=
"定时(ms):"
;
this
.
panel1
.
Controls
.
Add
(
this
.
btnReset
);
this
.
label5
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
1
);
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
1303
,
56
);
this
.
panel1
.
TabIndex
=
258
;
//
//
//
btnScan
//
txtSlaveId
//
//
this
.
btnScan
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
txtSlaveId
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnScan
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
txtSlaveId
.
Location
=
new
System
.
Drawing
.
Point
(
417
,
26
);
this
.
btnScan
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtSlaveId
.
MaxLength
=
10
;
this
.
btnScan
.
Location
=
new
System
.
Drawing
.
Point
(
532
,
11
);
this
.
txtSlaveId
.
Name
=
"txtSlaveId"
;
this
.
btnScan
.
Name
=
"btnScan"
;
this
.
txtSlaveId
.
Size
=
new
System
.
Drawing
.
Size
(
12
,
23
);
this
.
btnScan
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
txtSlaveId
.
TabIndex
=
255
;
this
.
btnScan
.
TabIndex
=
249
;
this
.
txtSlaveId
.
Text
=
"0"
;
this
.
btnScan
.
Text
=
"扫码测试"
;
this
.
txtSlaveId
.
Visible
=
false
;
this
.
btnScan
.
UseVisualStyleBackColor
=
false
;
this
.
btnScan
.
Click
+=
new
System
.
EventHandler
(
this
.
btnScan_Click
);
//
//
//
lblName
//
cmbWriteIO
//
//
this
.
lblName
.
BackColor
=
System
.
Drawing
.
Color
.
DodgerBlue
;
this
.
cmbWriteIO
.
DisplayMember
=
"ProName"
;
this
.
lblName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
cmbWriteIO
.
DrawMode
=
System
.
Windows
.
Forms
.
DrawMode
.
OwnerDrawVariable
;
this
.
lblName
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
cmbWriteIO
.
DropDownStyle
=
System
.
Windows
.
Forms
.
ComboBoxStyle
.
DropDownList
;
this
.
lblName
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
11
);
this
.
cmbWriteIO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblName
.
Name
=
"lblName"
;
this
.
cmbWriteIO
.
FormattingEnabled
=
true
;
this
.
lblName
.
Size
=
new
System
.
Drawing
.
Size
(
180
,
40
);
this
.
cmbWriteIO
.
ItemHeight
=
22
;
this
.
lblName
.
TabIndex
=
248
;
this
.
cmbWriteIO
.
Location
=
new
System
.
Drawing
.
Point
(
17
,
25
);
this
.
lblName
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
this
.
cmbWriteIO
.
Name
=
"cmbWriteIO"
;
this
.
cmbWriteIO
.
Size
=
new
System
.
Drawing
.
Size
(
356
,
28
);
this
.
cmbWriteIO
.
TabIndex
=
234
;
this
.
cmbWriteIO
.
ValueMember
=
"ProName"
;
this
.
cmbWriteIO
.
DrawItem
+=
new
System
.
Windows
.
Forms
.
DrawItemEventHandler
(
this
.
cmbWriteIO_DrawItem
);
this
.
cmbWriteIO
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cmbWriteIO_SelectedIndexChanged
);
//
//
// FrmDischargeLine
// FrmDischargeLine
//
//
...
@@ -676,19 +676,19 @@
...
@@ -676,19 +676,19 @@
this
.
FormClosing
+=
new
System
.
Windows
.
Forms
.
FormClosingEventHandler
(
this
.
FrmTest_FormClosing
);
this
.
FormClosing
+=
new
System
.
Windows
.
Forms
.
FormClosingEventHandler
(
this
.
FrmTest_FormClosing
);
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmStoreIOStatus_Load
);
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmStoreIOStatus_Load
);
this
.
Shown
+=
new
System
.
EventHandler
(
this
.
FrmIOStatus_Shown
);
this
.
Shown
+=
new
System
.
EventHandler
(
this
.
FrmIOStatus_Shown
);
this
.
groupBox1
.
ResumeLayout
(
false
);
this
.
panel1
.
ResumeLayout
(
false
);
this
.
groupBox1
.
PerformLayout
();
this
.
panel1
.
PerformLayout
();
this
.
groupBox4
.
ResumeLayout
(
false
);
this
.
groupBox3
.
ResumeLayout
(
false
);
this
.
groupBox5
.
ResumeLayout
(
false
);
this
.
tabControl1
.
ResumeLayout
(
false
);
this
.
tabControl1
.
ResumeLayout
(
false
);
this
.
tabPage1
.
ResumeLayout
(
false
);
this
.
tabPage1
.
ResumeLayout
(
false
);
this
.
groupBox2
.
ResumeLayout
(
false
);
this
.
groupBox2
.
ResumeLayout
(
false
);
this
.
groupBox2
.
PerformLayout
();
this
.
groupBox2
.
PerformLayout
();
this
.
groupBox6
.
ResumeLayout
(
false
);
this
.
groupBox6
.
ResumeLayout
(
false
);
this
.
groupBox6
.
PerformLayout
();
this
.
groupBox6
.
PerformLayout
();
this
.
panel1
.
ResumeLayout
(
false
);
this
.
groupBox3
.
ResumeLayout
(
false
);
this
.
panel1
.
PerformLayout
();
this
.
groupBox4
.
ResumeLayout
(
false
);
this
.
groupBox5
.
ResumeLayout
(
false
);
this
.
groupBox1
.
ResumeLayout
(
false
);
this
.
groupBox1
.
PerformLayout
();
this
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
}
}
...
...
source/AssemblyLineClient/FrmProvidingEquip.Designer.cs
查看文件 @
8843c29
...
@@ -361,6 +361,7 @@
...
@@ -361,6 +361,7 @@
this
.
btnUpDownUp
.
TabIndex
=
252
;
this
.
btnUpDownUp
.
TabIndex
=
252
;
this
.
btnUpDownUp
.
Text
=
"升降上升"
;
this
.
btnUpDownUp
.
Text
=
"升降上升"
;
this
.
btnUpDownUp
.
UseVisualStyleBackColor
=
false
;
this
.
btnUpDownUp
.
UseVisualStyleBackColor
=
false
;
this
.
btnUpDownUp
.
Visible
=
false
;
this
.
btnUpDownUp
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownUp_Click
);
this
.
btnUpDownUp
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownUp_Click
);
//
//
// btnBeforeAfterBefore
// btnBeforeAfterBefore
...
@@ -565,7 +566,7 @@
...
@@ -565,7 +566,7 @@
this
.
tabPage2
.
Controls
.
Add
(
this
.
axisMoveControl1
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
axisMoveControl1
);
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
1299
,
4
27
);
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
1299
,
4
36
);
this
.
tabPage2
.
TabIndex
=
1
;
this
.
tabPage2
.
TabIndex
=
1
;
this
.
tabPage2
.
Text
=
"伺服调试"
;
this
.
tabPage2
.
Text
=
"伺服调试"
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
...
...
source/AssemblyLineClient/FrmProvidingEquip.cs
查看文件 @
8843c29
...
@@ -44,6 +44,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -44,6 +44,7 @@ namespace OnlineStore.AssemblyLine
cmbSizeList
.
Items
.
Add
(
i
.
ToString
());
cmbSizeList
.
Items
.
Add
(
i
.
ToString
());
}
}
cmbSizeList
.
SelectedIndex
=
0
;
cmbSizeList
.
SelectedIndex
=
0
;
btnUpDownUp
.
Visible
=
false
;
}
}
else
else
{
{
...
...
source/DeviceLibrary/assemblyLine/LineBean.cs
查看文件 @
8843c29
...
@@ -156,19 +156,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -156,19 +156,8 @@ namespace OnlineStore.DeviceLibrary
}
}
else
if
(
id
.
Equals
(
0
))
else
if
(
id
.
Equals
(
0
))
{
{
cioList
=
new
List
<
string
>();
cioList
=
new
List
<
string
>(
ioList
);
cioList
.
AddRange
(
ioList
);
break
;
//List<string> removeList = new List<string>() {
// "192.168.101.22",
// "192.168.101.23"
//};
//foreach (string s in removeList)
//{
// if (cioList.Contains(s))
// {
// cioList.Remove(s);
// }
//}
}
}
}
}
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论