Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit aff17178
由
LN
编写于
2019-11-14 15:38:59 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
4037dcde
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
167 行增加
和
315 行删除
source/AssemblyLineClient/FrmFeedingEquip.Designer.cs
source/AssemblyLineClient/useControl/AxisMoveControl.Designer.cs
source/AssemblyLineClient/useControl/AxisMoveControl.cs
source/AssemblyLineClient/FrmFeedingEquip.Designer.cs
查看文件 @
aff1717
...
@@ -788,7 +788,7 @@
...
@@ -788,7 +788,7 @@
this
.
groupBox9
.
Controls
.
Add
(
this
.
btnBP1
);
this
.
groupBox9
.
Controls
.
Add
(
this
.
btnBP1
);
this
.
groupBox9
.
Controls
.
Add
(
this
.
btnBP2
);
this
.
groupBox9
.
Controls
.
Add
(
this
.
btnBP2
);
this
.
groupBox9
.
Controls
.
Add
(
this
.
txtBP2
);
this
.
groupBox9
.
Controls
.
Add
(
this
.
txtBP2
);
this
.
groupBox9
.
Location
=
new
System
.
Drawing
.
Point
(
22
,
5
46
);
this
.
groupBox9
.
Location
=
new
System
.
Drawing
.
Point
(
22
,
5
29
);
this
.
groupBox9
.
Name
=
"groupBox9"
;
this
.
groupBox9
.
Name
=
"groupBox9"
;
this
.
groupBox9
.
Size
=
new
System
.
Drawing
.
Size
(
644
,
196
);
this
.
groupBox9
.
Size
=
new
System
.
Drawing
.
Size
(
644
,
196
);
this
.
groupBox9
.
TabIndex
=
220
;
this
.
groupBox9
.
TabIndex
=
220
;
...
@@ -900,7 +900,7 @@
...
@@ -900,7 +900,7 @@
//
//
this
.
axisMoveControl1
.
Location
=
new
System
.
Drawing
.
Point
(
10
,
9
);
this
.
axisMoveControl1
.
Location
=
new
System
.
Drawing
.
Point
(
10
,
9
);
this
.
axisMoveControl1
.
Name
=
"axisMoveControl1"
;
this
.
axisMoveControl1
.
Name
=
"axisMoveControl1"
;
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
678
,
3
74
);
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
678
,
3
53
);
this
.
axisMoveControl1
.
TabIndex
=
219
;
this
.
axisMoveControl1
.
TabIndex
=
219
;
//
//
// groupBox2
// groupBox2
...
@@ -912,7 +912,7 @@
...
@@ -912,7 +912,7 @@
this
.
groupBox2
.
Controls
.
Add
(
this
.
label4
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
label4
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnMoveto
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnMoveto
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
txtSizePosition
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
txtSizePosition
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
22
,
3
87
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
22
,
3
70
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
644
,
147
);
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
644
,
147
);
this
.
groupBox2
.
TabIndex
=
218
;
this
.
groupBox2
.
TabIndex
=
218
;
...
...
source/AssemblyLineClient/useControl/AxisMoveControl.Designer.cs
查看文件 @
aff1717
...
@@ -29,32 +29,27 @@
...
@@ -29,32 +29,27 @@
private
void
InitializeComponent
()
private
void
InitializeComponent
()
{
{
this
.
groupAxis
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupAxis
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
label24
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtLimit2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label22
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtLimit1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
comboBox1
=
new
System
.
Windows
.
Forms
.
ComboBox
();
this
.
comboBox1
=
new
System
.
Windows
.
Forms
.
ComboBox
();
this
.
label6
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label6
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label1
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnReadHomeSingle
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtHomeSingle
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtHomeSingle
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label16
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label15
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label2
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label11
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label11
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtHomeStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtHomeStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
button2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label10
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label10
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtBusyStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtBusyStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
button1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label3
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label3
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtAlarmStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtAlarmStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
btnGetAlarm
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnGetAlarm
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnReadPosition
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnReadPosition
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
lblServerOn
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblServerOn
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label7
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label8
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label8
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnOpenAxis
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnOpenAxis
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnCloseAxis
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnCloseAxis
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
lblCountPulse
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblCountPulse
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtASpeed
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtASpeed
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblOutPulse
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label47
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label47
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnAxisVMove
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnAxisVMove
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnAxisRMove
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnAxisRMove
=
new
System
.
Windows
.
Forms
.
Button
();
...
@@ -69,75 +64,77 @@
...
@@ -69,75 +64,77 @@
this
.
label45
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label45
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label46
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label46
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label49
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label49
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label24
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
panel1
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
label26
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label5
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnReadLimit2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtServoStatue
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtLimit2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label22
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label23
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnReadLimit1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtLimit1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
groupAxis
.
SuspendLayout
();
this
.
groupAxis
.
SuspendLayout
();
this
.
panel1
.
SuspendLayout
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// groupAxis
// groupAxis
//
//
this
.
groupAxis
.
Controls
.
Add
(
this
.
label24
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
panel1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label26
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnReadLimit2
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtLimit2
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label22
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label23
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnReadLimit1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtLimit1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
comboBox1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
comboBox1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label6
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnReadHomeSingle
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtHomeSingle
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label16
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label15
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label2
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label11
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtHomeStatus
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
button2
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label10
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtBusyStatus
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
button1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label3
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtAlarmStatus
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnGetAlarm
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnReadPosition
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
lblServerOn
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
lblServerOn
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label7
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label8
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnOpenAxis
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnOpenAxis
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnCloseAxis
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnCloseAxis
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
lblCountPulse
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtASpeed
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtASpeed
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
lblOutPulse
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label47
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label47
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisVMove
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisVMove
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisRMove
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisRMove
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisReturnHome
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisAMove
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisAMove
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnComAlarmClear
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtAPosition
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtAPosition
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label48
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label48
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisStop
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtAxisValue
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtAxisValue
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtAxisDeviceName
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtAxisDeviceName
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label45
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label45
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label46
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label46
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label49
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label49
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisStop
);
this
.
groupAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupAxis
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
4
);
this
.
groupAxis
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
4
);
this
.
groupAxis
.
Name
=
"groupAxis"
;
this
.
groupAxis
.
Name
=
"groupAxis"
;
this
.
groupAxis
.
Size
=
new
System
.
Drawing
.
Size
(
648
,
441
);
this
.
groupAxis
.
Size
=
new
System
.
Drawing
.
Size
(
648
,
342
);
this
.
groupAxis
.
TabIndex
=
218
;
this
.
groupAxis
.
TabIndex
=
218
;
this
.
groupAxis
.
TabStop
=
false
;
this
.
groupAxis
.
TabStop
=
false
;
this
.
groupAxis
.
Text
=
"伺服运动"
;
this
.
groupAxis
.
Text
=
"伺服运动"
;
//
//
// label24
//
this
.
label24
.
AutoSize
=
true
;
this
.
label24
.
Location
=
new
System
.
Drawing
.
Point
(
171
,
126
);
this
.
label24
.
Name
=
"label24"
;
this
.
label24
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label24
.
TabIndex
=
316
;
this
.
label24
.
Text
=
"负极限信号:"
;
this
.
label24
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// txtLimit2
//
this
.
txtLimit2
.
Enabled
=
false
;
this
.
txtLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
251
,
123
);
this
.
txtLimit2
.
Name
=
"txtLimit2"
;
this
.
txtLimit2
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit2
.
TabIndex
=
313
;
//
// label22
//
this
.
label22
.
AutoSize
=
true
;
this
.
label22
.
Location
=
new
System
.
Drawing
.
Point
(
171
,
93
);
this
.
label22
.
Name
=
"label22"
;
this
.
label22
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label22
.
TabIndex
=
312
;
this
.
label22
.
Text
=
"正极限信号:"
;
this
.
label22
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// txtLimit1
//
this
.
txtLimit1
.
Enabled
=
false
;
this
.
txtLimit1
.
Location
=
new
System
.
Drawing
.
Point
(
251
,
90
);
this
.
txtLimit1
.
Name
=
"txtLimit1"
;
this
.
txtLimit1
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit1
.
TabIndex
=
309
;
//
// comboBox1
// comboBox1
//
//
this
.
comboBox1
.
DropDownStyle
=
System
.
Windows
.
Forms
.
ComboBoxStyle
.
DropDownList
;
this
.
comboBox1
.
DropDownStyle
=
System
.
Windows
.
Forms
.
ComboBoxStyle
.
DropDownList
;
...
@@ -145,143 +142,74 @@
...
@@ -145,143 +142,74 @@
this
.
comboBox1
.
FormattingEnabled
=
true
;
this
.
comboBox1
.
FormattingEnabled
=
true
;
this
.
comboBox1
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
36
);
this
.
comboBox1
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
36
);
this
.
comboBox1
.
Name
=
"comboBox1"
;
this
.
comboBox1
.
Name
=
"comboBox1"
;
this
.
comboBox1
.
Size
=
new
System
.
Drawing
.
Size
(
22
0
,
28
);
this
.
comboBox1
.
Size
=
new
System
.
Drawing
.
Size
(
22
7
,
28
);
this
.
comboBox1
.
TabIndex
=
301
;
this
.
comboBox1
.
TabIndex
=
301
;
this
.
comboBox1
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
comboBox1_SelectedIndexChanged
);
this
.
comboBox1
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
comboBox1_SelectedIndexChanged
);
//
//
// label6
// label6
//
//
this
.
label6
.
AutoSize
=
true
;
this
.
label6
.
AutoSize
=
true
;
this
.
label6
.
Location
=
new
System
.
Drawing
.
Point
(
78
,
321
);
this
.
label6
.
Location
=
new
System
.
Drawing
.
Point
(
183
,
60
);
this
.
label6
.
Name
=
"label6"
;
this
.
label6
.
Name
=
"label6"
;
this
.
label6
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
label6
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label6
.
TabIndex
=
300
;
this
.
label6
.
TabIndex
=
300
;
this
.
label6
.
Text
=
"原点信号:"
;
this
.
label6
.
Text
=
"原点信号:"
;
//
// label1
//
this
.
label1
.
AutoSize
=
true
;
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
192
,
321
);
this
.
label1
.
Name
=
"label1"
;
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
17
);
this
.
label1
.
TabIndex
=
299
;
this
.
label1
.
Text
=
"1=ON,0=OFF"
;
//
// btnReadHomeSingle
//
this
.
btnReadHomeSingle
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnReadHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
358
,
318
);
this
.
btnReadHomeSingle
.
Name
=
"btnReadHomeSingle"
;
this
.
btnReadHomeSingle
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnReadHomeSingle
.
TabIndex
=
298
;
this
.
btnReadHomeSingle
.
Text
=
"读原点信号"
;
this
.
btnReadHomeSingle
.
UseVisualStyleBackColor
=
true
;
this
.
btnReadHomeSingle
.
Click
+=
new
System
.
EventHandler
(
this
.
btnReadHomeSingle_Click
);
//
//
// txtHomeSingle
// txtHomeSingle
//
//
this
.
txtHomeSingle
.
Enabled
=
false
;
this
.
txtHomeSingle
.
Enabled
=
false
;
this
.
txtHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
159
,
318
);
this
.
txtHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
251
,
57
);
this
.
txtHomeSingle
.
Name
=
"txtHomeSingle"
;
this
.
txtHomeSingle
.
Name
=
"txtHomeSingle"
;
this
.
txtHomeSingle
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeSingle
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeSingle
.
TabIndex
=
297
;
this
.
txtHomeSingle
.
TabIndex
=
297
;
//
//
// label16
//
this
.
label16
.
AutoSize
=
true
;
this
.
label16
.
Location
=
new
System
.
Drawing
.
Point
(
192
,
288
);
this
.
label16
.
Name
=
"label16"
;
this
.
label16
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
17
);
this
.
label16
.
TabIndex
=
295
;
this
.
label16
.
Text
=
"1=完成,0=未完成"
;
//
// label15
//
this
.
label15
.
AutoSize
=
true
;
this
.
label15
.
Location
=
new
System
.
Drawing
.
Point
(
192
,
257
);
this
.
label15
.
Name
=
"label15"
;
this
.
label15
.
Size
=
new
System
.
Drawing
.
Size
(
124
,
17
);
this
.
label15
.
TabIndex
=
294
;
this
.
label15
.
Text
=
"1=执行中,0=未执行"
;
//
// label2
//
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
192
,
222
);
this
.
label2
.
Name
=
"label2"
;
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
17
);
this
.
label2
.
TabIndex
=
293
;
this
.
label2
.
Text
=
"1=报警,0=正常"
;
//
// label11
// label11
//
//
this
.
label11
.
AutoSize
=
true
;
this
.
label11
.
AutoSize
=
true
;
this
.
label11
.
Location
=
new
System
.
Drawing
.
Point
(
32
,
288
);
this
.
label11
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
126
);
this
.
label11
.
Name
=
"label11"
;
this
.
label11
.
Name
=
"label11"
;
this
.
label11
.
Size
=
new
System
.
Drawing
.
Size
(
1
14
,
17
);
this
.
label11
.
Size
=
new
System
.
Drawing
.
Size
(
1
05
,
17
);
this
.
label11
.
TabIndex
=
292
;
this
.
label11
.
TabIndex
=
292
;
this
.
label11
.
Text
=
"HOME-CMP状态
:
"
;
this
.
label11
.
Text
=
"HOME-CMP状态
:
"
;
//
//
// txtHomeStatus
// txtHomeStatus
//
//
this
.
txtHomeStatus
.
Enabled
=
false
;
this
.
txtHomeStatus
.
Enabled
=
false
;
this
.
txtHomeStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
59
,
285
);
this
.
txtHomeStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
22
,
123
);
this
.
txtHomeStatus
.
Name
=
"txtHomeStatus"
;
this
.
txtHomeStatus
.
Name
=
"txtHomeStatus"
;
this
.
txtHomeStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeStatus
.
TabIndex
=
291
;
this
.
txtHomeStatus
.
TabIndex
=
291
;
//
//
// button2
//
this
.
button2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
button2
.
Location
=
new
System
.
Drawing
.
Point
(
358
,
283
);
this
.
button2
.
Name
=
"button2"
;
this
.
button2
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
button2
.
TabIndex
=
290
;
this
.
button2
.
Text
=
"读HOME状态"
;
this
.
button2
.
UseVisualStyleBackColor
=
true
;
this
.
button2
.
Click
+=
new
System
.
EventHandler
(
this
.
button2_Click
);
//
// label10
// label10
//
//
this
.
label10
.
AutoSize
=
true
;
this
.
label10
.
AutoSize
=
true
;
this
.
label10
.
Location
=
new
System
.
Drawing
.
Point
(
71
,
255
);
this
.
label10
.
Location
=
new
System
.
Drawing
.
Point
(
47
,
93
);
this
.
label10
.
Name
=
"label10"
;
this
.
label10
.
Name
=
"label10"
;
this
.
label10
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
17
);
this
.
label10
.
Size
=
new
System
.
Drawing
.
Size
(
66
,
17
);
this
.
label10
.
TabIndex
=
289
;
this
.
label10
.
TabIndex
=
289
;
this
.
label10
.
Text
=
"BUSY状态
:
"
;
this
.
label10
.
Text
=
"BUSY状态
:
"
;
//
//
// txtBusyStatus
// txtBusyStatus
//
//
this
.
txtBusyStatus
.
Enabled
=
false
;
this
.
txtBusyStatus
.
Enabled
=
false
;
this
.
txtBusyStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
59
,
252
);
this
.
txtBusyStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
22
,
90
);
this
.
txtBusyStatus
.
Name
=
"txtBusyStatus"
;
this
.
txtBusyStatus
.
Name
=
"txtBusyStatus"
;
this
.
txtBusyStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtBusyStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtBusyStatus
.
TabIndex
=
288
;
this
.
txtBusyStatus
.
TabIndex
=
288
;
//
//
// button1
//
this
.
button1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
358
,
248
);
this
.
button1
.
Name
=
"button1"
;
this
.
button1
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
button1
.
TabIndex
=
287
;
this
.
button1
.
Text
=
"读BUSY状态"
;
this
.
button1
.
UseVisualStyleBackColor
=
true
;
this
.
button1
.
Click
+=
new
System
.
EventHandler
(
this
.
button1_Click
);
//
// label3
// label3
//
//
this
.
label3
.
AutoSize
=
true
;
this
.
label3
.
AutoSize
=
true
;
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
78
,
222
);
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
54
,
60
);
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label3
.
TabIndex
=
286
;
this
.
label3
.
TabIndex
=
286
;
this
.
label3
.
Text
=
"报警状态
:
"
;
this
.
label3
.
Text
=
"报警状态
:
"
;
//
//
// txtAlarmStatus
// txtAlarmStatus
//
//
this
.
txtAlarmStatus
.
Enabled
=
false
;
this
.
txtAlarmStatus
.
Enabled
=
false
;
this
.
txtAlarmStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
59
,
219
);
this
.
txtAlarmStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
22
,
57
);
this
.
txtAlarmStatus
.
Name
=
"txtAlarmStatus"
;
this
.
txtAlarmStatus
.
Name
=
"txtAlarmStatus"
;
this
.
txtAlarmStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtAlarmStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtAlarmStatus
.
TabIndex
=
285
;
this
.
txtAlarmStatus
.
TabIndex
=
285
;
...
@@ -289,11 +217,11 @@
...
@@ -289,11 +217,11 @@
// btnGetAlarm
// btnGetAlarm
//
//
this
.
btnGetAlarm
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnGetAlarm
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnGetAlarm
.
Location
=
new
System
.
Drawing
.
Point
(
3
58
,
213
);
this
.
btnGetAlarm
.
Location
=
new
System
.
Drawing
.
Point
(
3
43
,
61
);
this
.
btnGetAlarm
.
Name
=
"btnGetAlarm"
;
this
.
btnGetAlarm
.
Name
=
"btnGetAlarm"
;
this
.
btnGetAlarm
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnGetAlarm
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnGetAlarm
.
TabIndex
=
284
;
this
.
btnGetAlarm
.
TabIndex
=
284
;
this
.
btnGetAlarm
.
Text
=
"读报
警
状态"
;
this
.
btnGetAlarm
.
Text
=
"读报状态"
;
this
.
btnGetAlarm
.
UseVisualStyleBackColor
=
true
;
this
.
btnGetAlarm
.
UseVisualStyleBackColor
=
true
;
this
.
btnGetAlarm
.
Click
+=
new
System
.
EventHandler
(
this
.
btnGetAlarm_Click
);
this
.
btnGetAlarm
.
Click
+=
new
System
.
EventHandler
(
this
.
btnGetAlarm_Click
);
//
//
...
@@ -304,7 +232,7 @@
...
@@ -304,7 +232,7 @@
this
.
btnReadPosition
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnReadPosition
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnReadPosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnReadPosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnReadPosition
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnReadPosition
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnReadPosition
.
Location
=
new
System
.
Drawing
.
Point
(
3
58
,
154
);
this
.
btnReadPosition
.
Location
=
new
System
.
Drawing
.
Point
(
3
43
,
15
);
this
.
btnReadPosition
.
Name
=
"btnReadPosition"
;
this
.
btnReadPosition
.
Name
=
"btnReadPosition"
;
this
.
btnReadPosition
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnReadPosition
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnReadPosition
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnReadPosition
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
...
@@ -319,30 +247,20 @@
...
@@ -319,30 +247,20 @@
this
.
lblServerOn
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblServerOn
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblServerOn
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblServerOn
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblServerOn
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblServerOn
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblServerOn
.
Location
=
new
System
.
Drawing
.
Point
(
4
91
,
297
);
this
.
lblServerOn
.
Location
=
new
System
.
Drawing
.
Point
(
4
8
,
126
);
this
.
lblServerOn
.
Name
=
"lblServerOn"
;
this
.
lblServerOn
.
Name
=
"lblServerOn"
;
this
.
lblServerOn
.
Size
=
new
System
.
Drawing
.
Size
(
0
,
19
);
this
.
lblServerOn
.
Size
=
new
System
.
Drawing
.
Size
(
0
,
19
);
this
.
lblServerOn
.
TabIndex
=
268
;
this
.
lblServerOn
.
TabIndex
=
268
;
//
//
// label7
//
this
.
label7
.
AutoSize
=
true
;
this
.
label7
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label7
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
148
);
this
.
label7
.
Name
=
"label7"
;
this
.
label7
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label7
.
TabIndex
=
254
;
this
.
label7
.
Text
=
"目标脉冲值:"
;
//
// label8
// label8
//
//
this
.
label8
.
AutoSize
=
true
;
this
.
label8
.
AutoSize
=
true
;
this
.
label8
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label8
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label8
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
180
);
this
.
label8
.
Location
=
new
System
.
Drawing
.
Point
(
156
,
24
);
this
.
label8
.
Name
=
"label8"
;
this
.
label8
.
Name
=
"label8"
;
this
.
label8
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label8
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label8
.
TabIndex
=
255
;
this
.
label8
.
TabIndex
=
255
;
this
.
label8
.
Text
=
"实
际脉冲值:
"
;
this
.
label8
.
Text
=
"实
时位置:
"
;
//
//
// btnOpenAxis
// btnOpenAxis
//
//
...
@@ -351,7 +269,7 @@
...
@@ -351,7 +269,7 @@
this
.
btnOpenAxis
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenAxis
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenAxis
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnOpenAxis
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnOpenAxis
.
Location
=
new
System
.
Drawing
.
Point
(
35
8
,
34
);
this
.
btnOpenAxis
.
Location
=
new
System
.
Drawing
.
Point
(
35
4
,
32
);
this
.
btnOpenAxis
.
Name
=
"btnOpenAxis"
;
this
.
btnOpenAxis
.
Name
=
"btnOpenAxis"
;
this
.
btnOpenAxis
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnOpenAxis
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnOpenAxis
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnOpenAxis
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
...
@@ -367,7 +285,7 @@
...
@@ -367,7 +285,7 @@
this
.
btnCloseAxis
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseAxis
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseAxis
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnCloseAxis
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnCloseAxis
.
Location
=
new
System
.
Drawing
.
Point
(
474
,
3
3
);
this
.
btnCloseAxis
.
Location
=
new
System
.
Drawing
.
Point
(
474
,
3
2
);
this
.
btnCloseAxis
.
Name
=
"btnCloseAxis"
;
this
.
btnCloseAxis
.
Name
=
"btnCloseAxis"
;
this
.
btnCloseAxis
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnCloseAxis
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnCloseAxis
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnCloseAxis
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
...
@@ -378,10 +296,10 @@
...
@@ -378,10 +296,10 @@
//
//
// lblCountPulse
// lblCountPulse
//
//
this
.
lblCountPulse
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
175
);
this
.
lblCountPulse
.
Location
=
new
System
.
Drawing
.
Point
(
219
,
21
);
this
.
lblCountPulse
.
Name
=
"lblCountPulse"
;
this
.
lblCountPulse
.
Name
=
"lblCountPulse"
;
this
.
lblCountPulse
.
ReadOnly
=
true
;
this
.
lblCountPulse
.
ReadOnly
=
true
;
this
.
lblCountPulse
.
Size
=
new
System
.
Drawing
.
Size
(
8
7
,
23
);
this
.
lblCountPulse
.
Size
=
new
System
.
Drawing
.
Size
(
8
8
,
23
);
this
.
lblCountPulse
.
TabIndex
=
38
;
this
.
lblCountPulse
.
TabIndex
=
38
;
//
//
// txtASpeed
// txtASpeed
...
@@ -391,33 +309,26 @@
...
@@ -391,33 +309,26 @@
this
.
txtASpeed
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtASpeed
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtASpeed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtASpeed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtASpeed
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtASpeed
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtASpeed
.
Location
=
new
System
.
Drawing
.
Point
(
225
,
1
06
);
this
.
txtASpeed
.
Location
=
new
System
.
Drawing
.
Point
(
225
,
1
22
);
this
.
txtASpeed
.
MaxLength
=
12
;
this
.
txtASpeed
.
MaxLength
=
12
;
this
.
txtASpeed
.
Name
=
"txtASpeed"
;
this
.
txtASpeed
.
Name
=
"txtASpeed"
;
this
.
txtASpeed
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtASpeed
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtASpeed
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
26
);
this
.
txtASpeed
.
Size
=
new
System
.
Drawing
.
Size
(
91
,
26
);
this
.
txtASpeed
.
TabIndex
=
251
;
this
.
txtASpeed
.
TabIndex
=
251
;
this
.
txtASpeed
.
Text
=
"30"
;
this
.
txtASpeed
.
Text
=
"30"
;
//
//
// lblOutPulse
//
this
.
lblOutPulse
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
146
);
this
.
lblOutPulse
.
Name
=
"lblOutPulse"
;
this
.
lblOutPulse
.
ReadOnly
=
true
;
this
.
lblOutPulse
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
23
);
this
.
lblOutPulse
.
TabIndex
=
30
;
//
// label47
// label47
//
//
this
.
label47
.
AutoSize
=
true
;
this
.
label47
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
label47
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
label47
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label47
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label47
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
label47
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
label47
.
Location
=
new
System
.
Drawing
.
Point
(
1
70
,
109
);
this
.
label47
.
Location
=
new
System
.
Drawing
.
Point
(
1
60
,
127
);
this
.
label47
.
Name
=
"label47"
;
this
.
label47
.
Name
=
"label47"
;
this
.
label47
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
label47
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
label47
.
Size
=
new
System
.
Drawing
.
Size
(
5
3
,
20
);
this
.
label47
.
Size
=
new
System
.
Drawing
.
Size
(
5
9
,
17
);
this
.
label47
.
TabIndex
=
250
;
this
.
label47
.
TabIndex
=
250
;
this
.
label47
.
Text
=
"
速度:
"
;
this
.
label47
.
Text
=
"
目标速度:
"
;
this
.
label47
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label47
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
// btnAxisVMove
// btnAxisVMove
...
@@ -427,7 +338,7 @@
...
@@ -427,7 +338,7 @@
this
.
btnAxisVMove
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisVMove
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisVMove
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisVMove
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisVMove
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnAxisVMove
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnAxisVMove
.
Location
=
new
System
.
Drawing
.
Point
(
35
8
,
115
);
this
.
btnAxisVMove
.
Location
=
new
System
.
Drawing
.
Point
(
35
4
,
119
);
this
.
btnAxisVMove
.
Name
=
"btnAxisVMove"
;
this
.
btnAxisVMove
.
Name
=
"btnAxisVMove"
;
this
.
btnAxisVMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisVMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisVMove
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnAxisVMove
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
...
@@ -443,7 +354,7 @@
...
@@ -443,7 +354,7 @@
this
.
btnAxisRMove
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisRMove
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisRMove
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisRMove
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisRMove
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnAxisRMove
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnAxisRMove
.
Location
=
new
System
.
Drawing
.
Point
(
474
,
7
5
);
this
.
btnAxisRMove
.
Location
=
new
System
.
Drawing
.
Point
(
474
,
7
7
);
this
.
btnAxisRMove
.
Name
=
"btnAxisRMove"
;
this
.
btnAxisRMove
.
Name
=
"btnAxisRMove"
;
this
.
btnAxisRMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisRMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisRMove
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnAxisRMove
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
...
@@ -459,7 +370,7 @@
...
@@ -459,7 +370,7 @@
this
.
btnAxisReturnHome
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisReturnHome
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisReturnHome
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisReturnHome
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisReturnHome
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnAxisReturnHome
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnAxisReturnHome
.
Location
=
new
System
.
Drawing
.
Point
(
4
74
,
154
);
this
.
btnAxisReturnHome
.
Location
=
new
System
.
Drawing
.
Point
(
4
63
,
15
);
this
.
btnAxisReturnHome
.
Name
=
"btnAxisReturnHome"
;
this
.
btnAxisReturnHome
.
Name
=
"btnAxisReturnHome"
;
this
.
btnAxisReturnHome
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisReturnHome
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisReturnHome
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnAxisReturnHome
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
...
@@ -475,7 +386,7 @@
...
@@ -475,7 +386,7 @@
this
.
btnAxisAMove
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisAMove
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisAMove
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisAMove
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisAMove
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnAxisAMove
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnAxisAMove
.
Location
=
new
System
.
Drawing
.
Point
(
35
8
,
76
);
this
.
btnAxisAMove
.
Location
=
new
System
.
Drawing
.
Point
(
35
4
,
78
);
this
.
btnAxisAMove
.
Name
=
"btnAxisAMove"
;
this
.
btnAxisAMove
.
Name
=
"btnAxisAMove"
;
this
.
btnAxisAMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisAMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisAMove
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnAxisAMove
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
...
@@ -487,7 +398,7 @@
...
@@ -487,7 +398,7 @@
// btnComAlarmClear
// btnComAlarmClear
//
//
this
.
btnComAlarmClear
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnComAlarmClear
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnComAlarmClear
.
Location
=
new
System
.
Drawing
.
Point
(
474
,
213
);
this
.
btnComAlarmClear
.
Location
=
new
System
.
Drawing
.
Point
(
343
,
107
);
this
.
btnComAlarmClear
.
Name
=
"btnComAlarmClear"
;
this
.
btnComAlarmClear
.
Name
=
"btnComAlarmClear"
;
this
.
btnComAlarmClear
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnComAlarmClear
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnComAlarmClear
.
TabIndex
=
50
;
this
.
btnComAlarmClear
.
TabIndex
=
50
;
...
@@ -501,25 +412,26 @@
...
@@ -501,25 +412,26 @@
this
.
txtAPosition
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtAPosition
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtAPosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtAPosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtAPosition
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtAPosition
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtAPosition
.
Location
=
new
System
.
Drawing
.
Point
(
225
,
72
);
this
.
txtAPosition
.
Location
=
new
System
.
Drawing
.
Point
(
225
,
80
);
this
.
txtAPosition
.
MaxLength
=
12
;
this
.
txtAPosition
.
MaxLength
=
12
;
this
.
txtAPosition
.
Name
=
"txtAPosition"
;
this
.
txtAPosition
.
Name
=
"txtAPosition"
;
this
.
txtAPosition
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtAPosition
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtAPosition
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
26
);
this
.
txtAPosition
.
Size
=
new
System
.
Drawing
.
Size
(
91
,
26
);
this
.
txtAPosition
.
TabIndex
=
244
;
this
.
txtAPosition
.
TabIndex
=
244
;
this
.
txtAPosition
.
Text
=
"3000"
;
this
.
txtAPosition
.
Text
=
"3000"
;
//
//
// label48
// label48
//
//
this
.
label48
.
AutoSize
=
true
;
this
.
label48
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
label48
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
label48
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label48
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label48
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
label48
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
label48
.
Location
=
new
System
.
Drawing
.
Point
(
1
70
,
7
5
);
this
.
label48
.
Location
=
new
System
.
Drawing
.
Point
(
1
60
,
8
5
);
this
.
label48
.
Name
=
"label48"
;
this
.
label48
.
Name
=
"label48"
;
this
.
label48
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
label48
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
label48
.
Size
=
new
System
.
Drawing
.
Size
(
5
3
,
20
);
this
.
label48
.
Size
=
new
System
.
Drawing
.
Size
(
5
9
,
17
);
this
.
label48
.
TabIndex
=
243
;
this
.
label48
.
TabIndex
=
243
;
this
.
label48
.
Text
=
"
位置:
"
;
this
.
label48
.
Text
=
"
目标位置:
"
;
this
.
label48
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label48
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
// btnAxisStop
// btnAxisStop
...
@@ -529,7 +441,7 @@
...
@@ -529,7 +441,7 @@
this
.
btnAxisStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisStop
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisStop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisStop
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnAxisStop
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnAxisStop
.
Location
=
new
System
.
Drawing
.
Point
(
474
,
11
4
);
this
.
btnAxisStop
.
Location
=
new
System
.
Drawing
.
Point
(
474
,
11
9
);
this
.
btnAxisStop
.
Name
=
"btnAxisStop"
;
this
.
btnAxisStop
.
Name
=
"btnAxisStop"
;
this
.
btnAxisStop
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisStop
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisStop
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnAxisStop
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
...
@@ -541,7 +453,7 @@
...
@@ -541,7 +453,7 @@
// txtAxisValue
// txtAxisValue
//
//
this
.
txtAxisValue
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtAxisValue
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtAxisValue
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
1
06
);
this
.
txtAxisValue
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
1
22
);
this
.
txtAxisValue
.
MaxLength
=
10
;
this
.
txtAxisValue
.
MaxLength
=
10
;
this
.
txtAxisValue
.
Name
=
"txtAxisValue"
;
this
.
txtAxisValue
.
Name
=
"txtAxisValue"
;
this
.
txtAxisValue
.
ReadOnly
=
true
;
this
.
txtAxisValue
.
ReadOnly
=
true
;
...
@@ -552,7 +464,7 @@
...
@@ -552,7 +464,7 @@
// txtAxisDeviceName
// txtAxisDeviceName
//
//
this
.
txtAxisDeviceName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtAxisDeviceName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtAxisDeviceName
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
72
);
this
.
txtAxisDeviceName
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
80
);
this
.
txtAxisDeviceName
.
MaxLength
=
10
;
this
.
txtAxisDeviceName
.
MaxLength
=
10
;
this
.
txtAxisDeviceName
.
Name
=
"txtAxisDeviceName"
;
this
.
txtAxisDeviceName
.
Name
=
"txtAxisDeviceName"
;
this
.
txtAxisDeviceName
.
ReadOnly
=
true
;
this
.
txtAxisDeviceName
.
ReadOnly
=
true
;
...
@@ -565,11 +477,11 @@
...
@@ -565,11 +477,11 @@
this
.
label45
.
AutoSize
=
true
;
this
.
label45
.
AutoSize
=
true
;
this
.
label45
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label45
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label45
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label45
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label45
.
Location
=
new
System
.
Drawing
.
Point
(
32
,
77
);
this
.
label45
.
Location
=
new
System
.
Drawing
.
Point
(
32
,
85
);
this
.
label45
.
Name
=
"label45"
;
this
.
label45
.
Name
=
"label45"
;
this
.
label45
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
label45
.
Size
=
new
System
.
Drawing
.
Size
(
47
,
17
);
this
.
label45
.
TabIndex
=
240
;
this
.
label45
.
TabIndex
=
240
;
this
.
label45
.
Text
=
"端口号
:
"
;
this
.
label45
.
Text
=
"端口号
:
"
;
this
.
label45
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label45
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
// label46
// label46
...
@@ -577,11 +489,11 @@
...
@@ -577,11 +489,11 @@
this
.
label46
.
AutoSize
=
true
;
this
.
label46
.
AutoSize
=
true
;
this
.
label46
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label46
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label46
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label46
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label46
.
Location
=
new
System
.
Drawing
.
Point
(
44
,
1
11
);
this
.
label46
.
Location
=
new
System
.
Drawing
.
Point
(
44
,
1
27
);
this
.
label46
.
Name
=
"label46"
;
this
.
label46
.
Name
=
"label46"
;
this
.
label46
.
Size
=
new
System
.
Drawing
.
Size
(
44
,
17
);
this
.
label46
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label46
.
TabIndex
=
239
;
this
.
label46
.
TabIndex
=
239
;
this
.
label46
.
Text
=
"地址
:
"
;
this
.
label46
.
Text
=
"地址
:
"
;
this
.
label46
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label46
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
// label49
// label49
...
@@ -591,93 +503,66 @@
...
@@ -591,93 +503,66 @@
this
.
label49
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label49
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label49
.
Location
=
new
System
.
Drawing
.
Point
(
28
,
41
);
this
.
label49
.
Location
=
new
System
.
Drawing
.
Point
(
28
,
41
);
this
.
label49
.
Name
=
"label49"
;
this
.
label49
.
Name
=
"label49"
;
this
.
label49
.
Size
=
new
System
.
Drawing
.
Size
(
60
,
17
);
this
.
label49
.
Size
=
new
System
.
Drawing
.
Size
(
51
,
17
);
this
.
label49
.
TabIndex
=
233
;
this
.
label49
.
TabIndex
=
233
;
this
.
label49
.
Text
=
"AC伺服
:
"
;
this
.
label49
.
Text
=
"AC伺服
:
"
;
this
.
label49
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label49
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
// label24
// panel1
//
//
this
.
label24
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
390
);
this
.
panel1
.
Controls
.
Add
(
this
.
label5
);
this
.
label24
.
Name
=
"label24"
;
this
.
panel1
.
Controls
.
Add
(
this
.
txtServoStatue
);
this
.
label24
.
Size
=
new
System
.
Drawing
.
Size
(
141
,
17
);
this
.
panel1
.
Controls
.
Add
(
this
.
label24
);
this
.
label24
.
TabIndex
=
316
;
this
.
panel1
.
Controls
.
Add
(
this
.
txtAlarmStatus
);
this
.
label24
.
Text
=
"负极限信号:"
;
this
.
panel1
.
Controls
.
Add
(
this
.
btnReadPosition
);
this
.
label24
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
panel1
.
Controls
.
Add
(
this
.
label3
);
//
this
.
panel1
.
Controls
.
Add
(
this
.
txtLimit2
);
// label26
this
.
panel1
.
Controls
.
Add
(
this
.
txtBusyStatus
);
//
this
.
panel1
.
Controls
.
Add
(
this
.
label22
);
this
.
label26
.
AutoSize
=
true
;
this
.
panel1
.
Controls
.
Add
(
this
.
label8
);
this
.
label26
.
Location
=
new
System
.
Drawing
.
Point
(
192
,
390
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnGetAlarm
);
this
.
label26
.
Name
=
"label26"
;
this
.
panel1
.
Controls
.
Add
(
this
.
label10
);
this
.
label26
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
17
);
this
.
panel1
.
Controls
.
Add
(
this
.
txtHomeStatus
);
this
.
label26
.
TabIndex
=
315
;
this
.
panel1
.
Controls
.
Add
(
this
.
lblCountPulse
);
this
.
label26
.
Text
=
"1=ON,0=OFF"
;
this
.
panel1
.
Controls
.
Add
(
this
.
txtLimit1
);
//
this
.
panel1
.
Controls
.
Add
(
this
.
label11
);
// btnReadLimit2
this
.
panel1
.
Controls
.
Add
(
this
.
txtHomeSingle
);
//
this
.
panel1
.
Controls
.
Add
(
this
.
label6
);
this
.
btnReadLimit2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
panel1
.
Controls
.
Add
(
this
.
btnComAlarmClear
);
this
.
btnReadLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
358
,
388
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnAxisReturnHome
);
this
.
btnReadLimit2
.
Name
=
"btnReadLimit2"
;
this
.
panel1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnReadLimit2
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
167
);
this
.
btnReadLimit2
.
TabIndex
=
314
;
this
.
panel1
.
Name
=
"panel1"
;
this
.
btnReadLimit2
.
Text
=
"读负极限信号"
;
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
608
,
163
);
this
.
btnReadLimit2
.
UseVisualStyleBackColor
=
true
;
this
.
panel1
.
TabIndex
=
219
;
this
.
btnReadLimit2
.
Click
+=
new
System
.
EventHandler
(
this
.
btnReadLimit2_Click
);
//
//
// label5
// txtLimit2
//
//
this
.
label5
.
AutoSize
=
true
;
this
.
txtLimit2
.
Enabled
=
false
;
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
56
,
24
);
this
.
txtLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
159
,
387
);
this
.
label5
.
Name
=
"label5"
;
this
.
txtLimit2
.
Name
=
"txtLimit2"
;
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
txtLimit2
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
label5
.
TabIndex
=
328
;
this
.
txtLimit2
.
TabIndex
=
313
;
this
.
label5
.
Text
=
"伺服状态:"
;
//
//
// label22
// txtServoStatue
//
//
this
.
label22
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
358
);
this
.
txtServoStatue
.
Enabled
=
false
;
this
.
label22
.
Name
=
"label22"
;
this
.
txtServoStatue
.
Location
=
new
System
.
Drawing
.
Point
(
121
,
21
);
this
.
label22
.
Size
=
new
System
.
Drawing
.
Size
(
141
,
17
);
this
.
txtServoStatue
.
Name
=
"txtServoStatue"
;
this
.
label22
.
TabIndex
=
312
;
this
.
txtServoStatue
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
label22
.
Text
=
"正极限信号:"
;
this
.
txtServoStatue
.
TabIndex
=
327
;
this
.
label22
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// label23
//
this
.
label23
.
AutoSize
=
true
;
this
.
label23
.
Location
=
new
System
.
Drawing
.
Point
(
192
,
358
);
this
.
label23
.
Name
=
"label23"
;
this
.
label23
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
17
);
this
.
label23
.
TabIndex
=
311
;
this
.
label23
.
Text
=
"1=ON,0=OFF"
;
//
// btnReadLimit1
//
this
.
btnReadLimit1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnReadLimit1
.
Location
=
new
System
.
Drawing
.
Point
(
358
,
353
);
this
.
btnReadLimit1
.
Name
=
"btnReadLimit1"
;
this
.
btnReadLimit1
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnReadLimit1
.
TabIndex
=
310
;
this
.
btnReadLimit1
.
Text
=
"读正极限信号"
;
this
.
btnReadLimit1
.
UseVisualStyleBackColor
=
true
;
this
.
btnReadLimit1
.
Click
+=
new
System
.
EventHandler
(
this
.
btnReadLimit1_Click
);
//
// txtLimit1
//
this
.
txtLimit1
.
Enabled
=
false
;
this
.
txtLimit1
.
Location
=
new
System
.
Drawing
.
Point
(
159
,
355
);
this
.
txtLimit1
.
Name
=
"txtLimit1"
;
this
.
txtLimit1
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit1
.
TabIndex
=
309
;
//
//
// AxisMoveControl
// AxisMoveControl
//
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
Controls
.
Add
(
this
.
groupAxis
);
this
.
Controls
.
Add
(
this
.
groupAxis
);
this
.
Name
=
"AxisMoveControl"
;
this
.
Name
=
"AxisMoveControl"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
6
78
,
47
1
);
this
.
Size
=
new
System
.
Drawing
.
Size
(
6
64
,
35
1
);
this
.
groupAxis
.
ResumeLayout
(
false
);
this
.
groupAxis
.
ResumeLayout
(
false
);
this
.
groupAxis
.
PerformLayout
();
this
.
groupAxis
.
PerformLayout
();
this
.
panel1
.
ResumeLayout
(
false
);
this
.
panel1
.
PerformLayout
();
this
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
}
}
...
@@ -687,30 +572,21 @@
...
@@ -687,30 +572,21 @@
private
System
.
Windows
.
Forms
.
GroupBox
groupAxis
;
private
System
.
Windows
.
Forms
.
GroupBox
groupAxis
;
private
System
.
Windows
.
Forms
.
ComboBox
comboBox1
;
private
System
.
Windows
.
Forms
.
ComboBox
comboBox1
;
private
System
.
Windows
.
Forms
.
Label
label6
;
private
System
.
Windows
.
Forms
.
Label
label6
;
private
System
.
Windows
.
Forms
.
Label
label1
;
private
System
.
Windows
.
Forms
.
Button
btnReadHomeSingle
;
private
System
.
Windows
.
Forms
.
TextBox
txtHomeSingle
;
private
System
.
Windows
.
Forms
.
TextBox
txtHomeSingle
;
private
System
.
Windows
.
Forms
.
Label
label16
;
private
System
.
Windows
.
Forms
.
Label
label15
;
private
System
.
Windows
.
Forms
.
Label
label2
;
private
System
.
Windows
.
Forms
.
Label
label11
;
private
System
.
Windows
.
Forms
.
Label
label11
;
private
System
.
Windows
.
Forms
.
TextBox
txtHomeStatus
;
private
System
.
Windows
.
Forms
.
TextBox
txtHomeStatus
;
private
System
.
Windows
.
Forms
.
Button
button2
;
private
System
.
Windows
.
Forms
.
Label
label10
;
private
System
.
Windows
.
Forms
.
Label
label10
;
private
System
.
Windows
.
Forms
.
TextBox
txtBusyStatus
;
private
System
.
Windows
.
Forms
.
TextBox
txtBusyStatus
;
private
System
.
Windows
.
Forms
.
Button
button1
;
private
System
.
Windows
.
Forms
.
Label
label3
;
private
System
.
Windows
.
Forms
.
Label
label3
;
private
System
.
Windows
.
Forms
.
TextBox
txtAlarmStatus
;
private
System
.
Windows
.
Forms
.
TextBox
txtAlarmStatus
;
private
System
.
Windows
.
Forms
.
Button
btnGetAlarm
;
private
System
.
Windows
.
Forms
.
Button
btnGetAlarm
;
internal
System
.
Windows
.
Forms
.
Button
btnReadPosition
;
internal
System
.
Windows
.
Forms
.
Button
btnReadPosition
;
private
System
.
Windows
.
Forms
.
Label
lblServerOn
;
private
System
.
Windows
.
Forms
.
Label
lblServerOn
;
private
System
.
Windows
.
Forms
.
Label
label7
;
private
System
.
Windows
.
Forms
.
Label
label8
;
private
System
.
Windows
.
Forms
.
Label
label8
;
internal
System
.
Windows
.
Forms
.
Button
btnOpenAxis
;
internal
System
.
Windows
.
Forms
.
Button
btnOpenAxis
;
internal
System
.
Windows
.
Forms
.
Button
btnCloseAxis
;
internal
System
.
Windows
.
Forms
.
Button
btnCloseAxis
;
private
System
.
Windows
.
Forms
.
TextBox
lblCountPulse
;
private
System
.
Windows
.
Forms
.
TextBox
lblCountPulse
;
internal
System
.
Windows
.
Forms
.
TextBox
txtASpeed
;
internal
System
.
Windows
.
Forms
.
TextBox
txtASpeed
;
private
System
.
Windows
.
Forms
.
TextBox
lblOutPulse
;
internal
System
.
Windows
.
Forms
.
Label
label47
;
internal
System
.
Windows
.
Forms
.
Label
label47
;
internal
System
.
Windows
.
Forms
.
Button
btnAxisVMove
;
internal
System
.
Windows
.
Forms
.
Button
btnAxisVMove
;
internal
System
.
Windows
.
Forms
.
Button
btnAxisRMove
;
internal
System
.
Windows
.
Forms
.
Button
btnAxisRMove
;
...
@@ -726,12 +602,11 @@
...
@@ -726,12 +602,11 @@
private
System
.
Windows
.
Forms
.
Label
label46
;
private
System
.
Windows
.
Forms
.
Label
label46
;
private
System
.
Windows
.
Forms
.
Label
label49
;
private
System
.
Windows
.
Forms
.
Label
label49
;
private
System
.
Windows
.
Forms
.
Label
label24
;
private
System
.
Windows
.
Forms
.
Label
label24
;
private
System
.
Windows
.
Forms
.
Label
label26
;
private
System
.
Windows
.
Forms
.
Button
btnReadLimit2
;
private
System
.
Windows
.
Forms
.
TextBox
txtLimit2
;
private
System
.
Windows
.
Forms
.
TextBox
txtLimit2
;
private
System
.
Windows
.
Forms
.
Label
label22
;
private
System
.
Windows
.
Forms
.
Label
label22
;
private
System
.
Windows
.
Forms
.
Label
label23
;
private
System
.
Windows
.
Forms
.
Button
btnReadLimit1
;
private
System
.
Windows
.
Forms
.
TextBox
txtLimit1
;
private
System
.
Windows
.
Forms
.
TextBox
txtLimit1
;
private
System
.
Windows
.
Forms
.
Panel
panel1
;
private
System
.
Windows
.
Forms
.
Label
label5
;
private
System
.
Windows
.
Forms
.
TextBox
txtServoStatue
;
}
}
}
}
source/AssemblyLineClient/useControl/AxisMoveControl.cs
查看文件 @
aff1717
...
@@ -111,32 +111,19 @@ namespace OnlineStore.AssemblyLine
...
@@ -111,32 +111,19 @@ namespace OnlineStore.AssemblyLine
}
}
private
void
btnGetAlarm_Click
(
object
sender
,
EventArgs
e
)
private
void
btnGetAlarm_Click
(
object
sender
,
EventArgs
e
)
{
{
int
value
=
ACServerManager
.
GetAlarmStatus
(
PortName
,
SlvAddr
);
this
.
txtAlarmStatus
.
Text
=
ACServerManager
.
GetAlarmStatus
(
PortName
,
SlvAddr
).
ToString
();
this
.
txtAlarmStatus
.
Text
=
value
.
ToString
();
this
.
txtBusyStatus
.
Text
=
ACServerManager
.
GetBusyStatus
(
PortName
,
SlvAddr
).
ToString
();
}
this
.
txtHomeStatus
.
Text
=
ACServerManager
.
GetHomeEndStatus
(
PortName
,
SlvAddr
).
ToString
();
this
.
txtHomeSingle
.
Text
=
ACServerManager
.
GetHomeSingle
(
PortName
,
SlvAddr
).
ToString
();
private
void
button1_Click
(
object
sender
,
EventArgs
e
)
this
.
txtLimit1
.
Text
=
ACServerManager
.
GetLimitPositiveSingle
(
PortName
,
SlvAddr
).
ToString
();
{
this
.
txtLimit2
.
Text
=
ACServerManager
.
GetLimitNegativeSingle
(
PortName
,
SlvAddr
).
ToString
();
int
value
=
ACServerManager
.
GetBusyStatus
(
PortName
,
SlvAddr
);
txtServoStatue
.
Text
=
ACServerManager
.
ServerOnStatus
(
PortName
,
SlvAddr
)
?
"✔"
:
"✘"
;
this
.
txtBusyStatus
.
Text
=
value
.
ToString
();
}
private
void
button2_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetHomeEndStatus
(
PortName
,
SlvAddr
);
this
.
txtHomeStatus
.
Text
=
value
.
ToString
();
}
private
void
btnReadHomeSingle_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetHomeSingle
(
PortName
,
SlvAddr
);
this
.
txtHomeSingle
.
Text
=
value
.
ToString
();
}
}
private
void
btnReadPosition_Click
(
object
sender
,
EventArgs
e
)
private
void
btnReadPosition_Click
(
object
sender
,
EventArgs
e
)
{
{
lblOutPulse
.
Text
=
ACServerManager
.
GetTargetPosition
(
PortName
,
SlvAddr
).
ToString
();
lblCountPulse
.
Text
=
ACServerManager
.
GetActualtPosition
(
PortName
,
SlvAddr
).
ToString
();
lblCountPulse
.
Text
=
ACServerManager
.
GetActualtPosition
(
PortName
,
SlvAddr
).
ToString
();
}
}
...
@@ -154,16 +141,6 @@ namespace OnlineStore.AssemblyLine
...
@@ -154,16 +141,6 @@ namespace OnlineStore.AssemblyLine
}
}
}
}
private
void
btnReadLimit1_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetLimitPositiveSingle
(
PortName
,
SlvAddr
);
this
.
txtLimit1
.
Text
=
value
.
ToString
();
}
private
void
btnReadLimit2_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetLimitNegativeSingle
(
PortName
,
SlvAddr
);
this
.
txtLimit2
.
Text
=
value
.
ToString
();
}
}
}
}
}
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论