Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit c7a1d128
由
几米阳光
编写于
2018-05-28 15:49:09 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1.界面调整。2.入库时先定位气缸下降。
1 个父辈
c63e8bb9
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
152 行增加
和
252 行删除
source/ACSingleStore/FrmAxisDebug.Designer.cs
source/ACSingleStore/FrmStoreBox.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
source/ACSingleStore/FrmAxisDebug.Designer.cs
查看文件 @
c7a1d12
...
...
@@ -223,7 +223,7 @@
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
7
3
7
,
318
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
7
0
7
,
318
);
this
.
Controls
.
Add
(
this
.
label6
);
this
.
Controls
.
Add
(
this
.
label5
);
this
.
Controls
.
Add
(
this
.
txtInOutPosition
);
...
...
source/ACSingleStore/FrmStoreBox.Designer.cs
查看文件 @
c7a1d12
...
...
@@ -66,9 +66,9 @@
this
.
label49
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
richTextBox1
=
new
System
.
Windows
.
Forms
.
RichTextBox
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
axis_1_Alarm
=
new
UserFromControl
.
IOStatusControl
();
this
.
axis_3_Alarm
=
new
UserFromControl
.
IOStatusControl
();
this
.
axis_2_Alarm
=
new
UserFromControl
.
IOStatusControl
();
this
.
axis_1_Alarm
=
new
UserFromControl
.
IOStatusControl
();
this
.
label38
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtMiddleTarget
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInoutTarget
=
new
System
.
Windows
.
Forms
.
TextBox
();
...
...
@@ -149,14 +149,6 @@
this
.
开启
DEBUGToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
清理日志
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
lblThisSta
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
btnStart
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
chb3
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chb2
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chb1
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
txtPosition3
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtPosition2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtPosition1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox6
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
btnOpenWCF
=
new
System
.
Windows
.
Forms
.
Button
();
...
...
@@ -165,7 +157,6 @@
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox2
.
SuspendLayout
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
this
.
groupBox6
.
SuspendLayout
();
this
.
SuspendLayout
();
...
...
@@ -181,7 +172,7 @@
this
.
lblWarnMsg
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblWarnMsg
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
44
);
this
.
lblWarnMsg
.
Name
=
"lblWarnMsg"
;
this
.
lblWarnMsg
.
Size
=
new
System
.
Drawing
.
Size
(
620
,
40
);
this
.
lblWarnMsg
.
Size
=
new
System
.
Drawing
.
Size
(
462
,
40
);
this
.
lblWarnMsg
.
TabIndex
=
224
;
this
.
lblWarnMsg
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
...
...
@@ -227,9 +218,9 @@
this
.
groupBox5
.
Controls
.
Add
(
this
.
cmbAxisList
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
label49
);
this
.
groupBox5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
603
,
121
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
507
,
121
);
this
.
groupBox5
.
Name
=
"groupBox5"
;
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
642
,
318
);
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
495
,
326
);
this
.
groupBox5
.
TabIndex
=
216
;
this
.
groupBox5
.
TabStop
=
false
;
this
.
groupBox5
.
Text
=
"伺服运动"
;
...
...
@@ -348,10 +339,10 @@
this
.
btnReadPosition
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
4
58
,
161
);
this
.
btnReadPosition
.
Location
=
new
System
.
Drawing
.
Point
(
4
01
,
162
);
this
.
btnReadPosition
.
Name
=
"btnReadPosition"
;
this
.
btnReadPosition
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnReadPosition
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnReadPosition
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnReadPosition
.
TabIndex
=
278
;
this
.
btnReadPosition
.
Text
=
"读取位置"
;
this
.
btnReadPosition
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -393,10 +384,10 @@
this
.
btnOpenAxis
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
4
58
,
15
);
this
.
btnOpenAxis
.
Location
=
new
System
.
Drawing
.
Point
(
4
01
,
16
);
this
.
btnOpenAxis
.
Name
=
"btnOpenAxis"
;
this
.
btnOpenAxis
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnOpenAxis
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnOpenAxis
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnOpenAxis
.
TabIndex
=
253
;
this
.
btnOpenAxis
.
Text
=
"打开伺服"
;
this
.
btnOpenAxis
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -408,10 +399,10 @@
this
.
btnCloseAxis
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
4
58
,
48
);
this
.
btnCloseAxis
.
Location
=
new
System
.
Drawing
.
Point
(
4
01
,
49
);
this
.
btnCloseAxis
.
Name
=
"btnCloseAxis"
;
this
.
btnCloseAxis
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnCloseAxis
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnCloseAxis
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnCloseAxis
.
TabIndex
=
252
;
this
.
btnCloseAxis
.
Text
=
"关闭伺服"
;
this
.
btnCloseAxis
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -419,7 +410,7 @@
//
// lblCountPulse
//
this
.
lblCountPulse
.
Location
=
new
System
.
Drawing
.
Point
(
95
,
128
);
this
.
lblCountPulse
.
Location
=
new
System
.
Drawing
.
Point
(
88
,
128
);
this
.
lblCountPulse
.
Name
=
"lblCountPulse"
;
this
.
lblCountPulse
.
ReadOnly
=
true
;
this
.
lblCountPulse
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
23
);
...
...
@@ -432,17 +423,17 @@
this
.
txtASpeed
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtASpeed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtASpeed
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtASpeed
.
Location
=
new
System
.
Drawing
.
Point
(
2
4
4
,
79
);
this
.
txtASpeed
.
Location
=
new
System
.
Drawing
.
Point
(
2
3
4
,
79
);
this
.
txtASpeed
.
MaxLength
=
12
;
this
.
txtASpeed
.
Name
=
"txtASpeed"
;
this
.
txtASpeed
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtASpeed
.
Size
=
new
System
.
Drawing
.
Size
(
86
,
23
);
this
.
txtASpeed
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
23
);
this
.
txtASpeed
.
TabIndex
=
251
;
this
.
txtASpeed
.
Text
=
"30"
;
//
// lblOutPulse
//
this
.
lblOutPulse
.
Location
=
new
System
.
Drawing
.
Point
(
95
,
97
);
this
.
lblOutPulse
.
Location
=
new
System
.
Drawing
.
Point
(
88
,
97
);
this
.
lblOutPulse
.
Name
=
"lblOutPulse"
;
this
.
lblOutPulse
.
ReadOnly
=
true
;
this
.
lblOutPulse
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
23
);
...
...
@@ -453,7 +444,7 @@
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
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
label47
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
9
,
80
);
this
.
label47
.
Location
=
new
System
.
Drawing
.
Point
(
1
7
9
,
80
);
this
.
label47
.
Name
=
"label47"
;
this
.
label47
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
label47
.
Size
=
new
System
.
Drawing
.
Size
(
53
,
20
);
...
...
@@ -467,10 +458,10 @@
this
.
btnAxisVMove
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
3
47
,
48
);
this
.
btnAxisVMove
.
Location
=
new
System
.
Drawing
.
Point
(
3
12
,
49
);
this
.
btnAxisVMove
.
Name
=
"btnAxisVMove"
;
this
.
btnAxisVMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisVMove
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnAxisVMove
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnAxisVMove
.
TabIndex
=
249
;
this
.
btnAxisVMove
.
Text
=
"匀速运动"
;
this
.
btnAxisVMove
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -482,10 +473,10 @@
this
.
btnAxisRMove
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
3
47
,
81
);
this
.
btnAxisRMove
.
Location
=
new
System
.
Drawing
.
Point
(
3
12
,
82
);
this
.
btnAxisRMove
.
Name
=
"btnAxisRMove"
;
this
.
btnAxisRMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisRMove
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnAxisRMove
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnAxisRMove
.
TabIndex
=
248
;
this
.
btnAxisRMove
.
Text
=
"相对运动"
;
this
.
btnAxisRMove
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -497,10 +488,10 @@
this
.
btnAxisReturnHome
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
4
58
,
114
);
this
.
btnAxisReturnHome
.
Location
=
new
System
.
Drawing
.
Point
(
4
01
,
115
);
this
.
btnAxisReturnHome
.
Name
=
"btnAxisReturnHome"
;
this
.
btnAxisReturnHome
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisReturnHome
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnAxisReturnHome
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnAxisReturnHome
.
TabIndex
=
247
;
this
.
btnAxisReturnHome
.
Text
=
"原点返回"
;
this
.
btnAxisReturnHome
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -512,10 +503,10 @@
this
.
btnAxisAMove
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
3
47
,
15
);
this
.
btnAxisAMove
.
Location
=
new
System
.
Drawing
.
Point
(
3
12
,
16
);
this
.
btnAxisAMove
.
Name
=
"btnAxisAMove"
;
this
.
btnAxisAMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisAMove
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnAxisAMove
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnAxisAMove
.
TabIndex
=
245
;
this
.
btnAxisAMove
.
Text
=
"绝对运动"
;
this
.
btnAxisAMove
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -527,10 +518,10 @@
this
.
Bt_ClearCounter
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
Bt_ClearCounter
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
Bt_ClearCounter
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
Bt_ClearCounter
.
Location
=
new
System
.
Drawing
.
Point
(
3
47
,
114
);
this
.
Bt_ClearCounter
.
Location
=
new
System
.
Drawing
.
Point
(
3
12
,
115
);
this
.
Bt_ClearCounter
.
Name
=
"Bt_ClearCounter"
;
this
.
Bt_ClearCounter
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
Bt_ClearCounter
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
Bt_ClearCounter
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
Bt_ClearCounter
.
TabIndex
=
170
;
this
.
Bt_ClearCounter
.
Text
=
"重置位置"
;
this
.
Bt_ClearCounter
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -538,7 +529,7 @@
//
// btnComAlarmClear
//
this
.
btnComAlarmClear
.
Location
=
new
System
.
Drawing
.
Point
(
2
25
,
114
);
this
.
btnComAlarmClear
.
Location
=
new
System
.
Drawing
.
Point
(
2
03
,
114
);
this
.
btnComAlarmClear
.
Name
=
"btnComAlarmClear"
;
this
.
btnComAlarmClear
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnComAlarmClear
.
TabIndex
=
50
;
...
...
@@ -552,11 +543,11 @@
this
.
txtAPosition
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtAPosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtAPosition
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtAPosition
.
Location
=
new
System
.
Drawing
.
Point
(
2
4
4
,
47
);
this
.
txtAPosition
.
Location
=
new
System
.
Drawing
.
Point
(
2
3
4
,
47
);
this
.
txtAPosition
.
MaxLength
=
12
;
this
.
txtAPosition
.
Name
=
"txtAPosition"
;
this
.
txtAPosition
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtAPosition
.
Size
=
new
System
.
Drawing
.
Size
(
86
,
23
);
this
.
txtAPosition
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
23
);
this
.
txtAPosition
.
TabIndex
=
244
;
this
.
txtAPosition
.
Text
=
"30"
;
//
...
...
@@ -565,7 +556,7 @@
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
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
label48
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
9
,
50
);
this
.
label48
.
Location
=
new
System
.
Drawing
.
Point
(
1
7
9
,
50
);
this
.
label48
.
Name
=
"label48"
;
this
.
label48
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
label48
.
Size
=
new
System
.
Drawing
.
Size
(
53
,
20
);
...
...
@@ -579,10 +570,10 @@
this
.
btnAxisStop
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
4
58
,
81
);
this
.
btnAxisStop
.
Location
=
new
System
.
Drawing
.
Point
(
4
01
,
82
);
this
.
btnAxisStop
.
Name
=
"btnAxisStop"
;
this
.
btnAxisStop
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisStop
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnAxisStop
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnAxisStop
.
TabIndex
=
246
;
this
.
btnAxisStop
.
Text
=
" 停止运动"
;
this
.
btnAxisStop
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -591,7 +582,7 @@
// txtAxisValue
//
this
.
txtAxisValue
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtAxisValue
.
Location
=
new
System
.
Drawing
.
Point
(
95
,
71
);
this
.
txtAxisValue
.
Location
=
new
System
.
Drawing
.
Point
(
88
,
71
);
this
.
txtAxisValue
.
MaxLength
=
10
;
this
.
txtAxisValue
.
Name
=
"txtAxisValue"
;
this
.
txtAxisValue
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
21
);
...
...
@@ -601,7 +592,7 @@
// txtAxisDeviceName
//
this
.
txtAxisDeviceName
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtAxisDeviceName
.
Location
=
new
System
.
Drawing
.
Point
(
95
,
45
);
this
.
txtAxisDeviceName
.
Location
=
new
System
.
Drawing
.
Point
(
88
,
45
);
this
.
txtAxisDeviceName
.
MaxLength
=
10
;
this
.
txtAxisDeviceName
.
Name
=
"txtAxisDeviceName"
;
this
.
txtAxisDeviceName
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
21
);
...
...
@@ -639,9 +630,9 @@
this
.
cmbAxisList
.
DropDownStyle
=
System
.
Windows
.
Forms
.
ComboBoxStyle
.
DropDownList
;
this
.
cmbAxisList
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
cmbAxisList
.
FormattingEnabled
=
true
;
this
.
cmbAxisList
.
Location
=
new
System
.
Drawing
.
Point
(
95
,
18
);
this
.
cmbAxisList
.
Location
=
new
System
.
Drawing
.
Point
(
88
,
18
);
this
.
cmbAxisList
.
Name
=
"cmbAxisList"
;
this
.
cmbAxisList
.
Size
=
new
System
.
Drawing
.
Size
(
2
34
,
22
);
this
.
cmbAxisList
.
Size
=
new
System
.
Drawing
.
Size
(
2
20
,
22
);
this
.
cmbAxisList
.
TabIndex
=
234
;
this
.
cmbAxisList
.
ValueMember
=
"ProName"
;
this
.
cmbAxisList
.
DrawItem
+=
new
System
.
Windows
.
Forms
.
DrawItemEventHandler
(
this
.
cmbAxisList_DrawItem
);
...
...
@@ -664,9 +655,9 @@
this
.
richTextBox1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
richTextBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
richTextBox1
.
Location
=
new
System
.
Drawing
.
Point
(
22
,
465
);
this
.
richTextBox1
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
465
);
this
.
richTextBox1
.
Name
=
"richTextBox1"
;
this
.
richTextBox1
.
Size
=
new
System
.
Drawing
.
Size
(
568
,
246
);
this
.
richTextBox1
.
Size
=
new
System
.
Drawing
.
Size
(
496
,
254
);
this
.
richTextBox1
.
TabIndex
=
256
;
this
.
richTextBox1
.
Text
=
""
;
//
...
...
@@ -674,9 +665,9 @@
//
this
.
groupBox1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox1
.
Controls
.
Add
(
this
.
axis_1_Alarm
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
axis_3_Alarm
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
axis_2_Alarm
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
axis_1_Alarm
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label38
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtMiddleTarget
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtInoutTarget
);
...
...
@@ -694,13 +685,23 @@
this
.
groupBox1
.
Controls
.
Add
(
this
.
label43
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label42
);
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
(
603
,
445
);
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
507
,
451
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
4
33
,
193
);
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
4
95
,
193
);
this
.
groupBox1
.
TabIndex
=
217
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"伺服状态"
;
//
// axis_1_Alarm
//
this
.
axis_1_Alarm
.
IOName
=
""
;
this
.
axis_1_Alarm
.
IOValue
=
0
;
this
.
axis_1_Alarm
.
isCanClick
=
false
;
this
.
axis_1_Alarm
.
Location
=
new
System
.
Drawing
.
Point
(
127
,
49
);
this
.
axis_1_Alarm
.
Name
=
"axis_1_Alarm"
;
this
.
axis_1_Alarm
.
Size
=
new
System
.
Drawing
.
Size
(
43
,
39
);
this
.
axis_1_Alarm
.
TabIndex
=
264
;
//
// axis_3_Alarm
//
this
.
axis_3_Alarm
.
IOName
=
""
;
...
...
@@ -721,16 +722,6 @@
this
.
axis_2_Alarm
.
Size
=
new
System
.
Drawing
.
Size
(
43
,
39
);
this
.
axis_2_Alarm
.
TabIndex
=
265
;
//
// axis_1_Alarm
//
this
.
axis_1_Alarm
.
IOName
=
""
;
this
.
axis_1_Alarm
.
IOValue
=
0
;
this
.
axis_1_Alarm
.
isCanClick
=
false
;
this
.
axis_1_Alarm
.
Location
=
new
System
.
Drawing
.
Point
(
127
,
49
);
this
.
axis_1_Alarm
.
Name
=
"axis_1_Alarm"
;
this
.
axis_1_Alarm
.
Size
=
new
System
.
Drawing
.
Size
(
43
,
39
);
this
.
axis_1_Alarm
.
TabIndex
=
264
;
//
// label38
//
this
.
label38
.
AutoSize
=
true
;
...
...
@@ -917,9 +908,9 @@
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnUpDownP6
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnUpDownP3
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnUpDownP4
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
22
,
28
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
28
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
568
,
432
);
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
496
,
432
);
this
.
groupBox2
.
TabIndex
=
100
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
Text
=
"料仓操作"
;
...
...
@@ -927,7 +918,7 @@
// btnClearLog
//
this
.
btnClearLog
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnClearLog
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
390
);
this
.
btnClearLog
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
390
);
this
.
btnClearLog
.
Name
=
"btnClearLog"
;
this
.
btnClearLog
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
28
);
this
.
btnClearLog
.
TabIndex
=
224
;
...
...
@@ -940,7 +931,7 @@
this
.
lblMsg
.
AutoSize
=
true
;
this
.
lblMsg
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMsg
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
lblMsg
.
Location
=
new
System
.
Drawing
.
Point
(
2
85
,
67
);
this
.
lblMsg
.
Location
=
new
System
.
Drawing
.
Point
(
2
69
,
67
);
this
.
lblMsg
.
Name
=
"lblMsg"
;
this
.
lblMsg
.
Size
=
new
System
.
Drawing
.
Size
(
135
,
20
);
this
.
lblMsg
.
TabIndex
=
223
;
...
...
@@ -949,7 +940,7 @@
// btnSavePosition
//
this
.
btnSavePosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnSavePosition
.
Location
=
new
System
.
Drawing
.
Point
(
415
,
387
);
this
.
btnSavePosition
.
Location
=
new
System
.
Drawing
.
Point
(
342
,
389
);
this
.
btnSavePosition
.
Name
=
"btnSavePosition"
;
this
.
btnSavePosition
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
30
);
this
.
btnSavePosition
.
TabIndex
=
217
;
...
...
@@ -960,7 +951,7 @@
// btnStartAuTo
//
this
.
btnStartAuTo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStartAuTo
.
Location
=
new
System
.
Drawing
.
Point
(
1
74
,
60
);
this
.
btnStartAuTo
.
Location
=
new
System
.
Drawing
.
Point
(
1
58
,
60
);
this
.
btnStartAuTo
.
Name
=
"btnStartAuTo"
;
this
.
btnStartAuTo
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
30
);
this
.
btnStartAuTo
.
TabIndex
=
222
;
...
...
@@ -972,7 +963,7 @@
//
this
.
label9
.
AutoSize
=
true
;
this
.
label9
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label9
.
Location
=
new
System
.
Drawing
.
Point
(
28
,
70
);
this
.
label9
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
70
);
this
.
label9
.
Name
=
"label9"
;
this
.
label9
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label9
.
TabIndex
=
220
;
...
...
@@ -980,7 +971,7 @@
//
// txtJiange
//
this
.
txtJiange
.
Location
=
new
System
.
Drawing
.
Point
(
1
23
,
65
);
this
.
txtJiange
.
Location
=
new
System
.
Drawing
.
Point
(
1
07
,
65
);
this
.
txtJiange
.
Name
=
"txtJiange"
;
this
.
txtJiange
.
Size
=
new
System
.
Drawing
.
Size
(
37
,
23
);
this
.
txtJiange
.
TabIndex
=
221
;
...
...
@@ -993,7 +984,7 @@
this
.
txtComP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtComP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtComP1
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtComP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
67
,
355
);
this
.
txtComP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
53
,
355
);
this
.
txtComP1
.
MaxLength
=
0
;
this
.
txtComP1
.
Name
=
"txtComP1"
;
this
.
txtComP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1008,7 +999,7 @@
this
.
txtInOutP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP2
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
1
67
,
320
);
this
.
txtInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
1
53
,
320
);
this
.
txtInOutP2
.
MaxLength
=
0
;
this
.
txtInOutP2
.
Name
=
"txtInOutP2"
;
this
.
txtInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1023,7 +1014,7 @@
this
.
txtInOutP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP1
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
67
,
285
);
this
.
txtInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
53
,
285
);
this
.
txtInOutP1
.
MaxLength
=
0
;
this
.
txtInOutP1
.
Name
=
"txtInOutP1"
;
this
.
txtInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1038,7 +1029,7 @@
this
.
txtMiddleP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtMiddleP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtMiddleP1
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtMiddleP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
67
,
250
);
this
.
txtMiddleP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
53
,
250
);
this
.
txtMiddleP1
.
MaxLength
=
0
;
this
.
txtMiddleP1
.
Name
=
"txtMiddleP1"
;
this
.
txtMiddleP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1053,7 +1044,7 @@
this
.
txtUpDownP7
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtUpDownP7
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtUpDownP7
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtUpDownP7
.
Location
=
new
System
.
Drawing
.
Point
(
1
67
,
180
);
this
.
txtUpDownP7
.
Location
=
new
System
.
Drawing
.
Point
(
1
53
,
180
);
this
.
txtUpDownP7
.
MaxLength
=
0
;
this
.
txtUpDownP7
.
Name
=
"txtUpDownP7"
;
this
.
txtUpDownP7
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1068,7 +1059,7 @@
this
.
txtUpDownP8
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtUpDownP8
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtUpDownP8
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtUpDownP8
.
Location
=
new
System
.
Drawing
.
Point
(
1
67
,
215
);
this
.
txtUpDownP8
.
Location
=
new
System
.
Drawing
.
Point
(
1
53
,
215
);
this
.
txtUpDownP8
.
MaxLength
=
0
;
this
.
txtUpDownP8
.
Name
=
"txtUpDownP8"
;
this
.
txtUpDownP8
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1083,7 +1074,7 @@
this
.
txtUpDownP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtUpDownP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtUpDownP1
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtUpDownP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
67
,
110
);
this
.
txtUpDownP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
53
,
110
);
this
.
txtUpDownP1
.
MaxLength
=
0
;
this
.
txtUpDownP1
.
Name
=
"txtUpDownP1"
;
this
.
txtUpDownP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1098,7 +1089,7 @@
this
.
txtUpDownP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtUpDownP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtUpDownP2
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtUpDownP2
.
Location
=
new
System
.
Drawing
.
Point
(
1
67
,
145
);
this
.
txtUpDownP2
.
Location
=
new
System
.
Drawing
.
Point
(
1
53
,
145
);
this
.
txtUpDownP2
.
MaxLength
=
0
;
this
.
txtUpDownP2
.
Name
=
"txtUpDownP2"
;
this
.
txtUpDownP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1113,7 +1104,7 @@
this
.
txtComP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtComP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtComP3
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtComP3
.
Location
=
new
System
.
Drawing
.
Point
(
431
,
355
);
this
.
txtComP3
.
Location
=
new
System
.
Drawing
.
Point
(
395
,
355
);
this
.
txtComP3
.
MaxLength
=
0
;
this
.
txtComP3
.
Name
=
"txtComP3"
;
this
.
txtComP3
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1128,7 +1119,7 @@
this
.
txtComP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtComP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtComP2
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtComP2
.
Location
=
new
System
.
Drawing
.
Point
(
431
,
320
);
this
.
txtComP2
.
Location
=
new
System
.
Drawing
.
Point
(
395
,
320
);
this
.
txtComP2
.
MaxLength
=
0
;
this
.
txtComP2
.
Name
=
"txtComP2"
;
this
.
txtComP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1143,7 +1134,7 @@
this
.
txtInOutP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtInOutP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInOutP3
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtInOutP3
.
Location
=
new
System
.
Drawing
.
Point
(
431
,
285
);
this
.
txtInOutP3
.
Location
=
new
System
.
Drawing
.
Point
(
395
,
285
);
this
.
txtInOutP3
.
MaxLength
=
0
;
this
.
txtInOutP3
.
Name
=
"txtInOutP3"
;
this
.
txtInOutP3
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1158,7 +1149,7 @@
this
.
txtMiddleP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtMiddleP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtMiddleP2
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtMiddleP2
.
Location
=
new
System
.
Drawing
.
Point
(
431
,
250
);
this
.
txtMiddleP2
.
Location
=
new
System
.
Drawing
.
Point
(
395
,
250
);
this
.
txtMiddleP2
.
MaxLength
=
0
;
this
.
txtMiddleP2
.
Name
=
"txtMiddleP2"
;
this
.
txtMiddleP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1173,7 +1164,7 @@
this
.
txtUpDownP5
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtUpDownP5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtUpDownP5
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtUpDownP5
.
Location
=
new
System
.
Drawing
.
Point
(
431
,
180
);
this
.
txtUpDownP5
.
Location
=
new
System
.
Drawing
.
Point
(
395
,
180
);
this
.
txtUpDownP5
.
MaxLength
=
0
;
this
.
txtUpDownP5
.
Name
=
"txtUpDownP5"
;
this
.
txtUpDownP5
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1188,7 +1179,7 @@
this
.
txtUpDownP6
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtUpDownP6
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtUpDownP6
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtUpDownP6
.
Location
=
new
System
.
Drawing
.
Point
(
431
,
215
);
this
.
txtUpDownP6
.
Location
=
new
System
.
Drawing
.
Point
(
395
,
215
);
this
.
txtUpDownP6
.
MaxLength
=
0
;
this
.
txtUpDownP6
.
Name
=
"txtUpDownP6"
;
this
.
txtUpDownP6
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1204,7 +1195,7 @@
this
.
cmbPosition
.
Items
.
AddRange
(
new
object
[]
{
"料仓0"
,
"料仓1"
});
this
.
cmbPosition
.
Location
=
new
System
.
Drawing
.
Point
(
107
,
22
);
this
.
cmbPosition
.
Location
=
new
System
.
Drawing
.
Point
(
76
,
22
);
this
.
cmbPosition
.
Name
=
"cmbPosition"
;
this
.
cmbPosition
.
Size
=
new
System
.
Drawing
.
Size
(
189
,
25
);
this
.
cmbPosition
.
TabIndex
=
174
;
...
...
@@ -1216,7 +1207,7 @@
this
.
label21
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
label21
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label21
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
label21
.
Location
=
new
System
.
Drawing
.
Point
(
27
,
27
);
this
.
label21
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
27
);
this
.
label21
.
Name
=
"label21"
;
this
.
label21
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
label21
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
...
...
@@ -1231,7 +1222,7 @@
this
.
txtUpDownP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtUpDownP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtUpDownP3
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtUpDownP3
.
Location
=
new
System
.
Drawing
.
Point
(
431
,
110
);
this
.
txtUpDownP3
.
Location
=
new
System
.
Drawing
.
Point
(
395
,
110
);
this
.
txtUpDownP3
.
MaxLength
=
0
;
this
.
txtUpDownP3
.
Name
=
"txtUpDownP3"
;
this
.
txtUpDownP3
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1242,7 +1233,7 @@
// btnInStore
//
this
.
btnInStore
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInStore
.
Location
=
new
System
.
Drawing
.
Point
(
315
,
19
);
this
.
btnInStore
.
Location
=
new
System
.
Drawing
.
Point
(
271
,
19
);
this
.
btnInStore
.
Name
=
"btnInStore"
;
this
.
btnInStore
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnInStore
.
TabIndex
=
102
;
...
...
@@ -1253,7 +1244,7 @@
// btnOutStore
//
this
.
btnOutStore
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOutStore
.
Location
=
new
System
.
Drawing
.
Point
(
423
,
19
);
this
.
btnOutStore
.
Location
=
new
System
.
Drawing
.
Point
(
379
,
19
);
this
.
btnOutStore
.
Name
=
"btnOutStore"
;
this
.
btnOutStore
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnOutStore
.
TabIndex
=
101
;
...
...
@@ -1268,7 +1259,7 @@
this
.
txtUpDownP4
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
IBeam
;
this
.
txtUpDownP4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtUpDownP4
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
WindowText
;
this
.
txtUpDownP4
.
Location
=
new
System
.
Drawing
.
Point
(
431
,
145
);
this
.
txtUpDownP4
.
Location
=
new
System
.
Drawing
.
Point
(
395
,
145
);
this
.
txtUpDownP4
.
MaxLength
=
0
;
this
.
txtUpDownP4
.
Name
=
"txtUpDownP4"
;
this
.
txtUpDownP4
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
...
...
@@ -1284,7 +1275,7 @@
this
.
btnComP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnComP1
.
ForeColor
=
System
.
Drawing
.
Color
.
Purple
;
this
.
btnComP1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnComP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
353
);
this
.
btnComP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
353
);
this
.
btnComP1
.
Name
=
"btnComP1"
;
this
.
btnComP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnComP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1302,7 +1293,7 @@
this
.
btnInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP2
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP2
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
318
);
this
.
btnInOutP2
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
318
);
this
.
btnInOutP2
.
Name
=
"btnInOutP2"
;
this
.
btnInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1320,7 +1311,7 @@
this
.
btnInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP1
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
283
);
this
.
btnInOutP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
283
);
this
.
btnInOutP1
.
Name
=
"btnInOutP1"
;
this
.
btnInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1338,7 +1329,7 @@
this
.
btnMiddleP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnMiddleP1
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
0
)))),
((
int
)(((
byte
)(
0
)))),
((
int
)(((
byte
)(
192
)))));
this
.
btnMiddleP1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnMiddleP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
248
);
this
.
btnMiddleP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
248
);
this
.
btnMiddleP1
.
Name
=
"btnMiddleP1"
;
this
.
btnMiddleP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnMiddleP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1356,7 +1347,7 @@
this
.
btnUpDownP7
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP7
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
btnUpDownP7
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP7
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
178
);
this
.
btnUpDownP7
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
178
);
this
.
btnUpDownP7
.
Name
=
"btnUpDownP7"
;
this
.
btnUpDownP7
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP7
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1374,7 +1365,7 @@
this
.
btnUpDownP8
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP8
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
btnUpDownP8
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP8
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
213
);
this
.
btnUpDownP8
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
213
);
this
.
btnUpDownP8
.
Name
=
"btnUpDownP8"
;
this
.
btnUpDownP8
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP8
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1392,7 +1383,7 @@
this
.
btnUpDownP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP1
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
btnUpDownP1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
108
);
this
.
btnUpDownP1
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
108
);
this
.
btnUpDownP1
.
Name
=
"btnUpDownP1"
;
this
.
btnUpDownP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1410,7 +1401,7 @@
this
.
btnUpDownP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP2
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
btnUpDownP2
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP2
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
143
);
this
.
btnUpDownP2
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
143
);
this
.
btnUpDownP2
.
Name
=
"btnUpDownP2"
;
this
.
btnUpDownP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1427,7 +1418,7 @@
this
.
btnComP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnComP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnComP3
.
ForeColor
=
System
.
Drawing
.
Color
.
Purple
;
this
.
btnComP3
.
Location
=
new
System
.
Drawing
.
Point
(
2
80
,
353
);
this
.
btnComP3
.
Location
=
new
System
.
Drawing
.
Point
(
2
51
,
353
);
this
.
btnComP3
.
Name
=
"btnComP3"
;
this
.
btnComP3
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnComP3
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1444,7 +1435,7 @@
this
.
btnComP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnComP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnComP2
.
ForeColor
=
System
.
Drawing
.
Color
.
Purple
;
this
.
btnComP2
.
Location
=
new
System
.
Drawing
.
Point
(
2
80
,
318
);
this
.
btnComP2
.
Location
=
new
System
.
Drawing
.
Point
(
2
51
,
318
);
this
.
btnComP2
.
Name
=
"btnComP2"
;
this
.
btnComP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnComP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1461,7 +1452,7 @@
this
.
btnInOutP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnInOutP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP3
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
btnInOutP3
.
Location
=
new
System
.
Drawing
.
Point
(
2
80
,
283
);
this
.
btnInOutP3
.
Location
=
new
System
.
Drawing
.
Point
(
2
51
,
283
);
this
.
btnInOutP3
.
Name
=
"btnInOutP3"
;
this
.
btnInOutP3
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP3
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1478,7 +1469,7 @@
this
.
btnMiddleP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnMiddleP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnMiddleP2
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
0
)))),
((
int
)(((
byte
)(
0
)))),
((
int
)(((
byte
)(
192
)))));
this
.
btnMiddleP2
.
Location
=
new
System
.
Drawing
.
Point
(
2
80
,
248
);
this
.
btnMiddleP2
.
Location
=
new
System
.
Drawing
.
Point
(
2
51
,
248
);
this
.
btnMiddleP2
.
Name
=
"btnMiddleP2"
;
this
.
btnMiddleP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnMiddleP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1495,7 +1486,7 @@
this
.
btnUpDownP5
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP5
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
btnUpDownP5
.
Location
=
new
System
.
Drawing
.
Point
(
2
80
,
178
);
this
.
btnUpDownP5
.
Location
=
new
System
.
Drawing
.
Point
(
2
51
,
178
);
this
.
btnUpDownP5
.
Name
=
"btnUpDownP5"
;
this
.
btnUpDownP5
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP5
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1512,7 +1503,7 @@
this
.
btnUpDownP6
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP6
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP6
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
btnUpDownP6
.
Location
=
new
System
.
Drawing
.
Point
(
2
80
,
213
);
this
.
btnUpDownP6
.
Location
=
new
System
.
Drawing
.
Point
(
2
51
,
213
);
this
.
btnUpDownP6
.
Name
=
"btnUpDownP6"
;
this
.
btnUpDownP6
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP6
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1529,7 +1520,7 @@
this
.
btnUpDownP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP3
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
btnUpDownP3
.
Location
=
new
System
.
Drawing
.
Point
(
2
80
,
108
);
this
.
btnUpDownP3
.
Location
=
new
System
.
Drawing
.
Point
(
2
51
,
108
);
this
.
btnUpDownP3
.
Name
=
"btnUpDownP3"
;
this
.
btnUpDownP3
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP3
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1546,7 +1537,7 @@
this
.
btnUpDownP4
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP4
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
btnUpDownP4
.
Location
=
new
System
.
Drawing
.
Point
(
2
80
,
143
);
this
.
btnUpDownP4
.
Location
=
new
System
.
Drawing
.
Point
(
2
51
,
143
);
this
.
btnUpDownP4
.
Name
=
"btnUpDownP4"
;
this
.
btnUpDownP4
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP4
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
27
);
...
...
@@ -1566,7 +1557,7 @@
this
.
日志
ToolStripMenuItem
});
this
.
menuStrip1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
menuStrip1
.
Name
=
"menuStrip1"
;
this
.
menuStrip1
.
Size
=
new
System
.
Drawing
.
Size
(
1
26
8
,
25
);
this
.
menuStrip1
.
Size
=
new
System
.
Drawing
.
Size
(
1
00
8
,
25
);
this
.
menuStrip1
.
TabIndex
=
257
;
this
.
menuStrip1
.
Text
=
"menuStrip1"
;
//
...
...
@@ -1729,95 +1720,15 @@
this
.
lblThisSta
.
TabIndex
=
216
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
//
// groupBox4
//
this
.
groupBox4
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox4
.
Controls
.
Add
(
this
.
btnStart
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
chb3
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
chb2
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
chb1
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
txtPosition3
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
txtPosition2
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
txtPosition1
);
this
.
groupBox4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
1042
,
445
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
203
,
193
);
this
.
groupBox4
.
TabIndex
=
267
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"移动测试"
;
this
.
groupBox4
.
Visible
=
false
;
//
// btnStart
//
this
.
btnStart
.
Location
=
new
System
.
Drawing
.
Point
(
37
,
144
);
this
.
btnStart
.
Name
=
"btnStart"
;
this
.
btnStart
.
Size
=
new
System
.
Drawing
.
Size
(
118
,
36
);
this
.
btnStart
.
TabIndex
=
272
;
this
.
btnStart
.
Text
=
"开始运动"
;
this
.
btnStart
.
UseVisualStyleBackColor
=
true
;
this
.
btnStart
.
Click
+=
new
System
.
EventHandler
(
this
.
btnStart_Click
);
//
// chb3
//
this
.
chb3
.
AutoSize
=
true
;
this
.
chb3
.
Location
=
new
System
.
Drawing
.
Point
(
21
,
104
);
this
.
chb3
.
Name
=
"chb3"
;
this
.
chb3
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
21
);
this
.
chb3
.
TabIndex
=
271
;
this
.
chb3
.
Text
=
"轴三位置"
;
this
.
chb3
.
UseVisualStyleBackColor
=
true
;
//
// chb2
//
this
.
chb2
.
AutoSize
=
true
;
this
.
chb2
.
Location
=
new
System
.
Drawing
.
Point
(
21
,
68
);
this
.
chb2
.
Name
=
"chb2"
;
this
.
chb2
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
21
);
this
.
chb2
.
TabIndex
=
270
;
this
.
chb2
.
Text
=
"轴二位置"
;
this
.
chb2
.
UseVisualStyleBackColor
=
true
;
//
// chb1
//
this
.
chb1
.
AutoSize
=
true
;
this
.
chb1
.
Location
=
new
System
.
Drawing
.
Point
(
21
,
32
);
this
.
chb1
.
Name
=
"chb1"
;
this
.
chb1
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
21
);
this
.
chb1
.
TabIndex
=
269
;
this
.
chb1
.
Text
=
"轴一位置"
;
this
.
chb1
.
UseVisualStyleBackColor
=
true
;
//
// txtPosition3
//
this
.
txtPosition3
.
Location
=
new
System
.
Drawing
.
Point
(
109
,
99
);
this
.
txtPosition3
.
Name
=
"txtPosition3"
;
this
.
txtPosition3
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
23
);
this
.
txtPosition3
.
TabIndex
=
268
;
//
// txtPosition2
//
this
.
txtPosition2
.
Location
=
new
System
.
Drawing
.
Point
(
109
,
64
);
this
.
txtPosition2
.
Name
=
"txtPosition2"
;
this
.
txtPosition2
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
23
);
this
.
txtPosition2
.
TabIndex
=
266
;
//
// txtPosition1
//
this
.
txtPosition1
.
Location
=
new
System
.
Drawing
.
Point
(
109
,
27
);
this
.
txtPosition1
.
Name
=
"txtPosition1"
;
this
.
txtPosition1
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
23
);
this
.
txtPosition1
.
TabIndex
=
265
;
//
// groupBox3
//
this
.
groupBox3
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox3
.
Controls
.
Add
(
this
.
lblWarnMsg
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
lblThisSta
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
603
,
28
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
507
,
28
);
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
642
,
90
);
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
495
,
90
);
this
.
groupBox3
.
TabIndex
=
268
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
Text
=
"设备状态"
;
...
...
@@ -1828,9 +1739,9 @@
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox6
.
Controls
.
Add
(
this
.
btnOpenWCF
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
btnCloseWCF
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
603
,
645
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
507
,
648
);
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
642
,
66
);
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
497
,
66
);
this
.
groupBox6
.
TabIndex
=
269
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
Text
=
"WCF测试"
;
...
...
@@ -1861,13 +1772,12 @@
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
96F
,
96F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Dpi
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1268
,
730
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1008
,
726
);
this
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
Controls
.
Add
(
this
.
groupBox6
);
this
.
Controls
.
Add
(
this
.
groupBox3
);
this
.
Controls
.
Add
(
this
.
groupBox4
);
this
.
Controls
.
Add
(
this
.
groupBox5
);
this
.
Controls
.
Add
(
this
.
richTextBox1
);
this
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
Controls
.
Add
(
this
.
groupBox2
);
this
.
Controls
.
Add
(
this
.
menuStrip1
);
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
...
...
@@ -1886,8 +1796,6 @@
this
.
groupBox2
.
PerformLayout
();
this
.
menuStrip1
.
ResumeLayout
(
false
);
this
.
menuStrip1
.
PerformLayout
();
this
.
groupBox4
.
ResumeLayout
(
false
);
this
.
groupBox4
.
PerformLayout
();
this
.
groupBox3
.
ResumeLayout
(
false
);
this
.
groupBox3
.
PerformLayout
();
this
.
groupBox6
.
ResumeLayout
(
false
);
...
...
@@ -2009,14 +1917,6 @@
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
打开舱门
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
关闭仓门
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
回待机点
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
GroupBox
groupBox4
;
private
System
.
Windows
.
Forms
.
CheckBox
chb3
;
private
System
.
Windows
.
Forms
.
CheckBox
chb2
;
private
System
.
Windows
.
Forms
.
CheckBox
chb1
;
private
System
.
Windows
.
Forms
.
TextBox
txtPosition3
;
private
System
.
Windows
.
Forms
.
TextBox
txtPosition2
;
private
System
.
Windows
.
Forms
.
TextBox
txtPosition1
;
private
System
.
Windows
.
Forms
.
Button
btnStart
;
private
System
.
Windows
.
Forms
.
Label
lblServerOn
;
public
System
.
Windows
.
Forms
.
Button
btnReadPosition
;
private
System
.
Windows
.
Forms
.
Label
label16
;
...
...
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
c7a1d12
...
...
@@ -1026,56 +1026,56 @@ namespace OnlineStore.ACSingleStore
public
List
<
WaitResultInfo
>
waitResultList
=
new
List
<
WaitResultInfo
>();
private
void
btnStart_Click
(
object
sender
,
EventArgs
e
)
{
waitResultList
=
new
List
<
WaitResultInfo
>();
string
deviceName
=
""
;
short
slvAddr
=
0
;
int
position
=
0
;
if
(
chb1
.
Checked
)
{
position
=
FormUtil
.
GetIntValue
(
txtPosition1
);
deviceName
=
store
.
Config
.
Middle_Axis
.
DeviceName
;
slvAddr
=
store
.
Config
.
Middle_Axis
.
GetAxisValue
();
if
(
ACServerManager
.
ServerOnStatus
(
deviceName
,
slvAddr
))
{
ACServerManager
.
AbsMove
(
deviceName
,
slvAddr
,
position
);
waitResultList
.
Add
(
WaitResultInfo
.
WaitAxis
(
store
.
Config
.
Middle_Axis
,
position
,
store
.
Config
.
Middle_Axis
.
TargetSpeed
));
}
}
if
(
chb2
.
Checked
)
{
position
=
FormUtil
.
GetIntValue
(
txtPosition2
);
deviceName
=
store
.
Config
.
UpDown_Axis
.
DeviceName
;
slvAddr
=
store
.
Config
.
UpDown_Axis
.
GetAxisValue
();
if
(
ACServerManager
.
ServerOnStatus
(
deviceName
,
slvAddr
))
{
ACServerManager
.
AbsMove
(
deviceName
,
slvAddr
,
position
);
waitResultList
.
Add
(
WaitResultInfo
.
WaitAxis
(
store
.
Config
.
UpDown_Axis
,
position
,
store
.
Config
.
UpDown_Axis
.
TargetSpeed
));
}
}
if
(
chb3
.
Checked
)
{
position
=
FormUtil
.
GetIntValue
(
txtPosition3
);
deviceName
=
store
.
Config
.
InOut_Axis
.
DeviceName
;
slvAddr
=
store
.
Config
.
InOut_Axis
.
GetAxisValue
();
if
(
ACServerManager
.
ServerOnStatus
(
deviceName
,
slvAddr
))
{
ACServerManager
.
AbsMove
(
deviceName
,
slvAddr
,
position
);
waitResultList
.
Add
(
WaitResultInfo
.
WaitAxis
(
store
.
Config
.
UpDown_Axis
,
position
,
store
.
Config
.
UpDown_Axis
.
TargetSpeed
));
}
}
if
(
waitResultList
.
Count
>
0
)
{
LOGGER
.
Info
(
"运动开始"
);
// MessageBox.Show("运动开始!");
}
else
{
MessageBox
.
Show
(
"未选择运动轴或伺服未打开"
);
}
//
private void btnStart_Click(object sender, EventArgs e)
//
{
//
waitResultList = new List<WaitResultInfo>();
//
string deviceName = "";
//
short slvAddr = 0;
//
int position=0;
//
if (chb1.Checked)
//
{
//
position=FormUtil.GetIntValue(txtPosition1);
//
deviceName = store.Config.Middle_Axis.DeviceName;
//
slvAddr = store.Config.Middle_Axis.GetAxisValue();
//
if (ACServerManager.ServerOnStatus(deviceName, slvAddr))
//
{
//
ACServerManager.AbsMove(deviceName, slvAddr, position);
//
waitResultList.Add(WaitResultInfo.WaitAxis(store.Config.Middle_Axis,position,store.Config.Middle_Axis.TargetSpeed));
//
}
//
}
//
if (chb2.Checked)
//
{
//
position = FormUtil.GetIntValue(txtPosition2);
//
deviceName = store.Config.UpDown_Axis.DeviceName;
//
slvAddr = store.Config.UpDown_Axis.GetAxisValue();
//
if (ACServerManager.ServerOnStatus(deviceName, slvAddr))
//
{
//
ACServerManager.AbsMove(deviceName, slvAddr, position);
//
waitResultList.Add(WaitResultInfo.WaitAxis(store.Config.UpDown_Axis, position, store.Config.UpDown_Axis.TargetSpeed));
//
}
//
}
//
if (chb3.Checked)
//
{
//
position = FormUtil.GetIntValue(txtPosition3);
//
deviceName = store.Config.InOut_Axis.DeviceName;
//
slvAddr = store.Config.InOut_Axis.GetAxisValue();
//
if (ACServerManager.ServerOnStatus(deviceName, slvAddr))
//
{
//
ACServerManager.AbsMove(deviceName, slvAddr, position);
//
waitResultList.Add(WaitResultInfo.WaitAxis(store.Config.UpDown_Axis, position, store.Config.UpDown_Axis.TargetSpeed));
//
}
//
}
//
if (waitResultList.Count > 0)
//
{
//
LOGGER.Info("运动开始");
//
// MessageBox.Show("运动开始!");
//
}
//
else
//
{
//
MessageBox.Show("未选择运动轴或伺服未打开");
//
}
}
//
}
private
int
GetSlaveAddr
()
{
...
...
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
查看文件 @
c7a1d12
...
...
@@ -268,7 +268,7 @@ namespace OnlineStore.DeviceLibrary
{
InStoreLog
(
"入库:SI_01 定位气缸下降"
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_01_LocationCylinderDown
);
Location
Up
AndWait
();
Location
Down
AndWait
();
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论