Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit a23c24a7
由
LN
编写于
2019-11-13 15:18:23 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
68e56f25
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
597 行增加
和
744 行删除
source/ACSingleStore/ACSingleStore.csproj
source/ACSingleStore/FrmStoreBox.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/ACSingleStore/FrmStoreBox.resx
source/ACSingleStore/ServoAxisInfo.Designer.cs
source/ACSingleStore/ServoAxisInfo.cs
source/ACSingleStore/ServoAxisInfo.resx
source/ACSingleStore/ACSingleStore.csproj
查看文件 @
a23c24a
...
...
@@ -112,6 +112,12 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ServoAxisInfo.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="ServoAxisInfo.Designer.cs">
<DependentUpon>ServoAxisInfo.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="FrmAxisDebug.resx">
<DependentUpon>FrmAxisDebug.cs</DependentUpon>
</EmbeddedResource>
...
...
@@ -146,6 +152,9 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="ServoAxisInfo.resx">
<DependentUpon>ServoAxisInfo.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
...
...
source/ACSingleStore/FrmStoreBox.Designer.cs
查看文件 @
a23c24a
...
...
@@ -27,38 +27,33 @@
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
lblWarnMsg
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
groupAxis
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
label6
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label5
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnReadHomeSingle
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtServoStatue
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label17
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtLimit2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label19
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtLimit1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label6
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtHomeSingle
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
chbAutoRead
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
label16
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label15
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label14
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label11
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtHomeStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
button2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label10
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtBusyStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
button1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label2
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtAlarmStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
btnGetAlarm
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnReadPosition
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
lblServerOn
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label7
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label8
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnOpenAxis
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnCloseAxis
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
lblCountPulse
=
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
.
btnAxisVMove
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnAxisRMove
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnAxisReturnHome
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnAxisAMove
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
Bt_ClearCounter
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnComAlarmClear
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtAPosition
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label48
=
new
System
.
Windows
.
Forms
.
Label
();
...
...
@@ -134,39 +129,6 @@
this
.
btnUpDownP3
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnUpDownP4
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnClearLog
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
menuStrip1
=
new
System
.
Windows
.
Forms
.
MenuStrip
();
this
.
料仓操作
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
启动
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator1
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
停止
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator2
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
复位
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator3
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
回待机点
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator4
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
退出
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
iO
状态查看
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
查看
IOToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator5
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
料仓运转
ONToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator6
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
料仓运转
OFFToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator7
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
打开舱门
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator8
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
关闭仓门
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
设备调试
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
轴卡点动
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator9
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
扫码测试
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator10
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
学习二维码
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
配置信息
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
轴运动配置
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
日志
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
开启
DEBUGToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator12
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
清理日志
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
lblThisSta
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
lblMoveEquipInfo
=
new
System
.
Windows
.
Forms
.
Label
();
...
...
@@ -227,18 +189,9 @@
this
.
btnSetNum
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnClearL
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnLogDebug
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label17
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label18
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnReadLimit2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtLimit2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label19
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label20
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnReadLimit1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtLimit1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
groupAxis
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupInout
.
SuspendLayout
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
this
.
contextMenuStrip1
.
SuspendLayout
();
this
.
tabControl1
.
SuspendLayout
();
...
...
@@ -273,46 +226,33 @@
//
this
.
groupAxis
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupAxis
.
Controls
.
Add
(
this
.
label5
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtServoStatue
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label17
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label18
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnReadLimit2
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtLimit2
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label19
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label20
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnReadLimit1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtLimit1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label6
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label5
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnReadHomeSingle
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtHomeSingle
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
chbAutoRead
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label16
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label15
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label14
);
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
.
label2
);
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
.
label7
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label8
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnOpenAxis
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnCloseAxis
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
lblCountPulse
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtASpeed
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
lblOutPulse
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label47
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisVMove
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisRMove
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisReturnHome
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisAMove
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
Bt_ClearCounter
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnComAlarmClear
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtAPosition
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label48
);
...
...
@@ -327,162 +267,139 @@
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
(
6
,
6
);
this
.
groupAxis
.
Name
=
"groupAxis"
;
this
.
groupAxis
.
Size
=
new
System
.
Drawing
.
Size
(
543
,
419
);
this
.
groupAxis
.
Size
=
new
System
.
Drawing
.
Size
(
543
,
328
);
this
.
groupAxis
.
TabIndex
=
216
;
this
.
groupAxis
.
TabStop
=
false
;
this
.
groupAxis
.
Text
=
"伺服运动"
;
//
// label6
//
this
.
label6
.
AutoSize
=
true
;
this
.
label6
.
Location
=
new
System
.
Drawing
.
Point
(
47
,
306
);
this
.
label6
.
Name
=
"label6"
;
this
.
label6
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
label6
.
TabIndex
=
300
;
this
.
label6
.
Text
=
"原点信号:"
;
//
// label5
//
this
.
label5
.
AutoSize
=
true
;
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
155
,
306
);
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
48
,
170
);
this
.
label5
.
Name
=
"label5"
;
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
17
);
this
.
label5
.
TabIndex
=
299
;
this
.
label5
.
Text
=
"
1=ON,0=OFF
"
;
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label5
.
TabIndex
=
326
;
this
.
label5
.
Text
=
"
伺服状态:
"
;
//
//
btnReadHomeSingl
e
//
txtServoStatu
e
//
this
.
btnReadHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
278
,
298
);
this
.
btnReadHomeSingle
.
Name
=
"btnReadHomeSingle"
;
this
.
btnReadHomeSingle
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnReadHomeSingle
.
TabIndex
=
298
;
this
.
btnReadHomeSingle
.
Text
=
"读原点信号"
;
this
.
btnReadHomeSingle
.
UseVisualStyleBackColor
=
true
;
this
.
btnReadHomeSingle
.
Click
+=
new
System
.
EventHandler
(
this
.
btnReadHomeSingle_Click
);
this
.
txtServoStatue
.
Enabled
=
false
;
this
.
txtServoStatue
.
Location
=
new
System
.
Drawing
.
Point
(
113
,
167
);
this
.
txtServoStatue
.
Name
=
"txtServoStatue"
;
this
.
txtServoStatue
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtServoStatue
.
TabIndex
=
325
;
//
//
txtHomeSingle
//
label17
//
this
.
txtHomeSingle
.
Enabled
=
false
;
this
.
txtHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
121
,
303
);
this
.
txtHomeSingle
.
Name
=
"txtHomeSingle"
;
this
.
txtHomeSingle
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeSingle
.
TabIndex
=
297
;
this
.
label17
.
AutoSize
=
true
;
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
155
,
271
);
this
.
label17
.
Name
=
"label17"
;
this
.
label17
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label17
.
TabIndex
=
324
;
this
.
label17
.
Text
=
"负极限信号:"
;
this
.
label17
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
chbAutoRead
//
txtLimit2
//
this
.
chbAutoRead
.
AutoSize
=
true
;
this
.
chbAutoRead
.
Location
=
new
System
.
Drawing
.
Point
(
418
,
205
);
this
.
chbAutoRead
.
Name
=
"chbAutoRead"
;
this
.
chbAutoRead
.
Size
=
new
System
.
Drawing
.
Size
(
99
,
21
);
this
.
chbAutoRead
.
TabIndex
=
296
;
this
.
chbAutoRead
.
Text
=
"自动读取位置"
;
this
.
chbAutoRead
.
UseVisualStyleBackColor
=
true
;
this
.
txtLimit2
.
Enabled
=
false
;
this
.
txtLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
268
);
this
.
txtLimit2
.
Name
=
"txtLimit2"
;
this
.
txtLimit2
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit2
.
TabIndex
=
321
;
//
// label1
6
// label1
9
//
this
.
label16
.
AutoSize
=
true
;
this
.
label16
.
Location
=
new
System
.
Drawing
.
Point
(
155
,
272
);
this
.
label16
.
Name
=
"label16"
;
this
.
label16
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
17
);
this
.
label16
.
TabIndex
=
295
;
this
.
label16
.
Text
=
"1=完成,0=未完成"
;
this
.
label19
.
AutoSize
=
true
;
this
.
label19
.
Location
=
new
System
.
Drawing
.
Point
(
155
,
237
);
this
.
label19
.
Name
=
"label19"
;
this
.
label19
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label19
.
TabIndex
=
320
;
this
.
label19
.
Text
=
"正极限信号:"
;
this
.
label19
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
label15
//
txtLimit1
//
this
.
label15
.
AutoSize
=
true
;
this
.
label15
.
Location
=
new
System
.
Drawing
.
Point
(
155
,
238
);
this
.
label15
.
Name
=
"label15"
;
this
.
label15
.
Size
=
new
System
.
Drawing
.
Size
(
124
,
17
);
this
.
label15
.
TabIndex
=
294
;
this
.
label15
.
Text
=
"1=执行中,0=未执行"
;
this
.
txtLimit1
.
Enabled
=
false
;
this
.
txtLimit1
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
234
);
this
.
txtLimit1
.
Name
=
"txtLimit1"
;
this
.
txtLimit1
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit1
.
TabIndex
=
317
;
//
// label
14
// label
6
//
this
.
label14
.
AutoSize
=
true
;
this
.
label14
.
Location
=
new
System
.
Drawing
.
Point
(
155
,
204
);
this
.
label14
.
Name
=
"label14"
;
this
.
label14
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
17
);
this
.
label14
.
TabIndex
=
293
;
this
.
label14
.
Text
=
"1=报警,0=正常"
;
this
.
label6
.
AutoSize
=
true
;
this
.
label6
.
Location
=
new
System
.
Drawing
.
Point
(
167
,
203
);
this
.
label6
.
Name
=
"label6"
;
this
.
label6
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label6
.
TabIndex
=
300
;
this
.
label6
.
Text
=
"原点信号:"
;
//
// txtHomeSingle
//
this
.
txtHomeSingle
.
Enabled
=
false
;
this
.
txtHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
200
);
this
.
txtHomeSingle
.
Name
=
"txtHomeSingle"
;
this
.
txtHomeSingle
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeSingle
.
TabIndex
=
297
;
//
// label11
//
this
.
label11
.
AutoSize
=
true
;
this
.
label11
.
Location
=
new
System
.
Drawing
.
Point
(
1
,
272
);
this
.
label11
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
271
);
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
.
Text
=
"HOME-CMP状态
:
"
;
this
.
label11
.
Text
=
"HOME-CMP状态
:
"
;
//
// txtHomeStatus
//
this
.
txtHomeStatus
.
Enabled
=
false
;
this
.
txtHomeStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
21
,
269
);
this
.
txtHomeStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
13
,
268
);
this
.
txtHomeStatus
.
Name
=
"txtHomeStatus"
;
this
.
txtHomeStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeStatus
.
TabIndex
=
291
;
//
// button2
//
this
.
button2
.
Location
=
new
System
.
Drawing
.
Point
(
278
,
263
);
this
.
button2
.
Name
=
"button2"
;
this
.
button2
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
button2
.
TabIndex
=
290
;
this
.
button2
.
Text
=
"读HOME状态"
;
this
.
button2
.
UseVisualStyleBackColor
=
true
;
this
.
button2
.
Click
+=
new
System
.
EventHandler
(
this
.
button2_Click
);
//
// label10
//
this
.
label10
.
AutoSize
=
true
;
this
.
label10
.
Location
=
new
System
.
Drawing
.
Point
(
4
0
,
238
);
this
.
label10
.
Location
=
new
System
.
Drawing
.
Point
(
4
1
,
237
);
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
.
Text
=
"BUSY状态
:
"
;
this
.
label10
.
Text
=
"BUSY状态
:
"
;
//
// txtBusyStatus
//
this
.
txtBusyStatus
.
Enabled
=
false
;
this
.
txtBusyStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
21
,
235
);
this
.
txtBusyStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
13
,
234
);
this
.
txtBusyStatus
.
Name
=
"txtBusyStatus"
;
this
.
txtBusyStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtBusyStatus
.
TabIndex
=
288
;
//
// button1
//
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
278
,
228
);
this
.
button1
.
Name
=
"button1"
;
this
.
button1
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
button1
.
TabIndex
=
287
;
this
.
button1
.
Text
=
"读BUSY状态"
;
this
.
button1
.
UseVisualStyleBackColor
=
true
;
this
.
button1
.
Click
+=
new
System
.
EventHandler
(
this
.
button1_Click_1
);
//
// label2
//
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
4
7
,
204
);
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
4
8
,
203
);
this
.
label2
.
Name
=
"label2"
;
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label2
.
TabIndex
=
286
;
this
.
label2
.
Text
=
"报警状态
:
"
;
this
.
label2
.
Text
=
"报警状态
:
"
;
//
// txtAlarmStatus
//
this
.
txtAlarmStatus
.
Enabled
=
false
;
this
.
txtAlarmStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
21
,
201
);
this
.
txtAlarmStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
13
,
200
);
this
.
txtAlarmStatus
.
Name
=
"txtAlarmStatus"
;
this
.
txtAlarmStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtAlarmStatus
.
TabIndex
=
285
;
//
// btnGetAlarm
//
this
.
btnGetAlarm
.
Location
=
new
System
.
Drawing
.
Point
(
2
78
,
193
);
this
.
btnGetAlarm
.
Location
=
new
System
.
Drawing
.
Point
(
2
90
,
215
);
this
.
btnGetAlarm
.
Name
=
"btnGetAlarm"
;
this
.
btnGetAlarm
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnGetAlarm
.
TabIndex
=
284
;
this
.
btnGetAlarm
.
Text
=
"读
报警
状态"
;
this
.
btnGetAlarm
.
Text
=
"读
取伺服
状态"
;
this
.
btnGetAlarm
.
UseVisualStyleBackColor
=
true
;
this
.
btnGetAlarm
.
Click
+=
new
System
.
EventHandler
(
this
.
btnGetAlarm_Click
);
//
...
...
@@ -492,10 +409,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
18
,
298
);
this
.
btnReadPosition
.
Location
=
new
System
.
Drawing
.
Point
(
4
28
,
250
);
this
.
btnReadPosition
.
Name
=
"btnReadPosition"
;
this
.
btnReadPosition
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnReadPosition
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnReadPosition
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnReadPosition
.
TabIndex
=
278
;
this
.
btnReadPosition
.
Text
=
"读取位置"
;
this
.
btnReadPosition
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -506,30 +423,20 @@
this
.
lblServerOn
.
AutoSize
=
true
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
411
,
277
);
this
.
lblServerOn
.
Location
=
new
System
.
Drawing
.
Point
(
325
,
159
);
this
.
lblServerOn
.
Name
=
"lblServerOn"
;
this
.
lblServerOn
.
Size
=
new
System
.
Drawing
.
Size
(
0
,
19
);
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
(
7
,
131
);
this
.
label7
.
Name
=
"label7"
;
this
.
label7
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label7
.
TabIndex
=
254
;
this
.
label7
.
Text
=
"输出脉冲值:"
;
//
// label8
//
this
.
label8
.
AutoSize
=
true
;
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
(
7
,
163
);
this
.
label8
.
Location
=
new
System
.
Drawing
.
Point
(
167
,
167
);
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
.
Text
=
"
编码器计数:
"
;
this
.
label8
.
Text
=
"
实时位置:
"
;
//
// btnOpenAxis
//
...
...
@@ -540,7 +447,7 @@
this
.
btnOpenAxis
.
Location
=
new
System
.
Drawing
.
Point
(
319
,
25
);
this
.
btnOpenAxis
.
Name
=
"btnOpenAxis"
;
this
.
btnOpenAxis
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnOpenAxis
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnOpenAxis
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnOpenAxis
.
TabIndex
=
253
;
this
.
btnOpenAxis
.
Text
=
"打开伺服"
;
this
.
btnOpenAxis
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -552,10 +459,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
15
,
25
);
this
.
btnCloseAxis
.
Location
=
new
System
.
Drawing
.
Point
(
4
28
,
25
);
this
.
btnCloseAxis
.
Name
=
"btnCloseAxis"
;
this
.
btnCloseAxis
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnCloseAxis
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnCloseAxis
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnCloseAxis
.
TabIndex
=
252
;
this
.
btnCloseAxis
.
Text
=
"关闭伺服"
;
this
.
btnCloseAxis
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -563,7 +470,7 @@
//
// lblCountPulse
//
this
.
lblCountPulse
.
Location
=
new
System
.
Drawing
.
Point
(
88
,
158
);
this
.
lblCountPulse
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
164
);
this
.
lblCountPulse
.
Name
=
"lblCountPulse"
;
this
.
lblCountPulse
.
ReadOnly
=
true
;
this
.
lblCountPulse
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
23
);
...
...
@@ -576,33 +483,25 @@
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
34
,
109
);
this
.
txtASpeed
.
Location
=
new
System
.
Drawing
.
Point
(
2
22
,
114
);
this
.
txtASpeed
.
MaxLength
=
12
;
this
.
txtASpeed
.
Name
=
"txtASpeed"
;
this
.
txtASpeed
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtASpeed
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
23
);
this
.
txtASpeed
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
23
);
this
.
txtASpeed
.
TabIndex
=
251
;
this
.
txtASpeed
.
Text
=
"30"
;
//
// lblOutPulse
//
this
.
lblOutPulse
.
Location
=
new
System
.
Drawing
.
Point
(
88
,
129
);
this
.
lblOutPulse
.
Name
=
"lblOutPulse"
;
this
.
lblOutPulse
.
ReadOnly
=
true
;
this
.
lblOutPulse
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
23
);
this
.
lblOutPulse
.
TabIndex
=
30
;
//
// label47
//
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
79
,
110
);
this
.
label47
.
Location
=
new
System
.
Drawing
.
Point
(
1
67
,
115
);
this
.
label47
.
Name
=
"label47"
;
this
.
label47
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
label47
.
Size
=
new
System
.
Drawing
.
Size
(
53
,
20
);
this
.
label47
.
TabIndex
=
250
;
this
.
label47
.
Text
=
"速度
:
"
;
this
.
label47
.
Text
=
"速度
:
"
;
this
.
label47
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// btnAxisVMove
...
...
@@ -611,10 +510,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
(
319
,
10
6
);
this
.
btnAxisVMove
.
Location
=
new
System
.
Drawing
.
Point
(
319
,
10
9
);
this
.
btnAxisVMove
.
Name
=
"btnAxisVMove"
;
this
.
btnAxisVMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisVMove
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnAxisVMove
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnAxisVMove
.
TabIndex
=
249
;
this
.
btnAxisVMove
.
Text
=
"匀速运动"
;
this
.
btnAxisVMove
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -626,10 +525,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
(
4
15
,
67
);
this
.
btnAxisRMove
.
Location
=
new
System
.
Drawing
.
Point
(
4
28
,
67
);
this
.
btnAxisRMove
.
Name
=
"btnAxisRMove"
;
this
.
btnAxisRMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisRMove
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnAxisRMove
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnAxisRMove
.
TabIndex
=
248
;
this
.
btnAxisRMove
.
Text
=
"相对运动"
;
this
.
btnAxisRMove
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -641,10 +540,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
15
,
146
);
this
.
btnAxisReturnHome
.
Location
=
new
System
.
Drawing
.
Point
(
4
32
,
159
);
this
.
btnAxisReturnHome
.
Name
=
"btnAxisReturnHome"
;
this
.
btnAxisReturnHome
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisReturnHome
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnAxisReturnHome
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnAxisReturnHome
.
TabIndex
=
247
;
this
.
btnAxisReturnHome
.
Text
=
"原点返回"
;
this
.
btnAxisReturnHome
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -659,30 +558,15 @@
this
.
btnAxisAMove
.
Location
=
new
System
.
Drawing
.
Point
(
319
,
67
);
this
.
btnAxisAMove
.
Name
=
"btnAxisAMove"
;
this
.
btnAxisAMove
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisAMove
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnAxisAMove
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnAxisAMove
.
TabIndex
=
245
;
this
.
btnAxisAMove
.
Text
=
"绝对运动"
;
this
.
btnAxisAMove
.
UseVisualStyleBackColor
=
true
;
this
.
btnAxisAMove
.
Click
+=
new
System
.
EventHandler
(
this
.
btnAxisAMove_Click
);
//
// Bt_ClearCounter
//
this
.
Bt_ClearCounter
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
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
(
319
,
146
);
this
.
Bt_ClearCounter
.
Name
=
"Bt_ClearCounter"
;
this
.
Bt_ClearCounter
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
Bt_ClearCounter
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
Bt_ClearCounter
.
TabIndex
=
170
;
this
.
Bt_ClearCounter
.
Text
=
"重置位置"
;
this
.
Bt_ClearCounter
.
UseVisualStyleBackColor
=
true
;
this
.
Bt_ClearCounter
.
Click
+=
new
System
.
EventHandler
(
this
.
Bt_ClearCounter_Click
);
//
// btnComAlarmClear
//
this
.
btnComAlarmClear
.
Location
=
new
System
.
Drawing
.
Point
(
2
03
,
148
);
this
.
btnComAlarmClear
.
Location
=
new
System
.
Drawing
.
Point
(
2
90
,
254
);
this
.
btnComAlarmClear
.
Name
=
"btnComAlarmClear"
;
this
.
btnComAlarmClear
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnComAlarmClear
.
TabIndex
=
50
;
...
...
@@ -696,11 +580,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
34
,
71
);
this
.
txtAPosition
.
Location
=
new
System
.
Drawing
.
Point
(
2
22
,
72
);
this
.
txtAPosition
.
MaxLength
=
12
;
this
.
txtAPosition
.
Name
=
"txtAPosition"
;
this
.
txtAPosition
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
txtAPosition
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
23
);
this
.
txtAPosition
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
23
);
this
.
txtAPosition
.
TabIndex
=
244
;
this
.
txtAPosition
.
Text
=
"3000"
;
//
...
...
@@ -709,12 +593,12 @@
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
79
,
74
);
this
.
label48
.
Location
=
new
System
.
Drawing
.
Point
(
1
67
,
73
);
this
.
label48
.
Name
=
"label48"
;
this
.
label48
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
label48
.
Size
=
new
System
.
Drawing
.
Size
(
53
,
20
);
this
.
label48
.
TabIndex
=
243
;
this
.
label48
.
Text
=
"位置
:
"
;
this
.
label48
.
Text
=
"位置
:
"
;
this
.
label48
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// btnAxisStop
...
...
@@ -723,10 +607,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
15
,
106
);
this
.
btnAxisStop
.
Location
=
new
System
.
Drawing
.
Point
(
4
28
,
109
);
this
.
btnAxisStop
.
Name
=
"btnAxisStop"
;
this
.
btnAxisStop
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnAxisStop
.
Size
=
new
System
.
Drawing
.
Size
(
90
,
33
);
this
.
btnAxisStop
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnAxisStop
.
TabIndex
=
246
;
this
.
btnAxisStop
.
Text
=
" 停止运动"
;
this
.
btnAxisStop
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -735,22 +619,22 @@
// txtAxisValue
//
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
(
8
8
,
97
);
this
.
txtAxisValue
.
Location
=
new
System
.
Drawing
.
Point
(
8
6
,
112
);
this
.
txtAxisValue
.
MaxLength
=
10
;
this
.
txtAxisValue
.
Name
=
"txtAxisValue"
;
this
.
txtAxisValue
.
ReadOnly
=
true
;
this
.
txtAxisValue
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
26
);
this
.
txtAxisValue
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
26
);
this
.
txtAxisValue
.
TabIndex
=
242
;
this
.
txtAxisValue
.
Text
=
"0"
;
//
// txtAxisDeviceName
//
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
(
8
8
,
65
);
this
.
txtAxisDeviceName
.
Location
=
new
System
.
Drawing
.
Point
(
8
6
,
70
);
this
.
txtAxisDeviceName
.
MaxLength
=
10
;
this
.
txtAxisDeviceName
.
Name
=
"txtAxisDeviceName"
;
this
.
txtAxisDeviceName
.
ReadOnly
=
true
;
this
.
txtAxisDeviceName
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
26
);
this
.
txtAxisDeviceName
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
26
);
this
.
txtAxisDeviceName
.
TabIndex
=
241
;
this
.
txtAxisDeviceName
.
Text
=
"0"
;
//
...
...
@@ -759,11 +643,11 @@
this
.
label45
.
AutoSize
=
true
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
31
,
67
);
this
.
label45
.
Location
=
new
System
.
Drawing
.
Point
(
29
,
75
);
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
.
Text
=
"端口号
:
"
;
this
.
label45
.
Text
=
"端口号
:
"
;
this
.
label45
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// label46
...
...
@@ -771,11 +655,11 @@
this
.
label46
.
AutoSize
=
true
;
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
.
Location
=
new
System
.
Drawing
.
Point
(
4
3
,
99
);
this
.
label46
.
Location
=
new
System
.
Drawing
.
Point
(
4
1
,
117
);
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
.
Text
=
"地址
:
"
;
this
.
label46
.
Text
=
"地址
:
"
;
this
.
label46
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// cmbAxisList
...
...
@@ -801,9 +685,9 @@
this
.
label49
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label49
.
Location
=
new
System
.
Drawing
.
Point
(
27
,
32
);
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
.
Text
=
"AC伺服
:
"
;
this
.
label49
.
Text
=
"AC伺服
:
"
;
this
.
label49
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// richTextBox1
...
...
@@ -842,7 +726,7 @@
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
(
6
,
431
);
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
343
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
543
,
182
);
this
.
groupBox1
.
TabIndex
=
217
;
...
...
@@ -885,9 +769,9 @@
this
.
label38
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label38
.
Location
=
new
System
.
Drawing
.
Point
(
49
,
40
);
this
.
label38
.
Name
=
"label38"
;
this
.
label38
.
Size
=
new
System
.
Drawing
.
Size
(
46
,
17
);
this
.
label38
.
Size
=
new
System
.
Drawing
.
Size
(
37
,
17
);
this
.
label38
.
TabIndex
=
263
;
this
.
label38
.
Text
=
"ALM
:
"
;
this
.
label38
.
Text
=
"ALM
:
"
;
//
// txtMiddleTarget
//
...
...
@@ -919,9 +803,9 @@
this
.
label12
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label12
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
147
);
this
.
label12
.
Name
=
"label12"
;
this
.
label12
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label12
.
Size
=
new
System
.
Drawing
.
Size
(
83
,
17
);
this
.
label12
.
TabIndex
=
258
;
this
.
label12
.
Text
=
"出入库目标值
:
"
;
this
.
label12
.
Text
=
"出入库目标值
:
"
;
//
// lblCountPulse1
//
...
...
@@ -977,9 +861,9 @@
this
.
label4
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label4
.
Location
=
new
System
.
Drawing
.
Point
(
303
,
15
);
this
.
label4
.
Name
=
"label4"
;
this
.
label4
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label4
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label4
.
TabIndex
=
100
;
this
.
label4
.
Text
=
"轴三
:
进出轴"
;
this
.
label4
.
Text
=
"轴三
:
进出轴"
;
//
// label3
//
...
...
@@ -987,9 +871,9 @@
this
.
label3
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
204
,
15
);
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label3
.
TabIndex
=
99
;
this
.
label3
.
Text
=
"轴二
:
上下轴"
;
this
.
label3
.
Text
=
"轴二
:
上下轴"
;
//
// label1
//
...
...
@@ -997,9 +881,9 @@
this
.
label1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
106
,
15
);
this
.
label1
.
Name
=
"label1"
;
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label1
.
TabIndex
=
97
;
this
.
label1
.
Text
=
"轴一
:
旋转轴"
;
this
.
label1
.
Text
=
"轴一
:
旋转轴"
;
//
// label43
//
...
...
@@ -1007,9 +891,9 @@
this
.
label43
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label43
.
Location
=
new
System
.
Drawing
.
Point
(
15
,
90
);
this
.
label43
.
Name
=
"label43"
;
this
.
label43
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label43
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label43
.
TabIndex
=
23
;
this
.
label43
.
Text
=
"输出脉冲值
:
"
;
this
.
label43
.
Text
=
"输出脉冲值
:
"
;
//
// label42
//
...
...
@@ -1017,9 +901,9 @@
this
.
label42
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label42
.
Location
=
new
System
.
Drawing
.
Point
(
15
,
117
);
this
.
label42
.
Name
=
"label42"
;
this
.
label42
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label42
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label42
.
TabIndex
=
24
;
this
.
label42
.
Text
=
"编码器计数
:
"
;
this
.
label42
.
Text
=
"编码器计数
:
"
;
//
// groupInout
//
...
...
@@ -1123,9 +1007,9 @@
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
(
12
,
87
);
this
.
label9
.
Name
=
"label9"
;
this
.
label9
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label9
.
Size
=
new
System
.
Drawing
.
Size
(
83
,
17
);
this
.
label9
.
TabIndex
=
220
;
this
.
label9
.
Text
=
"入库间隔仓位
:
"
;
this
.
label9
.
Text
=
"入库间隔仓位
:
"
;
//
// txtJiange
//
...
...
@@ -1365,9 +1249,9 @@
this
.
label21
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
37
);
this
.
label21
.
Name
=
"label21"
;
this
.
label21
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
label21
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
label21
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label21
.
TabIndex
=
172
;
this
.
label21
.
Text
=
"选择仓位
:
"
;
this
.
label21
.
Text
=
"选择仓位
:
"
;
this
.
label21
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// txtUpDownP3
...
...
@@ -1435,7 +1319,7 @@
this
.
btnComP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnComP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnComP1
.
TabIndex
=
213
;
this
.
btnComP1
.
Text
=
"压紧轴待机点P1
:
"
;
this
.
btnComP1
.
Text
=
"压紧轴待机点P1
:
"
;
this
.
btnComP1
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnComP1
.
UseVisualStyleBackColor
=
true
;
this
.
btnComP1
.
Click
+=
new
System
.
EventHandler
(
this
.
btnComP1_Click
);
...
...
@@ -1453,7 +1337,7 @@
this
.
btnInOutP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnInOutP2
.
TabIndex
=
211
;
this
.
btnInOutP2
.
Text
=
"进出轴取料点P2
:
"
;
this
.
btnInOutP2
.
Text
=
"进出轴取料点P2
:
"
;
this
.
btnInOutP2
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP2
.
UseVisualStyleBackColor
=
true
;
this
.
btnInOutP2
.
Click
+=
new
System
.
EventHandler
(
this
.
btnInOutP2_Click
);
...
...
@@ -1471,7 +1355,7 @@
this
.
btnInOutP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnInOutP1
.
TabIndex
=
209
;
this
.
btnInOutP1
.
Text
=
"进出轴待机点P1
:
"
;
this
.
btnInOutP1
.
Text
=
"进出轴待机点P1
:
"
;
this
.
btnInOutP1
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP1
.
UseVisualStyleBackColor
=
true
;
this
.
btnInOutP1
.
Click
+=
new
System
.
EventHandler
(
this
.
btnInOutP1_Click
);
...
...
@@ -1489,7 +1373,7 @@
this
.
btnMiddleP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnMiddleP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnMiddleP1
.
TabIndex
=
207
;
this
.
btnMiddleP1
.
Text
=
"旋转轴待机点P1
:
"
;
this
.
btnMiddleP1
.
Text
=
"旋转轴待机点P1
:
"
;
this
.
btnMiddleP1
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnMiddleP1
.
UseVisualStyleBackColor
=
true
;
this
.
btnMiddleP1
.
Click
+=
new
System
.
EventHandler
(
this
.
btnMiddleP1_Click
);
...
...
@@ -1507,7 +1391,7 @@
this
.
btnUpDownP7
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP7
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnUpDownP7
.
TabIndex
=
203
;
this
.
btnUpDownP7
.
Text
=
"升降轴入料缓冲点P7
:
"
;
this
.
btnUpDownP7
.
Text
=
"升降轴入料缓冲点P7
:
"
;
this
.
btnUpDownP7
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP7
.
UseVisualStyleBackColor
=
true
;
this
.
btnUpDownP7
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownP7_Click
);
...
...
@@ -1525,7 +1409,7 @@
this
.
btnUpDownP8
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP8
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnUpDownP8
.
TabIndex
=
205
;
this
.
btnUpDownP8
.
Text
=
"升降轴出料缓冲点P8
:
"
;
this
.
btnUpDownP8
.
Text
=
"升降轴出料缓冲点P8
:
"
;
this
.
btnUpDownP8
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP8
.
UseVisualStyleBackColor
=
true
;
this
.
btnUpDownP8
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownP8_Click
);
...
...
@@ -1543,7 +1427,7 @@
this
.
btnUpDownP1
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP1
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnUpDownP1
.
TabIndex
=
199
;
this
.
btnUpDownP1
.
Text
=
"升降轴入料点P1
:
"
;
this
.
btnUpDownP1
.
Text
=
"升降轴入料点P1
:
"
;
this
.
btnUpDownP1
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP1
.
UseVisualStyleBackColor
=
true
;
this
.
btnUpDownP1
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownP1_Click
);
...
...
@@ -1561,7 +1445,7 @@
this
.
btnUpDownP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnUpDownP2
.
TabIndex
=
201
;
this
.
btnUpDownP2
.
Text
=
"升降轴出料前点P2
:
"
;
this
.
btnUpDownP2
.
Text
=
"升降轴出料前点P2
:
"
;
this
.
btnUpDownP2
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP2
.
UseVisualStyleBackColor
=
true
;
this
.
btnUpDownP2
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownP2_Click
);
...
...
@@ -1578,7 +1462,7 @@
this
.
btnComP3
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnComP3
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnComP3
.
TabIndex
=
197
;
this
.
btnComP3
.
Text
=
"压紧轴压紧前点P3
:
"
;
this
.
btnComP3
.
Text
=
"压紧轴压紧前点P3
:
"
;
this
.
btnComP3
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnComP3
.
UseVisualStyleBackColor
=
true
;
this
.
btnComP3
.
Click
+=
new
System
.
EventHandler
(
this
.
btnComP3_Click
);
...
...
@@ -1595,7 +1479,7 @@
this
.
btnComP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnComP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnComP2
.
TabIndex
=
195
;
this
.
btnComP2
.
Text
=
"压紧轴压紧点P2
:
"
;
this
.
btnComP2
.
Text
=
"压紧轴压紧点P2
:
"
;
this
.
btnComP2
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnComP2
.
UseVisualStyleBackColor
=
true
;
this
.
btnComP2
.
Click
+=
new
System
.
EventHandler
(
this
.
btnComP2_Click
);
...
...
@@ -1612,7 +1496,7 @@
this
.
btnInOutP3
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnInOutP3
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnInOutP3
.
TabIndex
=
193
;
this
.
btnInOutP3
.
Text
=
"进出轴取料点P3
:
"
;
this
.
btnInOutP3
.
Text
=
"进出轴取料点P3
:
"
;
this
.
btnInOutP3
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnInOutP3
.
UseVisualStyleBackColor
=
true
;
this
.
btnInOutP3
.
Click
+=
new
System
.
EventHandler
(
this
.
btnInOutP3_Click
);
...
...
@@ -1629,7 +1513,7 @@
this
.
btnMiddleP2
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnMiddleP2
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnMiddleP2
.
TabIndex
=
191
;
this
.
btnMiddleP2
.
Text
=
"旋转轴库位点P2
:
"
;
this
.
btnMiddleP2
.
Text
=
"旋转轴库位点P2
:
"
;
this
.
btnMiddleP2
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnMiddleP2
.
UseVisualStyleBackColor
=
true
;
this
.
btnMiddleP2
.
Click
+=
new
System
.
EventHandler
(
this
.
btnMiddleP2_Click
);
...
...
@@ -1646,7 +1530,7 @@
this
.
btnUpDownP5
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP5
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnUpDownP5
.
TabIndex
=
187
;
this
.
btnUpDownP5
.
Text
=
"升降轴出料前点P5
:
"
;
this
.
btnUpDownP5
.
Text
=
"升降轴出料前点P5
:
"
;
this
.
btnUpDownP5
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP5
.
UseVisualStyleBackColor
=
true
;
this
.
btnUpDownP5
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownP5_Click
);
...
...
@@ -1663,7 +1547,7 @@
this
.
btnUpDownP6
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP6
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnUpDownP6
.
TabIndex
=
189
;
this
.
btnUpDownP6
.
Text
=
"升降轴出料缓冲点P6
:
"
;
this
.
btnUpDownP6
.
Text
=
"升降轴出料缓冲点P6
:
"
;
this
.
btnUpDownP6
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP6
.
UseVisualStyleBackColor
=
true
;
this
.
btnUpDownP6
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownP6_Click
);
...
...
@@ -1680,7 +1564,7 @@
this
.
btnUpDownP3
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP3
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnUpDownP3
.
TabIndex
=
161
;
this
.
btnUpDownP3
.
Text
=
"升降轴入料前点P3
:
"
;
this
.
btnUpDownP3
.
Text
=
"升降轴入料前点P3
:
"
;
this
.
btnUpDownP3
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP3
.
UseVisualStyleBackColor
=
true
;
this
.
btnUpDownP3
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownP3_Click
);
...
...
@@ -1697,7 +1581,7 @@
this
.
btnUpDownP4
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
btnUpDownP4
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
33
);
this
.
btnUpDownP4
.
TabIndex
=
165
;
this
.
btnUpDownP4
.
Text
=
"升降轴入料缓冲点P4
:
"
;
this
.
btnUpDownP4
.
Text
=
"升降轴入料缓冲点P4
:
"
;
this
.
btnUpDownP4
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
btnUpDownP4
.
UseVisualStyleBackColor
=
true
;
this
.
btnUpDownP4
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownP4_Click
);
...
...
@@ -1714,251 +1598,6 @@
this
.
btnClearLog
.
UseVisualStyleBackColor
=
true
;
this
.
btnClearLog
.
Click
+=
new
System
.
EventHandler
(
this
.
btnClearLog_Click
);
//
// menuStrip1
//
this
.
menuStrip1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
14.25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
menuStrip1
.
Items
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
料仓操作
ToolStripMenuItem
,
this
.
iO
状态查看
ToolStripMenuItem
,
this
.
设备调试
ToolStripMenuItem
,
this
.
配置信息
ToolStripMenuItem
,
this
.
日志
ToolStripMenuItem
});
this
.
menuStrip1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
menuStrip1
.
Name
=
"menuStrip1"
;
this
.
menuStrip1
.
Size
=
new
System
.
Drawing
.
Size
(
1089
,
33
);
this
.
menuStrip1
.
TabIndex
=
257
;
this
.
menuStrip1
.
Text
=
"menuStrip1"
;
this
.
menuStrip1
.
Visible
=
false
;
//
// 料仓操作ToolStripMenuItem
//
this
.
料仓操作
ToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
启动
ToolStripMenuItem
,
this
.
toolStripSeparator1
,
this
.
停止
ToolStripMenuItem
,
this
.
toolStripSeparator2
,
this
.
复位
ToolStripMenuItem
,
this
.
toolStripSeparator3
,
this
.
回待机点
ToolStripMenuItem
,
this
.
toolStripSeparator4
,
this
.
退出
ToolStripMenuItem
});
this
.
料仓操作
ToolStripMenuItem
.
Name
=
"料仓操作ToolStripMenuItem"
;
this
.
料仓操作
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
29
);
this
.
料仓操作
ToolStripMenuItem
.
Text
=
"料仓操作"
;
//
// 启动ToolStripMenuItem
//
this
.
启动
ToolStripMenuItem
.
Name
=
"启动ToolStripMenuItem"
;
this
.
启动
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
30
);
this
.
启动
ToolStripMenuItem
.
Text
=
"启动"
;
this
.
启动
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
启动
ToolStripMenuItem_Click
);
//
// toolStripSeparator1
//
this
.
toolStripSeparator1
.
Name
=
"toolStripSeparator1"
;
this
.
toolStripSeparator1
.
Size
=
new
System
.
Drawing
.
Size
(
157
,
6
);
//
// 停止ToolStripMenuItem
//
this
.
停止
ToolStripMenuItem
.
Name
=
"停止ToolStripMenuItem"
;
this
.
停止
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
30
);
this
.
停止
ToolStripMenuItem
.
Text
=
"停止"
;
this
.
停止
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
停止
ToolStripMenuItem_Click
);
//
// toolStripSeparator2
//
this
.
toolStripSeparator2
.
Name
=
"toolStripSeparator2"
;
this
.
toolStripSeparator2
.
Size
=
new
System
.
Drawing
.
Size
(
157
,
6
);
//
// 复位ToolStripMenuItem
//
this
.
复位
ToolStripMenuItem
.
Name
=
"复位ToolStripMenuItem"
;
this
.
复位
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
30
);
this
.
复位
ToolStripMenuItem
.
Text
=
"复位"
;
this
.
复位
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
复位
ToolStripMenuItem_Click
);
//
// toolStripSeparator3
//
this
.
toolStripSeparator3
.
Name
=
"toolStripSeparator3"
;
this
.
toolStripSeparator3
.
Size
=
new
System
.
Drawing
.
Size
(
157
,
6
);
//
// 回待机点ToolStripMenuItem
//
this
.
回待机点
ToolStripMenuItem
.
Name
=
"回待机点ToolStripMenuItem"
;
this
.
回待机点
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
30
);
this
.
回待机点
ToolStripMenuItem
.
Text
=
"回待机点"
;
this
.
回待机点
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
回待机点
ToolStripMenuItem_Click
);
//
// toolStripSeparator4
//
this
.
toolStripSeparator4
.
Name
=
"toolStripSeparator4"
;
this
.
toolStripSeparator4
.
Size
=
new
System
.
Drawing
.
Size
(
157
,
6
);
//
// 退出ToolStripMenuItem
//
this
.
退出
ToolStripMenuItem
.
Name
=
"退出ToolStripMenuItem"
;
this
.
退出
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
30
);
this
.
退出
ToolStripMenuItem
.
Text
=
"退出系统"
;
this
.
退出
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
退出
ToolStripMenuItem_Click
);
//
// iO状态查看ToolStripMenuItem
//
this
.
iO
状态查看
ToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
查看
IOToolStripMenuItem
,
this
.
toolStripSeparator5
,
this
.
料仓运转
ONToolStripMenuItem
,
this
.
toolStripSeparator6
,
this
.
料仓运转
OFFToolStripMenuItem
,
this
.
toolStripSeparator7
,
this
.
打开舱门
ToolStripMenuItem
,
this
.
toolStripSeparator8
,
this
.
关闭仓门
ToolStripMenuItem
});
this
.
iO
状态查看
ToolStripMenuItem
.
Name
=
"iO状态查看ToolStripMenuItem"
;
this
.
iO
状态查看
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
121
,
29
);
this
.
iO
状态查看
ToolStripMenuItem
.
Text
=
"IO状态查看"
;
//
// 查看IOToolStripMenuItem
//
this
.
查看
IOToolStripMenuItem
.
Name
=
"查看IOToolStripMenuItem"
;
this
.
查看
IOToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
195
,
30
);
this
.
查看
IOToolStripMenuItem
.
Text
=
"查看IO"
;
this
.
查看
IOToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
查看
IOToolStripMenuItem_Click
);
//
// toolStripSeparator5
//
this
.
toolStripSeparator5
.
Name
=
"toolStripSeparator5"
;
this
.
toolStripSeparator5
.
Size
=
new
System
.
Drawing
.
Size
(
192
,
6
);
//
// 料仓运转ONToolStripMenuItem
//
this
.
料仓运转
ONToolStripMenuItem
.
Name
=
"料仓运转ONToolStripMenuItem"
;
this
.
料仓运转
ONToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
195
,
30
);
this
.
料仓运转
ONToolStripMenuItem
.
Text
=
"料仓运转ON"
;
this
.
料仓运转
ONToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
料仓运转
ONToolStripMenuItem_Click
);
//
// toolStripSeparator6
//
this
.
toolStripSeparator6
.
Name
=
"toolStripSeparator6"
;
this
.
toolStripSeparator6
.
Size
=
new
System
.
Drawing
.
Size
(
192
,
6
);
//
// 料仓运转OFFToolStripMenuItem
//
this
.
料仓运转
OFFToolStripMenuItem
.
Name
=
"料仓运转OFFToolStripMenuItem"
;
this
.
料仓运转
OFFToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
195
,
30
);
this
.
料仓运转
OFFToolStripMenuItem
.
Text
=
"料仓运转OFF"
;
this
.
料仓运转
OFFToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
料仓运转
OFFToolStripMenuItem_Click
);
//
// toolStripSeparator7
//
this
.
toolStripSeparator7
.
Name
=
"toolStripSeparator7"
;
this
.
toolStripSeparator7
.
Size
=
new
System
.
Drawing
.
Size
(
192
,
6
);
//
// 打开舱门ToolStripMenuItem
//
this
.
打开舱门
ToolStripMenuItem
.
Name
=
"打开舱门ToolStripMenuItem"
;
this
.
打开舱门
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
195
,
30
);
this
.
打开舱门
ToolStripMenuItem
.
Text
=
"打开仓门"
;
this
.
打开舱门
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
打开舱门
ToolStripMenuItem_Click
);
//
// toolStripSeparator8
//
this
.
toolStripSeparator8
.
Name
=
"toolStripSeparator8"
;
this
.
toolStripSeparator8
.
Size
=
new
System
.
Drawing
.
Size
(
192
,
6
);
//
// 关闭仓门ToolStripMenuItem
//
this
.
关闭仓门
ToolStripMenuItem
.
Name
=
"关闭仓门ToolStripMenuItem"
;
this
.
关闭仓门
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
195
,
30
);
this
.
关闭仓门
ToolStripMenuItem
.
Text
=
"关闭仓门"
;
this
.
关闭仓门
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
关闭仓门
ToolStripMenuItem_Click
);
//
// 设备调试ToolStripMenuItem
//
this
.
设备调试
ToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
轴卡点动
ToolStripMenuItem
,
this
.
toolStripSeparator9
,
this
.
扫码测试
ToolStripMenuItem
,
this
.
toolStripSeparator10
,
this
.
学习二维码
ToolStripMenuItem
});
this
.
设备调试
ToolStripMenuItem
.
Name
=
"设备调试ToolStripMenuItem"
;
this
.
设备调试
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
29
);
this
.
设备调试
ToolStripMenuItem
.
Text
=
"设备调试"
;
//
// 轴卡点动ToolStripMenuItem
//
this
.
轴卡点动
ToolStripMenuItem
.
Name
=
"轴卡点动ToolStripMenuItem"
;
this
.
轴卡点动
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
179
,
30
);
this
.
轴卡点动
ToolStripMenuItem
.
Text
=
"轴卡点动"
;
this
.
轴卡点动
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
轴卡点动
ToolStripMenuItem_Click
);
//
// toolStripSeparator9
//
this
.
toolStripSeparator9
.
Name
=
"toolStripSeparator9"
;
this
.
toolStripSeparator9
.
Size
=
new
System
.
Drawing
.
Size
(
176
,
6
);
//
// 扫码测试ToolStripMenuItem
//
this
.
扫码测试
ToolStripMenuItem
.
Name
=
"扫码测试ToolStripMenuItem"
;
this
.
扫码测试
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
179
,
30
);
this
.
扫码测试
ToolStripMenuItem
.
Text
=
"扫码测试"
;
//
// toolStripSeparator10
//
this
.
toolStripSeparator10
.
Name
=
"toolStripSeparator10"
;
this
.
toolStripSeparator10
.
Size
=
new
System
.
Drawing
.
Size
(
176
,
6
);
//
// 学习二维码ToolStripMenuItem
//
this
.
学习二维码
ToolStripMenuItem
.
Name
=
"学习二维码ToolStripMenuItem"
;
this
.
学习二维码
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
179
,
30
);
this
.
学习二维码
ToolStripMenuItem
.
Text
=
"学习二维码"
;
this
.
学习二维码
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
学习二维码
ToolStripMenuItem_Click
);
//
// 配置信息ToolStripMenuItem
//
this
.
配置信息
ToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
轴运动配置
ToolStripMenuItem
});
this
.
配置信息
ToolStripMenuItem
.
Name
=
"配置信息ToolStripMenuItem"
;
this
.
配置信息
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
29
);
this
.
配置信息
ToolStripMenuItem
.
Text
=
"配置信息"
;
this
.
配置信息
ToolStripMenuItem
.
Visible
=
false
;
//
// 轴运动配置ToolStripMenuItem
//
this
.
轴运动配置
ToolStripMenuItem
.
Name
=
"轴运动配置ToolStripMenuItem"
;
this
.
轴运动配置
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
179
,
30
);
this
.
轴运动配置
ToolStripMenuItem
.
Text
=
"轴运动配置"
;
this
.
轴运动配置
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
轴运动配置
ToolStripMenuItem_Click
);
//
// 日志ToolStripMenuItem
//
this
.
日志
ToolStripMenuItem
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
开启
DEBUGToolStripMenuItem
,
this
.
toolStripSeparator12
,
this
.
清理日志
ToolStripMenuItem
});
this
.
日志
ToolStripMenuItem
.
Name
=
"日志ToolStripMenuItem"
;
this
.
日志
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
62
,
29
);
this
.
日志
ToolStripMenuItem
.
Text
=
"其他"
;
//
// 开启DEBUGToolStripMenuItem
//
this
.
开启
DEBUGToolStripMenuItem
.
Name
=
"开启DEBUGToolStripMenuItem"
;
this
.
开启
DEBUGToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
186
,
30
);
this
.
开启
DEBUGToolStripMenuItem
.
Text
=
"开启DEBUG"
;
this
.
开启
DEBUGToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
开启
DEBUGToolStripMenuItem_Click
);
//
// toolStripSeparator12
//
this
.
toolStripSeparator12
.
Name
=
"toolStripSeparator12"
;
this
.
toolStripSeparator12
.
Size
=
new
System
.
Drawing
.
Size
(
183
,
6
);
//
// 清理日志ToolStripMenuItem
//
this
.
清理日志
ToolStripMenuItem
.
Name
=
"清理日志ToolStripMenuItem"
;
this
.
清理日志
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
186
,
30
);
this
.
清理日志
ToolStripMenuItem
.
Text
=
"清理日志"
;
this
.
清理日志
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
清理日志
ToolStripMenuItem_Click
);
//
// lblThisSta
//
this
.
lblThisSta
.
AutoSize
=
true
;
...
...
@@ -2234,9 +1873,9 @@
this
.
label24
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label24
.
Location
=
new
System
.
Drawing
.
Point
(
226
,
32
);
this
.
label24
.
Name
=
"label24"
;
this
.
label24
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label24
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label24
.
TabIndex
=
249
;
this
.
label24
.
Text
=
"记录总条数
:
"
;
this
.
label24
.
Text
=
"记录总条数
:
"
;
this
.
label24
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// txtHistoryTime
...
...
@@ -2266,9 +1905,9 @@
this
.
label30
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label30
.
Location
=
new
System
.
Drawing
.
Point
(
29
,
114
);
this
.
label30
.
Name
=
"label30"
;
this
.
label30
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
label30
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label30
.
TabIndex
=
257
;
this
.
label30
.
Text
=
"记录时间
:
"
;
this
.
label30
.
Text
=
"记录时间
:
"
;
this
.
label30
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// label23
...
...
@@ -2278,9 +1917,9 @@
this
.
label23
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label23
.
Location
=
new
System
.
Drawing
.
Point
(
226
,
68
);
this
.
label23
.
Name
=
"label23"
;
this
.
label23
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label23
.
Size
=
new
System
.
Drawing
.
Size
(
83
,
17
);
this
.
label23
.
TabIndex
=
251
;
this
.
label23
.
Text
=
"当前指针位置
:
"
;
this
.
label23
.
Text
=
"当前指针位置
:
"
;
this
.
label23
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// txtHistoryHum
...
...
@@ -2310,9 +1949,9 @@
this
.
label26
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label26
.
Location
=
new
System
.
Drawing
.
Point
(
17
,
72
);
this
.
label26
.
Name
=
"label26"
;
this
.
label26
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label26
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label26
.
TabIndex
=
255
;
this
.
label26
.
Text
=
"记录湿度值
:
"
;
this
.
label26
.
Text
=
"记录湿度值
:
"
;
this
.
label26
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// label22
...
...
@@ -2322,9 +1961,9 @@
this
.
label22
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label22
.
Location
=
new
System
.
Drawing
.
Point
(
17
,
32
);
this
.
label22
.
Name
=
"label22"
;
this
.
label22
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label22
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label22
.
TabIndex
=
253
;
this
.
label22
.
Text
=
"记录温度值
:
"
;
this
.
label22
.
Text
=
"记录温度值
:
"
;
this
.
label22
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// btnSelTemp
...
...
@@ -2354,9 +1993,9 @@
this
.
label29
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label29
.
Location
=
new
System
.
Drawing
.
Point
(
38
,
101
);
this
.
label29
.
Name
=
"label29"
;
this
.
label29
.
Size
=
new
System
.
Drawing
.
Size
(
44
,
17
);
this
.
label29
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label29
.
TabIndex
=
246
;
this
.
label29
.
Text
=
"湿度
:
"
;
this
.
label29
.
Text
=
"湿度
:
"
;
this
.
label29
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// txtTemp
...
...
@@ -2376,9 +2015,9 @@
this
.
label28
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label28
.
Location
=
new
System
.
Drawing
.
Point
(
38
,
67
);
this
.
label28
.
Name
=
"label28"
;
this
.
label28
.
Size
=
new
System
.
Drawing
.
Size
(
44
,
17
);
this
.
label28
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label28
.
TabIndex
=
244
;
this
.
label28
.
Text
=
"温度
:
"
;
this
.
label28
.
Text
=
"温度
:
"
;
this
.
label28
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// txtTempPort
...
...
@@ -2398,9 +2037,9 @@
this
.
label27
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label27
.
Location
=
new
System
.
Drawing
.
Point
(
26
,
33
);
this
.
label27
.
Name
=
"label27"
;
this
.
label27
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
label27
.
Size
=
new
System
.
Drawing
.
Size
(
47
,
17
);
this
.
label27
.
TabIndex
=
242
;
this
.
label27
.
Text
=
"端口号
:
"
;
this
.
label27
.
Text
=
"端口号
:
"
;
this
.
label27
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// btnTempClose
...
...
@@ -2648,80 +2287,6 @@
this
.
btnLogDebug
.
UseVisualStyleBackColor
=
true
;
this
.
btnLogDebug
.
Click
+=
new
System
.
EventHandler
(
this
.
开启
DEBUGToolStripMenuItem_Click
);
//
// label17
//
this
.
label17
.
AutoSize
=
true
;
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
44
,
374
);
this
.
label17
.
Name
=
"label17"
;
this
.
label17
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label17
.
TabIndex
=
324
;
this
.
label17
.
Text
=
"负极限信号:"
;
this
.
label17
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// label18
//
this
.
label18
.
AutoSize
=
true
;
this
.
label18
.
Location
=
new
System
.
Drawing
.
Point
(
155
,
374
);
this
.
label18
.
Name
=
"label18"
;
this
.
label18
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
17
);
this
.
label18
.
TabIndex
=
323
;
this
.
label18
.
Text
=
"1=ON,0=OFF"
;
//
// btnReadLimit2
//
this
.
btnReadLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
278
,
368
);
this
.
btnReadLimit2
.
Name
=
"btnReadLimit2"
;
this
.
btnReadLimit2
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnReadLimit2
.
TabIndex
=
322
;
this
.
btnReadLimit2
.
Text
=
"读负极限信号"
;
this
.
btnReadLimit2
.
UseVisualStyleBackColor
=
true
;
this
.
btnReadLimit2
.
Click
+=
new
System
.
EventHandler
(
this
.
btnReadLimit2_Click
);
//
// txtLimit2
//
this
.
txtLimit2
.
Enabled
=
false
;
this
.
txtLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
121
,
371
);
this
.
txtLimit2
.
Name
=
"txtLimit2"
;
this
.
txtLimit2
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit2
.
TabIndex
=
321
;
//
// label19
//
this
.
label19
.
AutoSize
=
true
;
this
.
label19
.
Location
=
new
System
.
Drawing
.
Point
(
44
,
340
);
this
.
label19
.
Name
=
"label19"
;
this
.
label19
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label19
.
TabIndex
=
320
;
this
.
label19
.
Text
=
"正极限信号:"
;
this
.
label19
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// label20
//
this
.
label20
.
AutoSize
=
true
;
this
.
label20
.
Location
=
new
System
.
Drawing
.
Point
(
155
,
340
);
this
.
label20
.
Name
=
"label20"
;
this
.
label20
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
17
);
this
.
label20
.
TabIndex
=
319
;
this
.
label20
.
Text
=
"1=ON,0=OFF"
;
//
// btnReadLimit1
//
this
.
btnReadLimit1
.
Location
=
new
System
.
Drawing
.
Point
(
278
,
333
);
this
.
btnReadLimit1
.
Name
=
"btnReadLimit1"
;
this
.
btnReadLimit1
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
33
);
this
.
btnReadLimit1
.
TabIndex
=
318
;
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
(
121
,
337
);
this
.
txtLimit1
.
Name
=
"txtLimit1"
;
this
.
txtLimit1
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit1
.
TabIndex
=
317
;
//
// FrmStoreBox
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
96F
,
96F
);
...
...
@@ -2731,10 +2296,8 @@
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Controls
.
Add
(
this
.
groupBox3
);
this
.
Controls
.
Add
(
this
.
groupInout
);
this
.
Controls
.
Add
(
this
.
menuStrip1
);
this
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
MainMenuStrip
=
this
.
menuStrip1
;
this
.
Name
=
"FrmStoreBox"
;
this
.
Opacity
=
0D
;
this
.
Text
=
"AC_SA_料仓"
;
...
...
@@ -2749,8 +2312,6 @@
this
.
groupBox1
.
PerformLayout
();
this
.
groupInout
.
ResumeLayout
(
false
);
this
.
groupInout
.
PerformLayout
();
this
.
menuStrip1
.
ResumeLayout
(
false
);
this
.
menuStrip1
.
PerformLayout
();
this
.
groupBox3
.
ResumeLayout
(
false
);
this
.
groupBox3
.
PerformLayout
();
this
.
contextMenuStrip1
.
ResumeLayout
(
false
);
...
...
@@ -2769,7 +2330,6 @@
this
.
tabPage5
.
ResumeLayout
(
false
);
this
.
tabPage6
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
this
.
PerformLayout
();
}
...
...
@@ -2785,10 +2345,8 @@
public
System
.
Windows
.
Forms
.
Button
btnUpDownP4
;
public
System
.
Windows
.
Forms
.
Label
label21
;
private
System
.
Windows
.
Forms
.
ComboBox
cmbPosition
;
public
System
.
Windows
.
Forms
.
Button
Bt_ClearCounter
;
private
System
.
Windows
.
Forms
.
Label
label43
;
private
System
.
Windows
.
Forms
.
Label
label42
;
private
System
.
Windows
.
Forms
.
TextBox
lblOutPulse
;
private
System
.
Windows
.
Forms
.
TextBox
lblCountPulse
;
private
System
.
Windows
.
Forms
.
Button
btnComAlarmClear
;
private
System
.
Windows
.
Forms
.
GroupBox
groupAxis
;
...
...
@@ -2849,7 +2407,6 @@
private
System
.
Windows
.
Forms
.
TextBox
lblOutPulse2
;
private
System
.
Windows
.
Forms
.
TextBox
lblCountPulse1
;
private
System
.
Windows
.
Forms
.
TextBox
lblOutPulse1
;
private
System
.
Windows
.
Forms
.
Label
label7
;
private
System
.
Windows
.
Forms
.
Label
label8
;
private
System
.
Windows
.
Forms
.
TextBox
txtJiange
;
private
System
.
Windows
.
Forms
.
Label
label9
;
...
...
@@ -2860,70 +2417,29 @@
private
System
.
Windows
.
Forms
.
TextBox
txtUpdownTarget
;
private
System
.
Windows
.
Forms
.
Label
label12
;
private
System
.
Windows
.
Forms
.
RichTextBox
richTextBox1
;
private
System
.
Windows
.
Forms
.
MenuStrip
menuStrip1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
料仓操作
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
启动
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
停止
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
复位
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
配置信息
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
轴运动配置
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
iO
状态查看
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
查看
IOToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
设备调试
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
轴卡点动
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
日志
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
开启
DEBUGToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
清理日志
ToolStripMenuItem
;
private
UserFromControl
.
IOStatusControl
axis_3_Alarm
;
private
UserFromControl
.
IOStatusControl
axis_2_Alarm
;
private
UserFromControl
.
IOStatusControl
axis_1_Alarm
;
private
System
.
Windows
.
Forms
.
Label
label38
;
private
System
.
Windows
.
Forms
.
Label
lblWarnMsg
;
private
System
.
Windows
.
Forms
.
Button
btnClearLog
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
料仓运转
ONToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
扫码测试
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
料仓运转
OFFToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
打开舱门
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
关闭仓门
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
回待机点
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
Label
lblServerOn
;
public
System
.
Windows
.
Forms
.
Button
btnReadPosition
;
private
System
.
Windows
.
Forms
.
Label
label16
;
private
System
.
Windows
.
Forms
.
Label
label15
;
private
System
.
Windows
.
Forms
.
Label
label14
;
private
System
.
Windows
.
Forms
.
Label
label11
;
private
System
.
Windows
.
Forms
.
TextBox
txtHomeStatus
;
private
System
.
Windows
.
Forms
.
Button
button2
;
private
System
.
Windows
.
Forms
.
Label
label10
;
private
System
.
Windows
.
Forms
.
TextBox
txtBusyStatus
;
private
System
.
Windows
.
Forms
.
Button
button1
;
private
System
.
Windows
.
Forms
.
Label
label2
;
private
System
.
Windows
.
Forms
.
TextBox
txtAlarmStatus
;
private
System
.
Windows
.
Forms
.
Button
btnGetAlarm
;
private
System
.
Windows
.
Forms
.
GroupBox
groupBox3
;
private
System
.
Windows
.
Forms
.
CheckBox
chbAutoRead
;
private
System
.
Windows
.
Forms
.
Label
lblTemp
;
private
System
.
Windows
.
Forms
.
CheckBox
chbAuto
;
private
System
.
Windows
.
Forms
.
ContextMenuStrip
contextMenuStrip1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
显示
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
toolStripMenuItem1
;
private
System
.
Windows
.
Forms
.
NotifyIcon
notifyIcon1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
退出
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
学习二维码
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator5
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator6
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator7
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator8
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator9
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator10
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator1
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator2
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator3
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator4
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator12
;
private
System
.
Windows
.
Forms
.
Button
btnReadHomeSingle
;
private
System
.
Windows
.
Forms
.
TextBox
txtHomeSingle
;
private
System
.
Windows
.
Forms
.
Label
label5
;
private
System
.
Windows
.
Forms
.
Label
label6
;
private
System
.
Windows
.
Forms
.
TabControl
tabControl1
;
private
System
.
Windows
.
Forms
.
TabPage
tabPage3
;
...
...
@@ -2979,13 +2495,11 @@
private
System
.
Windows
.
Forms
.
Button
btnSetNum
;
private
System
.
Windows
.
Forms
.
Button
btnUpdown
;
private
System
.
Windows
.
Forms
.
Label
label17
;
private
System
.
Windows
.
Forms
.
Label
label18
;
private
System
.
Windows
.
Forms
.
Button
btnReadLimit2
;
private
System
.
Windows
.
Forms
.
TextBox
txtLimit2
;
private
System
.
Windows
.
Forms
.
Label
label19
;
private
System
.
Windows
.
Forms
.
Label
label20
;
private
System
.
Windows
.
Forms
.
Button
btnReadLimit1
;
private
System
.
Windows
.
Forms
.
TextBox
txtLimit1
;
private
System
.
Windows
.
Forms
.
Label
label5
;
private
System
.
Windows
.
Forms
.
TextBox
txtServoStatue
;
}
}
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
a23c24a
...
...
@@ -157,9 +157,7 @@ namespace OnlineStore.ACSingleStore
btnOutStore
.
Enabled
=
isOpen
;
btnInStore
.
Enabled
=
isOpen
;
启动
ToolStripMenuItem
.
Enabled
=
!
isOpen
;
停止
ToolStripMenuItem
.
Enabled
=
isOpen
;
复位
ToolStripMenuItem
.
Enabled
=
isOpen
;
btnStoreStart
.
Enabled
=
!
isOpen
;
btnSotreReset
.
Enabled
=
isOpen
;
btnStoreStop
.
Enabled
=
isOpen
;
...
...
@@ -185,31 +183,31 @@ namespace OnlineStore.ACSingleStore
//忙碌状态不读取状态
if
(!
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
Busy
))
{
if
(
chbAutoRead
.
Checked
)
{
string
portName
=
GetPortName
();
int
SlvAddr
=
GetSlaveAddr
();
//
if (chbAutoRead.Checked)
//
{
//
string portName = GetPortName();
//
int SlvAddr = GetSlaveAddr();
//判断私服是否打开、
if
(
ACServerManager
.
ServerOnStatus
(
portName
,
SlvAddr
))
{
lblServerOn
.
Text
=
"伺服ON"
;
int
lOutPulse
=
ACServerManager
.
GetTargetPosition
(
portName
,
SlvAddr
);
lblOutPulse
.
Text
=
string
.
Format
(
"{0:d}"
,
lOutPulse
);
int
lCountPulse
=
ACServerManager
.
GetActualtPosition
(
portName
,
SlvAddr
);
lblCountPulse
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse
);
}
else
{
lblServerOn
.
Text
=
"伺服OFF"
;
}
}
//
//判断私服是否打开、
//
if (ACServerManager.ServerOnStatus(portName, SlvAddr))
//
{
//
lblServerOn.Text = "伺服ON";
//
int lOutPulse = ACServerManager.GetTargetPosition(portName, SlvAddr);
//
lblOutPulse.Text = string.Format("{0:d}", lOutPulse);
//
int lCountPulse = ACServerManager.GetActualtPosition(portName, SlvAddr);
//
lblCountPulse.Text = string.Format("{0:d}", lCountPulse);
//
}
//
else
//
{
//
lblServerOn.Text = "伺服OFF";
//
}
//
}
}
//ReadPosistion();
if
(
store
.
storeRunStatus
>
StoreRunStatus
.
Wait
)
{
if
(
启动
ToolStripMenuItem
.
Enabled
.
Equals
(
true
))
if
(
btnStoreStart
.
Enabled
.
Equals
(
true
))
{
StoreOpenStatus
(
true
);
}
...
...
@@ -217,7 +215,7 @@ namespace OnlineStore.ACSingleStore
lblThisSta
.
Text
=
store
.
GetRunStr
();
//复位按钮状态显示
if
(
复位
ToolStripMenuItem
.
Enabled
==
false
)
if
(
btnSotreReset
.
Enabled
==
false
)
{
if
((
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
HomeMoving
)
||
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
Reset
))
&&
store
.
alarmType
.
Equals
(
StoreAlarmType
.
None
))
...
...
@@ -225,9 +223,9 @@ namespace OnlineStore.ACSingleStore
}
else
{
if
(
复位
ToolStripMenuItem
.
Enabled
.
Equals
(
false
))
if
(
btnSotreReset
.
Enabled
.
Equals
(
false
))
{
复位
ToolStripMenuItem
.
Enabled
=
true
;
btnSotreReset
.
Enabled
=
true
;
}
}
}
...
...
@@ -236,10 +234,10 @@ namespace OnlineStore.ACSingleStore
if
((
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
HomeMoving
)
||
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
Reset
))
&&
store
.
alarmType
.
Equals
(
StoreAlarmType
.
None
))
{
if
(
启动
ToolStripMenuItem
.
Enabled
)
if
(
btnStoreStart
.
Enabled
)
{
启动
ToolStripMenuItem
.
Enabled
=
false
;
复位
ToolStripMenuItem
.
Enabled
=
false
;
btnStoreStart
.
Enabled
=
false
;
btnSotreReset
.
Enabled
=
false
;
}
}
}
...
...
@@ -339,8 +337,7 @@ namespace OnlineStore.ACSingleStore
lblCountPulse1
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse1
);
txtMiddleTarget
.
Text
=
store
.
Config
.
Middle_Axis
.
TargetPosition
.
ToString
();
if
(
store
.
Config
.
Middle_Axis
.
IsSameAxis
(
portName
,
SlvAddr
))
{
lblOutPulse
.
Text
=
lblOutPulse1
.
Text
;
{
lblCountPulse
.
Text
=
lblCountPulse1
.
Text
;
}
}
...
...
@@ -354,8 +351,7 @@ namespace OnlineStore.ACSingleStore
lblCountPulse2
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse2
);
txtInoutTarget
.
Text
=
store
.
Config
.
InOut_Axis
.
TargetPosition
.
ToString
();
if
(
store
.
Config
.
UpDown_Axis
.
IsSameAxis
(
portName
,
SlvAddr
))
{
lblOutPulse
.
Text
=
lblOutPulse2
.
Text
;
{
lblCountPulse
.
Text
=
lblCountPulse2
.
Text
;
}
}
...
...
@@ -368,8 +364,7 @@ namespace OnlineStore.ACSingleStore
lblCountPulse3
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse3
);
txtUpdownTarget
.
Text
=
store
.
Config
.
UpDown_Axis
.
TargetPosition
.
ToString
();
if
(
store
.
Config
.
InOut_Axis
.
IsSameAxis
(
portName
,
SlvAddr
))
{
lblOutPulse
.
Text
=
lblOutPulse3
.
Text
;
{
lblCountPulse
.
Text
=
lblCountPulse3
.
Text
;
}
}
...
...
@@ -966,8 +961,7 @@ namespace OnlineStore.ACSingleStore
private
void
复位
ToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
this
.
store
.
Reset
();
复位
ToolStripMenuItem
.
Enabled
=
false
;
复位
ToolStripMenuItem
.
Enabled
=
false
;
btnSotreReset
.
Enabled
=
false
;
}
private
void
查看
IOToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
...
...
@@ -979,23 +973,19 @@ namespace OnlineStore.ACSingleStore
{
this
.
richTextBox1
.
Text
=
""
;
}
private
void
开启
DEBUGToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
if
(
LogUtil
.
debug_opened
==
false
)
{
开启
DEBUGToolStripMenuItem
.
Text
=
"关闭DEBUG"
;
{
btnLogDebug
.
Text
=
"关闭DEBUG"
;
LogUtil
.
debug_opened
=
true
;
}
else
{
开启
DEBUGToolStripMenuItem
.
Text
=
"开启DEBUG"
;
{
btnLogDebug
.
Text
=
"开启DEBUG"
;
LogUtil
.
debug_opened
=
false
;
}
}
private
void
btnClearLog_Click
(
object
sender
,
EventArgs
e
)
{
//this.richTextBox1.Text = "";
...
...
@@ -1143,22 +1133,16 @@ namespace OnlineStore.ACSingleStore
private
void
btnGetAlarm_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetAlarmStatus
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtAlarmStatus
.
Text
=
value
.
ToString
();
}
private
void
button1_Click_1
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetBusyStatus
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtBusyStatus
.
Text
=
value
.
ToString
();
string
PortName
=
txtAxisDeviceName
.
Text
;
short
SlvAddr
=
FormUtil
.
GetShortValue
(
txtAxisValue
);
txtServoStatue
.
Text
=
ACServerManager
.
ServerOnStatus
(
PortName
,
SlvAddr
).
ToString
();
this
.
txtAlarmStatus
.
Text
=
ACServerManager
.
GetAlarmStatus
(
PortName
,
SlvAddr
).
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
();
this
.
txtLimit1
.
Text
=
ACServerManager
.
GetLimitPositiveSingle
(
PortName
,
SlvAddr
).
ToString
();
this
.
txtLimit2
.
Text
=
ACServerManager
.
GetLimitNegativeSingle
(
PortName
,
SlvAddr
).
ToString
();
}
private
void
button2_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetHomeEndStatus
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtHomeStatus
.
Text
=
value
.
ToString
();
}
private
void
chbAuto_CheckedChanged
(
object
sender
,
EventArgs
e
)
{
if
(!
LoadOk
)
...
...
@@ -1208,7 +1192,7 @@ namespace OnlineStore.ACSingleStore
{
this
.
timer1
.
Enabled
=
false
;
}
if
(
this
.
停止
ToolStripMenuItem
.
Enabled
)
if
(
this
.
btnStoreStop
.
Enabled
)
{
stop_button_Click
(
null
,
null
);
}
...
...
@@ -1259,23 +1243,7 @@ namespace OnlineStore.ACSingleStore
{
ExitApp
();
}
}
private
void
学习二维码
ToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
//IOManager.IOMove(IO_Type.CameraLight_Power, IO_VALUE.HIGH);
//CodeLibrary.FrmCodeDecode frm = new FrmCodeDecode();
//frm.ShowDialog();
//IOManager.IOMove(IO_Type.CameraLight_Power, IO_VALUE.LOW);
}
private
void
btnReadHomeSingle_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetHomeSingle
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtHomeSingle
.
Text
=
value
.
ToString
();
}
}
private
void
btnTempInit_Click
(
object
sender
,
EventArgs
e
)
{
string
port
=
txtTempPort
.
Text
.
ToString
();
...
...
@@ -1464,16 +1432,6 @@ namespace OnlineStore.ACSingleStore
LogUtil
.
logBox
=
this
.
richTextBox1
;
}
private
void
btnReadLimit1_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetLimitPositiveSingle
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtLimit1
.
Text
=
value
.
ToString
();
}
private
void
btnReadLimit2_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetLimitNegativeSingle
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtLimit2
.
Text
=
value
.
ToString
();
}
}
}
source/ACSingleStore/FrmStoreBox.resx
查看文件 @
a23c24a
...
...
@@ -120,9 +120,6 @@
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 16</value>
</metadata>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>107, 16</value>
</metadata>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>227, 16</value>
</metadata>
...
...
source/ACSingleStore/ServoAxisInfo.Designer.cs
0 → 100644
查看文件 @
a23c24a
namespace
OnlineStore.ACSingleStore
{
partial
class
ServoAxisInfo
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private
System
.
ComponentModel
.
IContainer
components
=
null
;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected
override
void
Dispose
(
bool
disposing
)
{
if
(
disposing
&&
(
components
!=
null
))
{
components
.
Dispose
();
}
base
.
Dispose
(
disposing
);
}
#
region
组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private
void
InitializeComponent
()
{
this
.
label17
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtLimit2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label19
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtLimit1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label6
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtHomeSingle
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label11
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtHomeStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label10
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtBusyStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label2
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtAlarmStatus
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label7
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label8
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblCountPulse
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblOutPulse
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
SuspendLayout
();
//
// label17
//
this
.
label17
.
AutoSize
=
true
;
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
198
,
221
);
this
.
label17
.
Name
=
"label17"
;
this
.
label17
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
12
);
this
.
label17
.
TabIndex
=
336
;
this
.
label17
.
Text
=
"负极限信号:"
;
this
.
label17
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// txtLimit2
//
this
.
txtLimit2
.
Enabled
=
false
;
this
.
txtLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
275
,
218
);
this
.
txtLimit2
.
Name
=
"txtLimit2"
;
this
.
txtLimit2
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
21
);
this
.
txtLimit2
.
TabIndex
=
335
;
//
// label19
//
this
.
label19
.
AutoSize
=
true
;
this
.
label19
.
Location
=
new
System
.
Drawing
.
Point
(
198
,
187
);
this
.
label19
.
Name
=
"label19"
;
this
.
label19
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
12
);
this
.
label19
.
TabIndex
=
334
;
this
.
label19
.
Text
=
"正极限信号:"
;
this
.
label19
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// txtLimit1
//
this
.
txtLimit1
.
Enabled
=
false
;
this
.
txtLimit1
.
Location
=
new
System
.
Drawing
.
Point
(
275
,
184
);
this
.
txtLimit1
.
Name
=
"txtLimit1"
;
this
.
txtLimit1
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
21
);
this
.
txtLimit1
.
TabIndex
=
333
;
//
// label6
//
this
.
label6
.
AutoSize
=
true
;
this
.
label6
.
Location
=
new
System
.
Drawing
.
Point
(
201
,
153
);
this
.
label6
.
Name
=
"label6"
;
this
.
label6
.
Size
=
new
System
.
Drawing
.
Size
(
65
,
12
);
this
.
label6
.
TabIndex
=
332
;
this
.
label6
.
Text
=
"原点信号:"
;
//
// txtHomeSingle
//
this
.
txtHomeSingle
.
Enabled
=
false
;
this
.
txtHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
275
,
150
);
this
.
txtHomeSingle
.
Name
=
"txtHomeSingle"
;
this
.
txtHomeSingle
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
21
);
this
.
txtHomeSingle
.
TabIndex
=
331
;
//
// label11
//
this
.
label11
.
AutoSize
=
true
;
this
.
label11
.
Location
=
new
System
.
Drawing
.
Point
(-
14
,
221
);
this
.
label11
.
Name
=
"label11"
;
this
.
label11
.
Size
=
new
System
.
Drawing
.
Size
(
89
,
12
);
this
.
label11
.
TabIndex
=
330
;
this
.
label11
.
Text
=
"HOME-CMP状态:"
;
//
// txtHomeStatus
//
this
.
txtHomeStatus
.
Enabled
=
false
;
this
.
txtHomeStatus
.
Location
=
new
System
.
Drawing
.
Point
(
106
,
218
);
this
.
txtHomeStatus
.
Name
=
"txtHomeStatus"
;
this
.
txtHomeStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
21
);
this
.
txtHomeStatus
.
TabIndex
=
329
;
//
// label10
//
this
.
label10
.
AutoSize
=
true
;
this
.
label10
.
Location
=
new
System
.
Drawing
.
Point
(
25
,
187
);
this
.
label10
.
Name
=
"label10"
;
this
.
label10
.
Size
=
new
System
.
Drawing
.
Size
(
65
,
12
);
this
.
label10
.
TabIndex
=
328
;
this
.
label10
.
Text
=
"BUSY状态:"
;
//
// txtBusyStatus
//
this
.
txtBusyStatus
.
Enabled
=
false
;
this
.
txtBusyStatus
.
Location
=
new
System
.
Drawing
.
Point
(
106
,
184
);
this
.
txtBusyStatus
.
Name
=
"txtBusyStatus"
;
this
.
txtBusyStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
21
);
this
.
txtBusyStatus
.
TabIndex
=
327
;
//
// label2
//
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
32
,
153
);
this
.
label2
.
Name
=
"label2"
;
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
65
,
12
);
this
.
label2
.
TabIndex
=
326
;
this
.
label2
.
Text
=
"报警状态:"
;
//
// txtAlarmStatus
//
this
.
txtAlarmStatus
.
Enabled
=
false
;
this
.
txtAlarmStatus
.
Location
=
new
System
.
Drawing
.
Point
(
106
,
150
);
this
.
txtAlarmStatus
.
Name
=
"txtAlarmStatus"
;
this
.
txtAlarmStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
21
);
this
.
txtAlarmStatus
.
TabIndex
=
325
;
//
// 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
,
20
);
this
.
label7
.
Name
=
"label7"
;
this
.
label7
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label7
.
TabIndex
=
339
;
this
.
label7
.
Text
=
"输出脉冲值:"
;
//
// label8
//
this
.
label8
.
AutoSize
=
true
;
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
,
52
);
this
.
label8
.
Name
=
"label8"
;
this
.
label8
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
label8
.
TabIndex
=
340
;
this
.
label8
.
Text
=
"编码器计数:"
;
//
// lblCountPulse
//
this
.
lblCountPulse
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
47
);
this
.
lblCountPulse
.
Name
=
"lblCountPulse"
;
this
.
lblCountPulse
.
ReadOnly
=
true
;
this
.
lblCountPulse
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
21
);
this
.
lblCountPulse
.
TabIndex
=
338
;
//
// lblOutPulse
//
this
.
lblOutPulse
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
18
);
this
.
lblOutPulse
.
Name
=
"lblOutPulse"
;
this
.
lblOutPulse
.
ReadOnly
=
true
;
this
.
lblOutPulse
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
21
);
this
.
lblOutPulse
.
TabIndex
=
337
;
//
// ServoAxisInfo
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
Controls
.
Add
(
this
.
label7
);
this
.
Controls
.
Add
(
this
.
label8
);
this
.
Controls
.
Add
(
this
.
lblCountPulse
);
this
.
Controls
.
Add
(
this
.
lblOutPulse
);
this
.
Controls
.
Add
(
this
.
label17
);
this
.
Controls
.
Add
(
this
.
txtLimit2
);
this
.
Controls
.
Add
(
this
.
label19
);
this
.
Controls
.
Add
(
this
.
txtLimit1
);
this
.
Controls
.
Add
(
this
.
label6
);
this
.
Controls
.
Add
(
this
.
txtHomeSingle
);
this
.
Controls
.
Add
(
this
.
label11
);
this
.
Controls
.
Add
(
this
.
txtHomeStatus
);
this
.
Controls
.
Add
(
this
.
label10
);
this
.
Controls
.
Add
(
this
.
txtBusyStatus
);
this
.
Controls
.
Add
(
this
.
label2
);
this
.
Controls
.
Add
(
this
.
txtAlarmStatus
);
this
.
Name
=
"ServoAxisInfo"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
388
,
247
);
this
.
ResumeLayout
(
false
);
this
.
PerformLayout
();
}
#
endregion
private
System
.
Windows
.
Forms
.
Label
label17
;
private
System
.
Windows
.
Forms
.
TextBox
txtLimit2
;
private
System
.
Windows
.
Forms
.
Label
label19
;
private
System
.
Windows
.
Forms
.
TextBox
txtLimit1
;
private
System
.
Windows
.
Forms
.
Label
label6
;
private
System
.
Windows
.
Forms
.
TextBox
txtHomeSingle
;
private
System
.
Windows
.
Forms
.
Label
label11
;
private
System
.
Windows
.
Forms
.
TextBox
txtHomeStatus
;
private
System
.
Windows
.
Forms
.
Label
label10
;
private
System
.
Windows
.
Forms
.
TextBox
txtBusyStatus
;
private
System
.
Windows
.
Forms
.
Label
label2
;
private
System
.
Windows
.
Forms
.
TextBox
txtAlarmStatus
;
private
System
.
Windows
.
Forms
.
Label
label7
;
private
System
.
Windows
.
Forms
.
Label
label8
;
private
System
.
Windows
.
Forms
.
TextBox
lblCountPulse
;
private
System
.
Windows
.
Forms
.
TextBox
lblOutPulse
;
}
}
source/ACSingleStore/ServoAxisInfo.cs
0 → 100644
查看文件 @
a23c24a
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
using
System.Data
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Windows.Forms
;
namespace
OnlineStore.ACSingleStore
{
public
partial
class
ServoAxisInfo
:
UserControl
{
public
ServoAxisInfo
()
{
InitializeComponent
();
}
}
}
source/ACSingleStore/ServoAxisInfo.resx
0 → 100644
查看文件 @
a23c24a
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论