Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO664-HCSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 45f99b75
由
LN
编写于
2020-11-03 09:46:42 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
BUG修改
1 个父辈
b592ccdc
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
721 行增加
和
605 行删除
source/DeviceLibrary/AXIS/AxisManager.cs
source/DeviceLibrary/AXIS/HC/HCAxisManager.cs
source/DeviceLibrary/StoreConfig/BoxConfig_1.csv
source/DeviceLibrary/StoreConfig/BoxConfig_2.csv
source/DeviceLibrary/bean/KTK_Store.cs
source/HCSingleStore/App.config
source/HCSingleStore/FrmBox.Designer.cs
source/HCSingleStore/FrmBox.cs
source/HCSingleStore/FrmStore.cs
source/HCSingleStore/positionTool/FrmPositionTool.cs
source/HCSingleStore/userControl/AxisMoveControl.cs
source/HCSingleStore/记录.txt
source/HuichuanLibrary/HCBoardManager_Axis.cs
source/LoadCVSLibrary/storeConfig/CSVConfigReader.cs
source/DeviceLibrary/AXIS/AxisManager.cs
查看文件 @
45f99b7
...
@@ -50,14 +50,14 @@ namespace OnlineStore.DeviceLibrary
...
@@ -50,14 +50,14 @@ namespace OnlineStore.DeviceLibrary
public
abstract
bool
AbsMoveIsEnd
(
string
portName
,
short
axisNo
,
int
targetPosition
,
int
canErrorCount
,
out
bool
countError
);
public
abstract
bool
AbsMoveIsEnd
(
string
portName
,
short
axisNo
,
int
targetPosition
,
int
canErrorCount
,
out
bool
countError
);
public
abstract
void
ServoOn
(
string
portName
,
short
slvAddr
);
public
abstract
void
ServoOn
(
string
portName
,
short
slvAddr
);
public
abstract
void
ServoOff
(
string
portName
,
short
slvAddr
);
public
abstract
void
ServoOff
(
string
portName
,
short
slvAddr
);
public
abstract
void
RelMove
(
string
portName
,
short
slvAddr
,
int
position
,
int
targetSpeed
=
0
,
int
ptpAcc
=
0
,
int
ptpDec
=
0
);
public
abstract
void
RelMove
(
string
portName
,
short
slvAddr
,
int
position
,
int
targetSpeed
,
int
ptpAcc
,
int
ptpDec
);
public
abstract
void
HomeMove
(
string
portName
,
short
slvAddr
,
int
highVel
,
int
lowVel
,
int
acc
);
public
abstract
void
HomeMove
(
string
portName
,
short
slvAddr
,
int
highVel
,
int
lowVel
,
int
acc
);
public
abstract
void
SpeedMove
(
string
portName
,
short
slvAddr
,
int
speed
);
public
abstract
void
SpeedMove
(
string
portName
,
short
slvAddr
,
int
speed
);
public
abstract
void
SuddenStop
(
string
portName
,
short
slvAddr
);
public
abstract
void
SuddenStop
(
string
portName
,
short
slvAddr
);
public
abstract
bool
isInPosition
(
string
portName
,
short
slvAddr
,
int
PPosition
,
int
canErrorCount
,
bool
isLog
=
false
);
public
abstract
bool
isInPosition
(
string
portName
,
short
slvAddr
,
int
PPosition
,
int
canErrorCount
,
bool
isLog
=
false
);
public
abstract
void
AbsMove
(
string
portName
,
short
slvAddr
,
int
targetPosition
,
int
targetSpeed
=
0
,
int
ptpAcc
=
0
,
int
ptpDec
=
0
);
public
abstract
void
AbsMove
(
string
portName
,
short
slvAddr
,
int
targetPosition
,
int
targetSpeed
,
int
ptpAcc
,
int
ptpDec
);
public
abstract
void
AlarmClear
(
string
portName
,
short
slvAddr
);
public
abstract
void
AlarmClear
(
string
portName
,
short
slvAddr
);
public
abstract
int
GetTargetPosition
(
string
portName
,
short
slvAddr
);
public
abstract
int
GetTargetPosition
(
string
portName
,
short
slvAddr
);
...
...
source/DeviceLibrary/AXIS/HC/HCAxisManager.cs
查看文件 @
45f99b7
...
@@ -19,7 +19,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -19,7 +19,7 @@ namespace OnlineStore.DeviceLibrary
{
{
return
HCBoardManager
.
CloseCard
();
return
HCBoardManager
.
CloseCard
();
}
}
public
override
void
AbsMove
(
string
portName
,
short
slvAddr
,
int
targetPosition
,
int
targetSpeed
=
0
,
int
ptpAcc
=
0
,
int
ptpDec
=
0
)
public
override
void
AbsMove
(
string
portName
,
short
slvAddr
,
int
targetPosition
,
int
targetSpeed
,
int
ptpAcc
,
int
ptpDec
)
{
{
HCBoardManager
.
AbsMove
((
short
)
slvAddr
,
targetPosition
,
targetSpeed
,
ptpAcc
,
ptpDec
);
HCBoardManager
.
AbsMove
((
short
)
slvAddr
,
targetPosition
,
targetSpeed
,
ptpAcc
,
ptpDec
);
}
}
...
@@ -107,7 +107,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -107,7 +107,7 @@ namespace OnlineStore.DeviceLibrary
{
{
return
HCBoardManager
.
IsInPosition
(
slvAddr
,
PPosition
,
canErrorCount
);
return
HCBoardManager
.
IsInPosition
(
slvAddr
,
PPosition
,
canErrorCount
);
}
}
public
override
void
RelMove
(
string
portName
,
short
slvAddr
,
int
position
,
int
targetSpeed
=
0
,
int
ptpAcc
=
0
,
int
ptpDec
=
0
)
public
override
void
RelMove
(
string
portName
,
short
slvAddr
,
int
position
,
int
targetSpeed
,
int
ptpAcc
,
int
ptpDec
)
{
{
HCBoardManager
.
RelMove
(
slvAddr
,
position
,
targetSpeed
,
ptpAcc
,
ptpDec
);
HCBoardManager
.
RelMove
(
slvAddr
,
position
,
targetSpeed
,
ptpAcc
,
ptpDec
);
}
}
...
...
source/DeviceLibrary/StoreConfig/BoxConfig_1.csv
查看文件 @
45f99b7
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
AXIS,0,(轴一)旋转轴,Middle_Axis,4,HC,,
250,1000,1000,30,200,2
000,10,100,0,0
AXIS,0,(轴一)旋转轴,Middle_Axis,4,HC,,
1500,1000,1000,200,600,1
000,10,100,0,0
AXIS,0,(轴二)升降轴轴,UpDown_Axis,5,HC,,150,400,400,
30,150,10
00,10,100,0,0
AXIS,0,(轴二)升降轴轴,UpDown_Axis,5,HC,,150,400,400,
100,200,5
00,10,100,0,0
AXIS,0,(轴三)进出轴,InOut_Axis,6,HC,,
100,300,300,30,1
00,500,10,100,0,0
AXIS,0,(轴三)进出轴,InOut_Axis,6,HC,,
500,300,300,100,3
00,500,10,100,0,0
AXIS,0,(轴四)压紧轴,Comp_Axis,7,HC,,100,300,300,
50,300,5
00,10,100,0,0
AXIS,0,(轴四)压紧轴,Comp_Axis,7,HC,,100,300,300,
20,60,2
00,10,100,0,0
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
PRO,0,升降轴(轴2)进料口取料点 P1,UpDownAxis_DoorOPosition_P1,304500,,,,,,,,,,,,
PRO,0,升降轴(轴2)进料口取料点 P1,UpDownAxis_DoorOPosition_P1,304500,,,,,,,,,,,,
PRO,0,升降轴(轴2)进料口出料前点 P2,UpDownAxis_DoorIPosition_P2,325300,,,,,,,,,,,,
PRO,0,升降轴(轴2)进料口出料前点 P2,UpDownAxis_DoorIPosition_P2,325300,,,,,,,,,,,,
...
@@ -33,6 +33,6 @@ PRO,0,出入库多少次,会自动重置所有轴操作,Box_ResetACount,100,,,,,,,,,,,,
...
@@ -33,6 +33,6 @@ PRO,0,出入库多少次,会自动重置所有轴操作,Box_ResetACount,100,,,,,,,,,,,,
PRO,0,IO信号超时时间(毫秒),IOSingle_TimerOut,10000,,,,,,,,,,,,
PRO,0,IO信号超时时间(毫秒),IOSingle_TimerOut,10000,,,,,,,,,,,,
PRO,0,是否使用料盘检测信号,IsUse_Tray_Check,0,,,,,,,,,,,,
PRO,0,是否使用料盘检测信号,IsUse_Tray_Check,0,,,,,,,,,,,,
PRO,0,是否调试状态,ISDebug,0,,,,,,,,,,,,
PRO,0,是否调试状态,ISDebug,0,,,,,,,,,,,,
PRO,,每次吹气的时间(分钟),BlowAir_Time,10,,,
,,,,,,,,,
PRO,,每次吹气的时间(分钟),BlowAir_Time,10,,,
PRO,,两次吹气间隔(分钟),BlowAir_Interval,10,,,
,,,,,,,,,
PRO,,两次吹气间隔(分钟),BlowAir_Interval,10,,,
PRO,,温湿度端口号,Humiture_Port,COM5,,,
,,,,,,,,,
PRO,,温湿度端口号,Humiture_Port,COM5,,,
source/DeviceLibrary/StoreConfig/BoxConfig_2.csv
查看文件 @
45f99b7
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
AXIS,0,(轴一)旋转轴,Middle_Axis,0,HC,,
250,1000,1000,30,200,2
000,10,100,0,0
AXIS,0,(轴一)旋转轴,Middle_Axis,0,HC,,
1000,1000,1000,100,300,3
000,10,100,0,0
AXIS,0,(轴二)升降轴轴,UpDown_Axis,1,HC,,
150,400,400,30,150,1
000,10,100,0,0
AXIS,0,(轴二)升降轴轴,UpDown_Axis,1,HC,,
200,1000,1000,100,200,3
000,10,100,0,0
AXIS,0,(轴三)进出轴,InOut_Axis,2,HC,,
100,300,300,30,100,5
00,10,100,0,0
AXIS,0,(轴三)进出轴,InOut_Axis,2,HC,,
500,1000,1000,200,500,50
00,10,100,0,0
AXIS,0,(轴四)压紧轴,Comp_Axis,3,HC,,
100,300,300,50,300,5
00,10,100,0,0
AXIS,0,(轴四)压紧轴,Comp_Axis,3,HC,,
3000,1000,1000,1500,2000,30
00,10,100,0,0
,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,
PRO,0,升降轴(轴2)进料口取料点 P1,UpDownAxis_DoorOPosition_P1,304500,,,,,,,,,,,,
PRO,0,升降轴(轴2)进料口取料点 P1,UpDownAxis_DoorOPosition_P1,304500,,,,,,,,,,,,
PRO,0,升降轴(轴2)进料口出料前点 P2,UpDownAxis_DoorIPosition_P2,325300,,,,,,,,,,,,
PRO,0,升降轴(轴2)进料口出料前点 P2,UpDownAxis_DoorIPosition_P2,325300,,,,,,,,,,,,
...
@@ -33,6 +33,6 @@ PRO,0,出入库多少次,会自动重置所有轴操作,Box_ResetACount,100,,,,,,,,,,,,
...
@@ -33,6 +33,6 @@ PRO,0,出入库多少次,会自动重置所有轴操作,Box_ResetACount,100,,,,,,,,,,,,
PRO,0,IO信号超时时间(毫秒),IOSingle_TimerOut,10000,,,,,,,,,,,,
PRO,0,IO信号超时时间(毫秒),IOSingle_TimerOut,10000,,,,,,,,,,,,
PRO,0,是否使用料盘检测信号,IsUse_Tray_Check,0,,,,,,,,,,,,
PRO,0,是否使用料盘检测信号,IsUse_Tray_Check,0,,,,,,,,,,,,
PRO,0,是否调试状态,ISDebug,0,,,,,,,,,,,,
PRO,0,是否调试状态,ISDebug,0,,,,,,,,,,,,
PRO,,每次吹气的时间(分钟),BlowAir_Time,10,,,
,,,,,,,,,
PRO,,每次吹气的时间(分钟),BlowAir_Time,10,,,
PRO,,两次吹气间隔(分钟),BlowAir_Interval,10,,,
,,,,,,,,,
PRO,,两次吹气间隔(分钟),BlowAir_Interval,10,,,
PRO,,温湿度端口号,Humiture_Port,COM5,,,
,,,,,,,,,
PRO,,温湿度端口号,Humiture_Port,COM5,,,
source/DeviceLibrary/bean/KTK_Store.cs
查看文件 @
45f99b7
...
@@ -223,7 +223,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -223,7 +223,7 @@ namespace OnlineStore.DeviceLibrary
{
{
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitAxis
(
moveAxis
,
targetPosition
,
targetSpeed
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitAxis
(
moveAxis
,
targetPosition
,
targetSpeed
));
moveAxis
.
TargetPosition
=
targetPosition
;
moveAxis
.
TargetPosition
=
targetPosition
;
AxisManager
.
instance
.
AbsMove
(
moveAxis
.
DeviceName
,
moveAxis
.
GetAxisValue
(),
targetPosition
,
targetSpeed
);
AxisManager
.
instance
.
AbsMove
(
moveAxis
.
DeviceName
,
moveAxis
.
GetAxisValue
(),
targetPosition
,
targetSpeed
,
moveAxis
.
AddSpeed
,
moveAxis
.
DelSpeed
);
}
}
protected
bool
ACAxisMoveIsEnd
(
ConfigMoveAxis
moveAxis
,
int
targetPosition
,
int
targetSpeed
,
out
string
msg
)
protected
bool
ACAxisMoveIsEnd
(
ConfigMoveAxis
moveAxis
,
int
targetPosition
,
int
targetSpeed
,
out
string
msg
)
...
@@ -245,7 +245,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -245,7 +245,7 @@ namespace OnlineStore.DeviceLibrary
{
{
LogUtil
.
error
(
moveAxis
.
DisplayStr
+
"目标位置["
+
targetPosition
+
"]当前位置["
+
outCount
+
LogUtil
.
error
(
moveAxis
.
DisplayStr
+
"目标位置["
+
targetPosition
+
"]当前位置["
+
outCount
+
"],误差过大,重新开始运动,剩余["
+
MoveInfo
.
CanWhileCount
+
"]次"
);
"],误差过大,重新开始运动,剩余["
+
MoveInfo
.
CanWhileCount
+
"]次"
);
AxisManager
.
instance
.
AbsMove
(
moveAxis
.
DeviceName
,
moveAxis
.
GetAxisValue
(),
targetPosition
,
targetSpeed
);
AxisManager
.
instance
.
AbsMove
(
moveAxis
.
DeviceName
,
moveAxis
.
GetAxisValue
(),
targetPosition
,
targetSpeed
,
moveAxis
.
AddSpeed
,
moveAxis
.
DelSpeed
);
MoveInfo
.
CanWhileCount
--;
MoveInfo
.
CanWhileCount
--;
}
}
else
else
...
@@ -420,6 +420,16 @@ namespace OnlineStore.DeviceLibrary
...
@@ -420,6 +420,16 @@ namespace OnlineStore.DeviceLibrary
}
}
}
}
public
string
GetMoveStr
()
{
string
msg
=
""
;
msg
+=
"状态: "
+
storeRunStatus
+
"\t "
+
" "
+
storeStatus
+
"\n"
;
msg
+=
"alarm: "
+
alarmType
+
"\n"
;
msg
+=
"Move:"
+
MoveInfo
.
MoveType
+
" "
+
MoveInfo
.
MoveStep
+
"\n"
;
return
msg
;
}
public
void
IOMove
(
string
IoType
,
IO_VALUE
value
)
public
void
IOMove
(
string
IoType
,
IO_VALUE
value
)
{
{
IOManager
.
IOMove
(
IoType
,
value
,
baseConfig
.
DeviceID
);
IOManager
.
IOMove
(
IoType
,
value
,
baseConfig
.
DeviceID
);
...
...
source/HCSingleStore/App.config
查看文件 @
45f99b7
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<!-- 停止吹气的判断值(配置值=服务器发送的湿度值-停止吹气值)-->
<!-- 停止吹气的判断值(配置值=服务器发送的湿度值-停止吹气值)-->
<
add
key
=
"StopBlowValue"
value
=
"4"
/>
<
add
key
=
"StopBlowValue"
value
=
"4"
/>
<!--
Server
address
-->
<!--
Server
address
-->
<
add
key
=
"http.server"
value
=
"http://192.168.101.11/myproject/"
/
>
<
!--<
add
key
=
"http.server"
value
=
"http://192.168.101.11/myproject/"
/>--
>
<!--
storeType
-->
<!--
storeType
-->
<
add
key
=
"store_count"
value
=
"2"
/>
<
add
key
=
"store_count"
value
=
"2"
/>
<!--
start
one
store
config
-->
<!--
start
one
store
config
-->
...
...
source/HCSingleStore/FrmBox.Designer.cs
查看文件 @
45f99b7
...
@@ -34,6 +34,27 @@
...
@@ -34,6 +34,27 @@
this
.
btnAxisP
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnAxisP
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabPage2
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
tabPage2
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
lblMoveStr
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
txt4Target
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblTargetP4
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblActual4
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label7
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtMiddleTarget
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInoutTarget
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtUpdownTarget
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label12
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTargetP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblActual1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblTargetP3
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblActual3
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblTargetP2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblActual2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label4
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label3
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label1
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label43
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label42
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
groupBox2
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox2
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
button6
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button6
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button3
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button3
=
new
System
.
Windows
.
Forms
.
Button
();
...
@@ -44,33 +65,21 @@
...
@@ -44,33 +65,21 @@
this
.
btnCon
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnCon
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
lblWarnMsg
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblWarnMsg
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
tabPage3
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
tabPage3
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
btnStartAutoCheck
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnOpenD
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
btnCloseD
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnOpenDo
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
axisMoveControl1
=
new
OnlineStore
.
AutoCountClient
.
AxisMoveControl
();
this
.
btnCloseDO
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtDOIndex
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtDoName
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
btnOpenDoor
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label17
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnCloseDoor
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label14
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtWriteTime
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label5
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
cmbWriteIO
=
new
System
.
Windows
.
Forms
.
ComboBox
();
this
.
groupBox5
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
tableLayoutPanel2
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupBox6
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupInout
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupInout
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
lblAutoMsg
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblAutoMsg
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnStartAuTo
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnStartAuTo
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label9
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label9
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnStartAutoCheck
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnSavePosition
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnSavePosition
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtJiange
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtJiange
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtComP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtComP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInOutP2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInOutP2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInOutP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInOutP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtMiddleP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtMiddleP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
btnCheckPos
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtUpDownP7
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtUpDownP7
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtUpDownP8
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtUpDownP8
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtUpDownP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtUpDownP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
...
@@ -102,39 +111,35 @@
...
@@ -102,39 +111,35 @@
this
.
btnUpDownP6
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnUpDownP6
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnUpDownP3
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnUpDownP3
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnUpDownP4
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnUpDownP4
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnCheckPos
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
tabPage1
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
tabPage1
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
axisMoveControl1
=
new
OnlineStore
.
AutoCountClient
.
AxisMoveControl
();
this
.
panel1
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
txt4Target
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
btnOpenDo
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
lblTargetP4
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
btnCloseDO
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
lblActual4
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtDOIndex
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label7
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtDoName
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtMiddleTarget
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
btnOpenDoor
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtInoutTarget
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label17
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtUpdownTarget
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
btnCloseDoor
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label12
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label14
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTargetP1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtWriteTime
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
lblActual1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label5
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTargetP3
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
cmbWriteIO
=
new
System
.
Windows
.
Forms
.
ComboBox
();
this
.
lblActual3
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
groupBox6
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
lblTargetP2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
lblActual2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
groupBox5
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
label4
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
tableLayoutPanel2
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
label3
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label1
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label43
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label42
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
tabControl1
.
SuspendLayout
();
this
.
tabControl1
.
SuspendLayout
();
this
.
tabPage2
.
SuspendLayout
();
this
.
tabPage2
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox2
.
SuspendLayout
();
this
.
groupBox2
.
SuspendLayout
();
this
.
tabPage3
.
SuspendLayout
();
this
.
tabPage3
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox5
.
SuspendLayout
();
this
.
groupBox6
.
SuspendLayout
();
this
.
groupInout
.
SuspendLayout
();
this
.
groupInout
.
SuspendLayout
();
this
.
tabPage1
.
SuspendLayout
();
this
.
tabPage1
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
panel1
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox6
.
SuspendLayout
();
this
.
groupBox5
.
SuspendLayout
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// timer1
// timer1
...
@@ -178,46 +183,54 @@
...
@@ -178,46 +183,54 @@
//
//
// btnUpdown
// btnUpdown
//
//
this
.
btnUpdown
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpdown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpdown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpdown
.
Location
=
new
System
.
Drawing
.
Point
(
581
,
220
);
this
.
btnUpdown
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpdown
.
Location
=
new
System
.
Drawing
.
Point
(
707
,
416
);
this
.
btnUpdown
.
Name
=
"btnUpdown"
;
this
.
btnUpdown
.
Name
=
"btnUpdown"
;
this
.
btnUpdown
.
Size
=
new
System
.
Drawing
.
Size
(
1
18
,
39
);
this
.
btnUpdown
.
Size
=
new
System
.
Drawing
.
Size
(
1
32
,
39
);
this
.
btnUpdown
.
TabIndex
=
14
;
this
.
btnUpdown
.
TabIndex
=
14
;
this
.
btnUpdown
.
Text
=
"升降轴位置调试"
;
this
.
btnUpdown
.
Text
=
"升降轴位置调试"
;
this
.
btnUpdown
.
UseVisualStyleBackColor
=
tru
e
;
this
.
btnUpdown
.
UseVisualStyleBackColor
=
fals
e
;
this
.
btnUpdown
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpdown_Click
);
this
.
btnUpdown
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpdown_Click
);
//
//
// btnAxisOff
// btnAxisOff
//
//
this
.
btnAxisOff
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnAxisOff
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOff
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOff
.
Location
=
new
System
.
Drawing
.
Point
(
710
,
161
);
this
.
btnAxisOff
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisOff
.
Location
=
new
System
.
Drawing
.
Point
(
552
,
460
);
this
.
btnAxisOff
.
Name
=
"btnAxisOff"
;
this
.
btnAxisOff
.
Name
=
"btnAxisOff"
;
this
.
btnAxisOff
.
Size
=
new
System
.
Drawing
.
Size
(
1
16
,
39
);
this
.
btnAxisOff
.
Size
=
new
System
.
Drawing
.
Size
(
1
32
,
39
);
this
.
btnAxisOff
.
TabIndex
=
11
;
this
.
btnAxisOff
.
TabIndex
=
11
;
this
.
btnAxisOff
.
Text
=
"关闭所有伺服"
;
this
.
btnAxisOff
.
Text
=
"关闭所有伺服"
;
this
.
btnAxisOff
.
UseVisualStyleBackColor
=
tru
e
;
this
.
btnAxisOff
.
UseVisualStyleBackColor
=
fals
e
;
this
.
btnAxisOff
.
Click
+=
new
System
.
EventHandler
(
this
.
料仓运转
OFFToolStripMenuItem_Click
);
this
.
btnAxisOff
.
Click
+=
new
System
.
EventHandler
(
this
.
料仓运转
OFFToolStripMenuItem_Click
);
//
//
// btnAxisOn
// btnAxisOn
//
//
this
.
btnAxisOn
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnAxisOn
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOn
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisOn
.
Location
=
new
System
.
Drawing
.
Point
(
581
,
161
);
this
.
btnAxisOn
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisOn
.
Location
=
new
System
.
Drawing
.
Point
(
552
,
416
);
this
.
btnAxisOn
.
Name
=
"btnAxisOn"
;
this
.
btnAxisOn
.
Name
=
"btnAxisOn"
;
this
.
btnAxisOn
.
Size
=
new
System
.
Drawing
.
Size
(
1
16
,
39
);
this
.
btnAxisOn
.
Size
=
new
System
.
Drawing
.
Size
(
1
32
,
39
);
this
.
btnAxisOn
.
TabIndex
=
10
;
this
.
btnAxisOn
.
TabIndex
=
10
;
this
.
btnAxisOn
.
Text
=
"打开所有伺服"
;
this
.
btnAxisOn
.
Text
=
"打开所有伺服"
;
this
.
btnAxisOn
.
UseVisualStyleBackColor
=
tru
e
;
this
.
btnAxisOn
.
UseVisualStyleBackColor
=
fals
e
;
this
.
btnAxisOn
.
Click
+=
new
System
.
EventHandler
(
this
.
料仓运转
ONToolStripMenuItem_Click
);
this
.
btnAxisOn
.
Click
+=
new
System
.
EventHandler
(
this
.
料仓运转
ONToolStripMenuItem_Click
);
//
//
// btnAxisP
// btnAxisP
//
//
this
.
btnAxisP
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnAxisP
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisP
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnAxisP
.
Location
=
new
System
.
Drawing
.
Point
(
710
,
220
);
this
.
btnAxisP
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnAxisP
.
Location
=
new
System
.
Drawing
.
Point
(
707
,
460
);
this
.
btnAxisP
.
Name
=
"btnAxisP"
;
this
.
btnAxisP
.
Name
=
"btnAxisP"
;
this
.
btnAxisP
.
Size
=
new
System
.
Drawing
.
Size
(
1
16
,
39
);
this
.
btnAxisP
.
Size
=
new
System
.
Drawing
.
Size
(
1
32
,
39
);
this
.
btnAxisP
.
TabIndex
=
8
;
this
.
btnAxisP
.
TabIndex
=
8
;
this
.
btnAxisP
.
Text
=
"轴卡点动"
;
this
.
btnAxisP
.
Text
=
"轴卡点动"
;
this
.
btnAxisP
.
UseVisualStyleBackColor
=
tru
e
;
this
.
btnAxisP
.
UseVisualStyleBackColor
=
fals
e
;
this
.
btnAxisP
.
Click
+=
new
System
.
EventHandler
(
this
.
轴卡点动
ToolStripMenuItem_Click
);
this
.
btnAxisP
.
Click
+=
new
System
.
EventHandler
(
this
.
轴卡点动
ToolStripMenuItem_Click
);
//
//
// tabControl1
// tabControl1
...
@@ -231,11 +244,13 @@
...
@@ -231,11 +244,13 @@
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
10
83
,
644
);
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
10
99
,
640
);
this
.
tabControl1
.
TabIndex
=
272
;
this
.
tabControl1
.
TabIndex
=
272
;
//
//
// tabPage2
// tabPage2
//
//
this
.
tabPage2
.
Controls
.
Add
(
this
.
lblMoveStr
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
groupBox2
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
groupBox2
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
lblTemp
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
lblTemp
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
btnStoreStart
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
btnStoreStart
);
...
@@ -247,343 +262,372 @@
...
@@ -247,343 +262,372 @@
this
.
tabPage2
.
Controls
.
Add
(
this
.
lblWarnMsg
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
lblWarnMsg
);
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
10
75
,
611
);
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
10
91
,
607
);
this
.
tabPage2
.
TabIndex
=
3
;
this
.
tabPage2
.
TabIndex
=
3
;
this
.
tabPage2
.
Text
=
" 设备状态 "
;
this
.
tabPage2
.
Text
=
" 设备状态 "
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
//
//
//
groupBox2
//
lblMoveStr
//
//
this
.
groupBox2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
lblMoveStr
.
AutoSize
=
true
;
this
.
groupBox2
.
Controls
.
Add
(
this
.
button6
);
this
.
lblMoveStr
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox2
.
Controls
.
Add
(
this
.
button3
);
this
.
lblMoveStr
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
groupBox2
.
Controls
.
Add
(
this
.
button5
);
this
.
lblMoveStr
.
Location
=
new
System
.
Drawing
.
Point
(
834
,
76
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
521
);
this
.
lblMoveStr
.
Name
=
"lblMoveStr"
;
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
lblMoveStr
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
476
,
78
);
this
.
lblMoveStr
.
TabIndex
=
277
;
this
.
groupBox2
.
TabIndex
=
276
;
this
.
lblMoveStr
.
Text
=
"等待启动"
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
lblMoveStr
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
groupBox2
.
Text
=
"流水线通信测试"
;
this
.
groupBox2
.
Visible
=
false
;
//
//
//
button6
//
groupBox1
//
//
this
.
button6
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
groupBox1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
button6
.
Location
=
new
System
.
Drawing
.
Point
(
317
,
32
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txt4Target
);
this
.
button6
.
Name
=
"button6"
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblTargetP4
);
this
.
button6
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
33
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblActual4
);
this
.
button6
.
TabIndex
=
275
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
label7
);
this
.
button6
.
Text
=
"发送"
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtMiddleTarget
);
this
.
button6
.
UseVisualStyleBackColor
=
true
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtInoutTarget
);
this
.
button6
.
Click
+=
new
System
.
EventHandler
(
this
.
button6_Click
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtUpdownTarget
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label12
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblTargetP1
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblActual1
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblTargetP3
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblActual3
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblTargetP2
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblActual2
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label4
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label3
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label1
);
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
(
11
,
443
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
476
,
136
);
this
.
groupBox1
.
TabIndex
=
217
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"伺服状态"
;
//
//
//
button3
//
txt4Target
//
//
this
.
button3
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
txt4Target
.
Location
=
new
System
.
Drawing
.
Point
(
377
,
103
);
this
.
button3
.
Location
=
new
System
.
Drawing
.
Point
(
64
,
31
);
this
.
txt4Target
.
Name
=
"txt4Target"
;
this
.
button3
.
Name
=
"button3"
;
this
.
txt4Target
.
ReadOnly
=
true
;
this
.
button3
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
33
);
this
.
txt4Target
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
button3
.
TabIndex
=
273
;
this
.
txt4Target
.
TabIndex
=
270
;
this
.
button3
.
Text
=
"连接"
;
this
.
button3
.
UseVisualStyleBackColor
=
true
;
this
.
button3
.
Click
+=
new
System
.
EventHandler
(
this
.
button3_Click
);
//
//
//
button5
//
lblTargetP4
//
//
this
.
button5
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblTargetP4
.
Location
=
new
System
.
Drawing
.
Point
(
377
,
75
);
this
.
button5
.
Location
=
new
System
.
Drawing
.
Point
(
193
,
32
);
this
.
lblTargetP4
.
Name
=
"lblTargetP4"
;
this
.
button5
.
Name
=
"button5"
;
this
.
lblTargetP4
.
ReadOnly
=
true
;
this
.
button5
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
33
);
this
.
lblTargetP4
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
button5
.
TabIndex
=
274
;
this
.
lblTargetP4
.
TabIndex
=
269
;
this
.
button5
.
Text
=
"停止"
;
this
.
button5
.
UseVisualStyleBackColor
=
true
;
this
.
button5
.
Click
+=
new
System
.
EventHandler
(
this
.
button5_Click
);
//
//
// lbl
Temp
// lbl
Actual4
//
//
this
.
lblTemp
.
AutoSize
=
true
;
this
.
lblActual4
.
Location
=
new
System
.
Drawing
.
Point
(
377
,
47
);
this
.
lblTemp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblActual4
.
Name
=
"lblActual4"
;
this
.
lblTemp
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
lblActual4
.
ReadOnly
=
true
;
this
.
lblTemp
.
Location
=
new
System
.
Drawing
.
Point
(
420
,
22
);
this
.
lblActual4
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
lblTemp
.
Name
=
"lblTemp"
;
this
.
lblActual4
.
TabIndex
=
268
;
this
.
lblTemp
.
Size
=
new
System
.
Drawing
.
Size
(
159
,
20
);
this
.
lblTemp
.
TabIndex
=
275
;
this
.
lblTemp
.
Text
=
"当前温度--,当前湿度--"
;
//
//
// l
blMoveEquipInfo
// l
abel7
//
//
this
.
lblMoveEquipInfo
.
AutoSize
=
true
;
this
.
label7
.
AutoSize
=
true
;
this
.
lblMoveEquipInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label7
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblMoveEquipInfo
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
label7
.
Location
=
new
System
.
Drawing
.
Point
(
384
,
20
);
this
.
lblMoveEquipInfo
.
Location
=
new
System
.
Drawing
.
Point
(
307
,
76
);
this
.
label7
.
Name
=
"label7"
;
this
.
lblMoveEquipInfo
.
Name
=
"lblMoveEquipInfo"
;
this
.
label7
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
lblMoveEquipInfo
.
Size
=
new
System
.
Drawing
.
Size
(
107
,
17
);
this
.
label7
.
TabIndex
=
267
;
this
.
lblMoveEquipInfo
.
TabIndex
=
274
;
this
.
label7
.
Text
=
"轴四:压紧轴"
;
this
.
lblMoveEquipInfo
.
Text
=
"移栽状态:不可出库"
;
//
//
//
lblThisSta
//
txtMiddleTarget
//
//
this
.
lblThisSta
.
AutoSize
=
true
;
this
.
txtMiddleTarget
.
Location
=
new
System
.
Drawing
.
Point
(
105
,
104
);
this
.
lblThisSta
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtMiddleTarget
.
Name
=
"txtMiddleTarget"
;
this
.
lblThisSta
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
txtMiddleTarget
.
ReadOnly
=
true
;
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
140
,
76
);
this
.
txtMiddleTarget
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
txtMiddleTarget
.
TabIndex
=
262
;
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
lblThisSta
.
TabIndex
=
216
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
//
//
btnCon
//
txtInoutTarget
//
//
this
.
btnCon
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
txtInoutTarget
.
Location
=
new
System
.
Drawing
.
Point
(
287
,
104
);
this
.
btnCon
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
txtInoutTarget
.
Name
=
"txtInoutTarget"
;
this
.
btnCon
.
Location
=
new
System
.
Drawing
.
Point
(
885
,
64
);
this
.
txtInoutTarget
.
ReadOnly
=
true
;
this
.
btnCon
.
Name
=
"btnCon"
;
this
.
txtInoutTarget
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
btnCon
.
Size
=
new
System
.
Drawing
.
Size
(
175
,
39
);
this
.
txtInoutTarget
.
TabIndex
=
260
;
this
.
btnCon
.
TabIndex
=
273
;
this
.
btnCon
.
Text
=
"忽略检测信号,继续出库"
;
this
.
btnCon
.
UseVisualStyleBackColor
=
true
;
this
.
btnCon
.
Click
+=
new
System
.
EventHandler
(
this
.
btnCon_Click
);
//
//
//
lblWarnMsg
//
txtUpdownTarget
//
//
this
.
lblWarnMsg
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtUpdownTarget
.
Location
=
new
System
.
Drawing
.
Point
(
195
,
104
);
this
.
lblWarnMsg
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
txtUpdownTarget
.
Name
=
"txtUpdownTarget"
;
this
.
lblWarnMsg
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
124
);
this
.
txtUpdownTarget
.
ReadOnly
=
true
;
this
.
lblWarnMsg
.
Name
=
"lblWarnMsg"
;
this
.
txtUpdownTarget
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
lblWarnMsg
.
Size
=
new
System
.
Drawing
.
Size
(
1049
,
104
);
this
.
txtUpdownTarget
.
TabIndex
=
259
;
this
.
lblWarnMsg
.
TabIndex
=
224
;
this
.
lblWarnMsg
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
//
//
tabPage3
//
label12
//
//
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnStartAutoCheck
);
this
.
label12
.
AutoSize
=
true
;
this
.
tabPage3
.
Controls
.
Add
(
this
.
groupBox4
);
this
.
label12
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
tabPage3
.
Controls
.
Add
(
this
.
groupBox5
);
this
.
label12
.
Location
=
new
System
.
Drawing
.
Point
(
17
,
106
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
groupBox6
);
this
.
label12
.
Name
=
"label12"
;
this
.
tabPage3
.
Controls
.
Add
(
this
.
groupInout
);
this
.
label12
.
Size
=
new
System
.
Drawing
.
Size
(
83
,
17
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnCheckPos
);
this
.
label12
.
TabIndex
=
258
;
this
.
tabPage3
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
label12
.
Text
=
"出入库目标值:"
;
this
.
tabPage3
.
Name
=
"tabPage3"
;
this
.
tabPage3
.
Size
=
new
System
.
Drawing
.
Size
(
1075
,
611
);
this
.
tabPage3
.
TabIndex
=
2
;
this
.
tabPage3
.
Text
=
" 库位操作 "
;
this
.
tabPage3
.
UseVisualStyleBackColor
=
true
;
//
//
//
btnStartAutoCheck
//
lblTargetP1
//
//
this
.
btnStartAutoCheck
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
lblTargetP1
.
Location
=
new
System
.
Drawing
.
Point
(
105
,
76
);
this
.
btnStartAutoCheck
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblTargetP1
.
Name
=
"lblTargetP1"
;
this
.
btnStartAutoCheck
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTargetP1
.
ReadOnly
=
true
;
this
.
btnStartAutoCheck
.
Location
=
new
System
.
Drawing
.
Point
(
649
,
477
);
this
.
lblTargetP1
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
btnStartAutoCheck
.
Name
=
"btnStartAutoCheck"
;
this
.
lblTargetP1
.
TabIndex
=
257
;
this
.
btnStartAutoCheck
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
38
);
this
.
btnStartAutoCheck
.
TabIndex
=
274
;
this
.
btnStartAutoCheck
.
Text
=
"开始自动盘点"
;
this
.
btnStartAutoCheck
.
UseVisualStyleBackColor
=
false
;
this
.
btnStartAutoCheck
.
Click
+=
new
System
.
EventHandler
(
this
.
button1_Click_1
);
//
//
//
groupBox4
//
lblActual1
//
//
this
.
groupBox4
.
Controls
.
Add
(
this
.
btnOpenDo
);
this
.
lblActual1
.
Location
=
new
System
.
Drawing
.
Point
(
105
,
48
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
btnCloseDO
);
this
.
lblActual1
.
Name
=
"lblActual1"
;
this
.
groupBox4
.
Controls
.
Add
(
this
.
txtDOIndex
);
this
.
lblActual1
.
ReadOnly
=
true
;
this
.
groupBox4
.
Controls
.
Add
(
this
.
txtDoName
);
this
.
lblActual1
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
btnOpenDoor
);
this
.
lblActual1
.
TabIndex
=
256
;
this
.
groupBox4
.
Controls
.
Add
(
this
.
label17
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
btnCloseDoor
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
label14
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
txtWriteTime
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
label5
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
cmbWriteIO
);
this
.
groupBox4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
532
,
326
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
472
,
132
);
this
.
groupBox4
.
TabIndex
=
108
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"DO写入"
;
//
//
//
btnOpenDo
//
lblTargetP3
//
//
this
.
btnOpenDo
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
lblTargetP3
.
Location
=
new
System
.
Drawing
.
Point
(
287
,
76
);
this
.
btnOpenDo
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblTargetP3
.
Name
=
"lblTargetP3"
;
this
.
btnOpenDo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTargetP3
.
ReadOnly
=
true
;
this
.
btnOpenDo
.
Location
=
new
System
.
Drawing
.
Point
(
124
,
88
);
this
.
lblTargetP3
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
btnOpenDo
.
Name
=
"btnOpenDo"
;
this
.
lblTargetP3
.
TabIndex
=
178
;
this
.
btnOpenDo
.
Size
=
new
System
.
Drawing
.
Size
(
91
,
35
);
this
.
btnOpenDo
.
TabIndex
=
274
;
this
.
btnOpenDo
.
Text
=
"打开"
;
this
.
btnOpenDo
.
UseVisualStyleBackColor
=
false
;
this
.
btnOpenDo
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOpenDo_Click
);
//
//
//
btnCloseDO
//
lblActual3
//
//
this
.
btnCloseDO
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
lblActual3
.
Location
=
new
System
.
Drawing
.
Point
(
287
,
48
);
this
.
btnCloseDO
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblActual3
.
Name
=
"lblActual3"
;
this
.
btnCloseDO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblActual3
.
ReadOnly
=
true
;
this
.
btnCloseDO
.
Location
=
new
System
.
Drawing
.
Point
(
221
,
88
);
this
.
lblActual3
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
btnCloseDO
.
Name
=
"btnCloseDO"
;
this
.
lblActual3
.
TabIndex
=
177
;
this
.
btnCloseDO
.
Size
=
new
System
.
Drawing
.
Size
(
91
,
35
);
this
.
btnCloseDO
.
TabIndex
=
273
;
this
.
btnCloseDO
.
Text
=
"关闭"
;
this
.
btnCloseDO
.
UseVisualStyleBackColor
=
false
;
this
.
btnCloseDO
.
Click
+=
new
System
.
EventHandler
(
this
.
btnCloseDO_Click
);
//
//
//
txtDOIndex
//
lblTargetP2
//
//
this
.
txtDOIndex
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTargetP2
.
Location
=
new
System
.
Drawing
.
Point
(
195
,
76
);
this
.
txtDOIndex
.
Location
=
new
System
.
Drawing
.
Point
(
266
,
55
);
this
.
lblTargetP2
.
Name
=
"lblTargetP2"
;
this
.
txtDOIndex
.
MaxLength
=
10
;
this
.
lblTargetP2
.
ReadOnly
=
true
;
this
.
txtDOIndex
.
Name
=
"txtDOIndex"
;
this
.
lblTargetP2
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
txtDOIndex
.
Size
=
new
System
.
Drawing
.
Size
(
46
,
26
);
this
.
lblTargetP2
.
TabIndex
=
176
;
this
.
txtDOIndex
.
TabIndex
=
242
;
this
.
txtDOIndex
.
Text
=
"0"
;
//
//
//
txtDoName
//
lblActual2
//
//
this
.
txtDoName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblActual2
.
Location
=
new
System
.
Drawing
.
Point
(
195
,
48
);
this
.
txtDoName
.
Location
=
new
System
.
Drawing
.
Point
(
66
,
56
);
this
.
lblActual2
.
Name
=
"lblActual2"
;
this
.
txtDoName
.
MaxLength
=
10
;
this
.
lblActual2
.
ReadOnly
=
true
;
this
.
txtDoName
.
Name
=
"txtDoName"
;
this
.
lblActual2
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
txtDoName
.
Size
=
new
System
.
Drawing
.
Size
(
141
,
26
);
this
.
lblActual2
.
TabIndex
=
175
;
this
.
txtDoName
.
TabIndex
=
241
;
this
.
txtDoName
.
Text
=
"0"
;
//
//
//
btnOpenDoor
//
label4
//
//
this
.
btnOpenDoor
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
label4
.
AutoSize
=
true
;
this
.
btnOpenDoor
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label4
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
btnOpenDoor
.
Location
=
new
System
.
Drawing
.
Point
(
346
,
29
);
this
.
label4
.
Location
=
new
System
.
Drawing
.
Point
(
294
,
20
);
this
.
btnOpenDoor
.
Name
=
"btnOpenDoor"
;
this
.
label4
.
Name
=
"label4"
;
this
.
btnOpenDoor
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
35
);
this
.
label4
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
btnOpenDoor
.
TabIndex
=
248
;
this
.
label4
.
TabIndex
=
100
;
this
.
btnOpenDoor
.
Text
=
"打开仓门"
;
this
.
label4
.
Text
=
"轴三:进出轴"
;
this
.
btnOpenDoor
.
UseVisualStyleBackColor
=
true
;
this
.
btnOpenDoor
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOpenDoor_Click
);
//
//
// label
17
// label
3
//
//
this
.
label17
.
AutoSize
=
true
;
this
.
label3
.
AutoSize
=
true
;
this
.
label17
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label3
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label17
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
202
,
20
);
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
61
);
this
.
label3
.
Name
=
"label3"
;
this
.
label17
.
Name
=
"label17"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label17
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label3
.
TabIndex
=
99
;
this
.
label17
.
TabIndex
=
240
;
this
.
label3
.
Text
=
"轴二:上下轴"
;
this
.
label17
.
Text
=
"设备:"
;
this
.
label17
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
//
btnCloseDoor
//
label1
//
//
this
.
btnCloseDoor
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
label1
.
AutoSize
=
true
;
this
.
btnCloseDoor
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
btnCloseDoor
.
Location
=
new
System
.
Drawing
.
Point
(
346
,
69
);
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
112
,
20
);
this
.
btnCloseDoor
.
Name
=
"btnCloseDoor"
;
this
.
label1
.
Name
=
"label1"
;
this
.
btnCloseDoor
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
35
);
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
btnCloseDoor
.
TabIndex
=
249
;
this
.
label1
.
TabIndex
=
97
;
this
.
btnCloseDoor
.
Text
=
"关闭仓门"
;
this
.
label1
.
Text
=
"轴一:旋转轴"
;
this
.
btnCloseDoor
.
UseVisualStyleBackColor
=
true
;
this
.
btnCloseDoor
.
Click
+=
new
System
.
EventHandler
(
this
.
btnCloseDoor_Click
);
//
//
// label
14
// label
43
//
//
this
.
label14
.
AutoSize
=
true
;
this
.
label43
.
AutoSize
=
true
;
this
.
label14
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label43
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label14
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label43
.
Location
=
new
System
.
Drawing
.
Point
(
29
,
49
);
this
.
label14
.
Location
=
new
System
.
Drawing
.
Point
(
219
,
61
);
this
.
label43
.
Name
=
"label43"
;
this
.
label14
.
Name
=
"label14"
;
this
.
label43
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label14
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label43
.
TabIndex
=
23
;
this
.
label14
.
TabIndex
=
239
;
this
.
label43
.
Text
=
"实际位置:"
;
this
.
label14
.
Text
=
"地址:"
;
this
.
label14
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
//
txtWriteTime
//
label42
//
//
this
.
txtWriteTime
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)))
;
this
.
label42
.
AutoSize
=
true
;
this
.
txtWriteTime
.
Location
=
new
System
.
Drawing
.
Point
(
70
,
92
);
this
.
label42
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
))
);
this
.
txtWriteTime
.
MaxLength
=
10
;
this
.
label42
.
Location
=
new
System
.
Drawing
.
Point
(
29
,
76
)
;
this
.
txtWriteTime
.
Name
=
"txtWriteTime
"
;
this
.
label42
.
Name
=
"label42
"
;
this
.
txtWriteTime
.
Size
=
new
System
.
Drawing
.
Size
(
50
,
26
);
this
.
label42
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
txtWriteTime
.
TabIndex
=
238
;
this
.
label42
.
TabIndex
=
24
;
this
.
txtWriteTime
.
Text
=
"0
"
;
this
.
label42
.
Text
=
"规划位置:
"
;
//
//
//
label5
//
groupBox2
//
//
this
.
label5
.
AutoSize
=
true
;
this
.
groupBox2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
label5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox2
.
Controls
.
Add
(
this
.
button6
);
this
.
label5
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
groupBox2
.
Controls
.
Add
(
this
.
button3
);
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
97
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button5
);
this
.
label5
.
Name
=
"label5"
;
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
359
);
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
60
,
17
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
label5
.
TabIndex
=
237
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
476
,
78
);
this
.
label5
.
Text
=
"定时(ms):"
;
this
.
groupBox2
.
TabIndex
=
276
;
this
.
label5
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
Text
=
"流水线通信测试"
;
this
.
groupBox2
.
Visible
=
false
;
//
//
//
cmbWriteIO
//
button6
//
//
this
.
cmbWriteIO
.
DisplayMember
=
"ProName"
;
this
.
button6
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cmbWriteIO
.
DropDownStyle
=
System
.
Windows
.
Forms
.
ComboBoxStyle
.
DropDownList
;
this
.
button6
.
Location
=
new
System
.
Drawing
.
Point
(
317
,
32
);
this
.
cmbWriteIO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
button6
.
Name
=
"button6"
;
this
.
cmbWriteIO
.
FormattingEnabled
=
true
;
this
.
button6
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
33
);
this
.
cmbWriteIO
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
22
);
this
.
button6
.
TabIndex
=
275
;
this
.
cmbWriteIO
.
Name
=
"cmbWriteIO"
;
this
.
button6
.
Text
=
"发送"
;
this
.
cmbWriteIO
.
Size
=
new
System
.
Drawing
.
Size
(
298
,
28
);
this
.
button6
.
UseVisualStyleBackColor
=
true
;
this
.
cmbWriteIO
.
TabIndex
=
234
;
this
.
button6
.
Click
+=
new
System
.
EventHandler
(
this
.
button6_Click
);
this
.
cmbWriteIO
.
ValueMember
=
"ProName"
;
this
.
cmbWriteIO
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cmbWriteIO_SelectedIndexChanged
);
//
//
//
groupBox5
//
button3
//
//
this
.
groupBox5
.
Controls
.
Add
(
this
.
tableLayoutPanel2
)
;
this
.
button3
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
groupBox5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
))
);
this
.
button3
.
Location
=
new
System
.
Drawing
.
Point
(
64
,
31
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
775
,
3
)
;
this
.
button3
.
Name
=
"button3"
;
this
.
groupBox5
.
Name
=
"groupBox5"
;
this
.
button3
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
33
)
;
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
317
)
;
this
.
button3
.
TabIndex
=
273
;
this
.
groupBox5
.
TabIndex
=
107
;
this
.
button3
.
Text
=
"连接"
;
this
.
groupBox5
.
TabStop
=
fals
e
;
this
.
button3
.
UseVisualStyleBackColor
=
tru
e
;
this
.
groupBox5
.
Text
=
"DO列表"
;
this
.
button3
.
Click
+=
new
System
.
EventHandler
(
this
.
button3_Click
)
;
//
//
//
tableLayoutPanel2
//
button5
//
//
this
.
tableLayoutPanel2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
button5
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
button5
.
Location
=
new
System
.
Drawing
.
Point
(
193
,
32
);
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
button5
.
Name
=
"button5"
;
this
.
tableLayoutPanel2
.
ColumnCount
=
1
;
this
.
button5
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
33
);
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
button5
.
TabIndex
=
274
;
this
.
tableLayoutPanel2
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
14
);
this
.
button5
.
Text
=
"停止"
;
this
.
tableLayoutPanel2
.
Name
=
"tableLayoutPanel2"
;
this
.
button5
.
UseVisualStyleBackColor
=
true
;
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
button5
.
Click
+=
new
System
.
EventHandler
(
this
.
button5_Click
);
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
218
,
297
);
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
//
//
//
groupBox6
//
lblTemp
//
//
this
.
groupBox6
.
Controls
.
Add
(
this
.
tableLayoutPanel1
)
;
this
.
lblTemp
.
AutoSize
=
true
;
this
.
groupBox6
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTemp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
532
,
3
)
;
this
.
lblTemp
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
lblTemp
.
Location
=
new
System
.
Drawing
.
Point
(
420
,
22
)
;
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
317
)
;
this
.
lblTemp
.
Name
=
"lblTemp"
;
this
.
groupBox6
.
TabIndex
=
106
;
this
.
lblTemp
.
Size
=
new
System
.
Drawing
.
Size
(
159
,
20
)
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
lblTemp
.
TabIndex
=
275
;
this
.
groupBox6
.
Text
=
"DI列表
"
;
this
.
lblTemp
.
Text
=
"当前温度--,当前湿度--
"
;
//
//
//
tableLayoutPanel1
//
lblMoveEquipInfo
//
//
this
.
tableLayoutPanel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
lblMoveEquipInfo
.
AutoSize
=
true
;
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
lblMoveEquipInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblMoveEquipInfo
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
tableLayoutPanel1
.
ColumnCount
=
1
;
this
.
lblMoveEquipInfo
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
109
);
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
lblMoveEquipInfo
.
Name
=
"lblMoveEquipInfo"
;
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
14
);
this
.
lblMoveEquipInfo
.
Size
=
new
System
.
Drawing
.
Size
(
107
,
17
);
this
.
tableLayoutPanel1
.
Name
=
"tableLayoutPanel1"
;
this
.
lblMoveEquipInfo
.
TabIndex
=
274
;
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
lblMoveEquipInfo
.
Text
=
"移栽状态:不可出库"
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
//
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
// lblThisSta
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
218
,
297
);
//
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
this
.
lblThisSta
.
AutoSize
=
true
;
this
.
lblThisSta
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblThisSta
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
76
);
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
lblThisSta
.
TabIndex
=
216
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
lblThisSta
.
Click
+=
new
System
.
EventHandler
(
this
.
lblThisSta_Click
);
//
// btnCon
//
this
.
btnCon
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnCon
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCon
.
Location
=
new
System
.
Drawing
.
Point
(
882
,
13
);
this
.
btnCon
.
Name
=
"btnCon"
;
this
.
btnCon
.
Size
=
new
System
.
Drawing
.
Size
(
175
,
39
);
this
.
btnCon
.
TabIndex
=
273
;
this
.
btnCon
.
Text
=
"忽略检测信号,继续出库"
;
this
.
btnCon
.
UseVisualStyleBackColor
=
true
;
this
.
btnCon
.
Click
+=
new
System
.
EventHandler
(
this
.
btnCon_Click
);
//
// lblWarnMsg
//
this
.
lblWarnMsg
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblWarnMsg
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblWarnMsg
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
200
);
this
.
lblWarnMsg
.
Name
=
"lblWarnMsg"
;
this
.
lblWarnMsg
.
Size
=
new
System
.
Drawing
.
Size
(
1049
,
135
);
this
.
lblWarnMsg
.
TabIndex
=
224
;
this
.
lblWarnMsg
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
// tabPage3
//
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnOpenD
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnCloseD
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnUpdown
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
axisMoveControl1
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
groupInout
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnAxisOn
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnAxisOff
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnAxisP
);
this
.
tabPage3
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage3
.
Name
=
"tabPage3"
;
this
.
tabPage3
.
Size
=
new
System
.
Drawing
.
Size
(
1091
,
607
);
this
.
tabPage3
.
TabIndex
=
2
;
this
.
tabPage3
.
Text
=
" 库位操作/伺服调试 "
;
this
.
tabPage3
.
UseVisualStyleBackColor
=
true
;
//
// btnOpenD
//
this
.
btnOpenD
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnOpenD
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenD
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenD
.
Location
=
new
System
.
Drawing
.
Point
(
863
,
416
);
this
.
btnOpenD
.
Name
=
"btnOpenD"
;
this
.
btnOpenD
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
39
);
this
.
btnOpenD
.
TabIndex
=
275
;
this
.
btnOpenD
.
Text
=
"打开仓门"
;
this
.
btnOpenD
.
UseVisualStyleBackColor
=
false
;
this
.
btnOpenD
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOpenD_Click
);
//
// btnCloseD
//
this
.
btnCloseD
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnCloseD
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseD
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseD
.
Location
=
new
System
.
Drawing
.
Point
(
863
,
460
);
this
.
btnCloseD
.
Name
=
"btnCloseD"
;
this
.
btnCloseD
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
39
);
this
.
btnCloseD
.
TabIndex
=
276
;
this
.
btnCloseD
.
Text
=
"关闭仓门"
;
this
.
btnCloseD
.
UseVisualStyleBackColor
=
false
;
this
.
btnCloseD
.
Click
+=
new
System
.
EventHandler
(
this
.
btnCloseD_Click
);
//
// axisMoveControl1
//
this
.
axisMoveControl1
.
Location
=
new
System
.
Drawing
.
Point
(
519
,
4
);
this
.
axisMoveControl1
.
Name
=
"axisMoveControl1"
;
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
565
,
404
);
this
.
axisMoveControl1
.
TabIndex
=
218
;
//
//
// groupInout
// groupInout
//
//
...
@@ -593,12 +637,14 @@
...
@@ -593,12 +637,14 @@
this
.
groupInout
.
Controls
.
Add
(
this
.
lblAutoMsg
);
this
.
groupInout
.
Controls
.
Add
(
this
.
lblAutoMsg
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnStartAuTo
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnStartAuTo
);
this
.
groupInout
.
Controls
.
Add
(
this
.
label9
);
this
.
groupInout
.
Controls
.
Add
(
this
.
label9
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnStartAutoCheck
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnSavePosition
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnSavePosition
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtJiange
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtJiange
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtComP1
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtComP1
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtInOutP2
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtInOutP2
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtInOutP1
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtInOutP1
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtMiddleP1
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtMiddleP1
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnCheckPos
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtUpDownP7
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtUpDownP7
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtUpDownP8
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtUpDownP8
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtUpDownP1
);
this
.
groupInout
.
Controls
.
Add
(
this
.
txtUpDownP1
);
...
@@ -631,9 +677,9 @@
...
@@ -631,9 +677,9 @@
this
.
groupInout
.
Controls
.
Add
(
this
.
btnUpDownP3
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnUpDownP3
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnUpDownP4
);
this
.
groupInout
.
Controls
.
Add
(
this
.
btnUpDownP4
);
this
.
groupInout
.
Enabled
=
false
;
this
.
groupInout
.
Enabled
=
false
;
this
.
groupInout
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
groupInout
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
6
);
this
.
groupInout
.
Name
=
"groupInout"
;
this
.
groupInout
.
Name
=
"groupInout"
;
this
.
groupInout
.
Size
=
new
System
.
Drawing
.
Size
(
5
14
,
573
);
this
.
groupInout
.
Size
=
new
System
.
Drawing
.
Size
(
5
08
,
579
);
this
.
groupInout
.
TabIndex
=
100
;
this
.
groupInout
.
TabIndex
=
100
;
this
.
groupInout
.
TabStop
=
false
;
this
.
groupInout
.
TabStop
=
false
;
this
.
groupInout
.
Text
=
"料仓操作"
;
this
.
groupInout
.
Text
=
"料仓操作"
;
...
@@ -651,7 +697,7 @@
...
@@ -651,7 +697,7 @@
//
//
// btnStartAuTo
// btnStartAuTo
//
//
this
.
btnStartAuTo
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnStartAuTo
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnStartAuTo
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStartAuTo
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStartAuTo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStartAuTo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStartAuTo
.
Location
=
new
System
.
Drawing
.
Point
(
392
,
67
);
this
.
btnStartAuTo
.
Location
=
new
System
.
Drawing
.
Point
(
392
,
67
);
...
@@ -672,14 +718,27 @@
...
@@ -672,14 +718,27 @@
this
.
label9
.
TabIndex
=
220
;
this
.
label9
.
TabIndex
=
220
;
this
.
label9
.
Text
=
"间隔仓位:"
;
this
.
label9
.
Text
=
"间隔仓位:"
;
//
//
// btnStartAutoCheck
//
this
.
btnStartAutoCheck
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnStartAutoCheck
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStartAutoCheck
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStartAutoCheck
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
506
);
this
.
btnStartAutoCheck
.
Name
=
"btnStartAutoCheck"
;
this
.
btnStartAutoCheck
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
39
);
this
.
btnStartAutoCheck
.
TabIndex
=
274
;
this
.
btnStartAutoCheck
.
Text
=
"开始自动盘点"
;
this
.
btnStartAutoCheck
.
UseVisualStyleBackColor
=
false
;
this
.
btnStartAutoCheck
.
Click
+=
new
System
.
EventHandler
(
this
.
button1_Click_1
);
//
// btnSavePosition
// btnSavePosition
//
//
this
.
btnSavePosition
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnSavePosition
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnSavePosition
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnSavePosition
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnSavePosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnSavePosition
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnSavePosition
.
Location
=
new
System
.
Drawing
.
Point
(
3
92
,
474
);
this
.
btnSavePosition
.
Location
=
new
System
.
Drawing
.
Point
(
3
60
,
472
);
this
.
btnSavePosition
.
Name
=
"btnSavePosition"
;
this
.
btnSavePosition
.
Name
=
"btnSavePosition"
;
this
.
btnSavePosition
.
Size
=
new
System
.
Drawing
.
Size
(
1
05
,
38
);
this
.
btnSavePosition
.
Size
=
new
System
.
Drawing
.
Size
(
1
32
,
39
);
this
.
btnSavePosition
.
TabIndex
=
217
;
this
.
btnSavePosition
.
TabIndex
=
217
;
this
.
btnSavePosition
.
Text
=
"保存位置"
;
this
.
btnSavePosition
.
Text
=
"保存位置"
;
this
.
btnSavePosition
.
UseVisualStyleBackColor
=
false
;
this
.
btnSavePosition
.
UseVisualStyleBackColor
=
false
;
...
@@ -753,6 +812,19 @@
...
@@ -753,6 +812,19 @@
this
.
txtMiddleP1
.
TabIndex
=
208
;
this
.
txtMiddleP1
.
TabIndex
=
208
;
this
.
txtMiddleP1
.
Text
=
"-52388"
;
this
.
txtMiddleP1
.
Text
=
"-52388"
;
//
//
// btnCheckPos
//
this
.
btnCheckPos
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnCheckPos
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCheckPos
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCheckPos
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
461
);
this
.
btnCheckPos
.
Name
=
"btnCheckPos"
;
this
.
btnCheckPos
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
39
);
this
.
btnCheckPos
.
TabIndex
=
273
;
this
.
btnCheckPos
.
Text
=
"盘点测试"
;
this
.
btnCheckPos
.
UseVisualStyleBackColor
=
false
;
this
.
btnCheckPos
.
Click
+=
new
System
.
EventHandler
(
this
.
btnCheckPos_Click
);
//
// txtUpDownP7
// txtUpDownP7
//
//
this
.
txtUpDownP7
.
AcceptsReturn
=
true
;
this
.
txtUpDownP7
.
AcceptsReturn
=
true
;
...
@@ -931,7 +1003,7 @@
...
@@ -931,7 +1003,7 @@
//
//
// btnInStore
// btnInStore
//
//
this
.
btnInStore
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnInStore
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnInStore
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnInStore
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnInStore
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInStore
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInStore
.
Location
=
new
System
.
Drawing
.
Point
(
281
,
18
);
this
.
btnInStore
.
Location
=
new
System
.
Drawing
.
Point
(
281
,
18
);
...
@@ -944,7 +1016,7 @@
...
@@ -944,7 +1016,7 @@
//
//
// btnOutStore
// btnOutStore
//
//
this
.
btnOutStore
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnOutStore
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnOutStore
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOutStore
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOutStore
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOutStore
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOutStore
.
Location
=
new
System
.
Drawing
.
Point
(
392
,
18
);
this
.
btnOutStore
.
Location
=
new
System
.
Drawing
.
Point
(
392
,
18
);
...
@@ -973,7 +1045,7 @@
...
@@ -973,7 +1045,7 @@
// btnComP1
// btnComP1
//
//
this
.
btnComP1
.
AutoSize
=
true
;
this
.
btnComP1
.
AutoSize
=
true
;
this
.
btnComP1
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnComP1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnComP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnComP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnComP1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnComP1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnComP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnComP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -992,7 +1064,7 @@
...
@@ -992,7 +1064,7 @@
// btnInOutP2
// btnInOutP2
//
//
this
.
btnInOutP2
.
AutoSize
=
true
;
this
.
btnInOutP2
.
AutoSize
=
true
;
this
.
btnInOutP2
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnInOutP2
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnInOutP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnInOutP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnInOutP2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnInOutP2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1011,7 +1083,7 @@
...
@@ -1011,7 +1083,7 @@
// btnInOutP1
// btnInOutP1
//
//
this
.
btnInOutP1
.
AutoSize
=
true
;
this
.
btnInOutP1
.
AutoSize
=
true
;
this
.
btnInOutP1
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnInOutP1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnInOutP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnInOutP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnInOutP1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnInOutP1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1030,7 +1102,7 @@
...
@@ -1030,7 +1102,7 @@
// btnMiddleP1
// btnMiddleP1
//
//
this
.
btnMiddleP1
.
AutoSize
=
true
;
this
.
btnMiddleP1
.
AutoSize
=
true
;
this
.
btnMiddleP1
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnMiddleP1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnMiddleP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnMiddleP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnMiddleP1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnMiddleP1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnMiddleP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnMiddleP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1049,7 +1121,7 @@
...
@@ -1049,7 +1121,7 @@
// btnUpDownP7
// btnUpDownP7
//
//
this
.
btnUpDownP7
.
AutoSize
=
true
;
this
.
btnUpDownP7
.
AutoSize
=
true
;
this
.
btnUpDownP7
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnUpDownP7
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpDownP7
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP7
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP7
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP7
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP7
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP7
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1068,7 +1140,7 @@
...
@@ -1068,7 +1140,7 @@
// btnUpDownP8
// btnUpDownP8
//
//
this
.
btnUpDownP8
.
AutoSize
=
true
;
this
.
btnUpDownP8
.
AutoSize
=
true
;
this
.
btnUpDownP8
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnUpDownP8
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpDownP8
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP8
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP8
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP8
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP8
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP8
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1087,7 +1159,7 @@
...
@@ -1087,7 +1159,7 @@
// btnUpDownP1
// btnUpDownP1
//
//
this
.
btnUpDownP1
.
AutoSize
=
true
;
this
.
btnUpDownP1
.
AutoSize
=
true
;
this
.
btnUpDownP1
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnUpDownP1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpDownP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP1
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1106,7 +1178,7 @@
...
@@ -1106,7 +1178,7 @@
// btnUpDownP2
// btnUpDownP2
//
//
this
.
btnUpDownP2
.
AutoSize
=
true
;
this
.
btnUpDownP2
.
AutoSize
=
true
;
this
.
btnUpDownP2
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnUpDownP2
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpDownP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1125,7 +1197,7 @@
...
@@ -1125,7 +1197,7 @@
// btnComP3
// btnComP3
//
//
this
.
btnComP3
.
AutoSize
=
true
;
this
.
btnComP3
.
AutoSize
=
true
;
this
.
btnComP3
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnComP3
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnComP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnComP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnComP3
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnComP3
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnComP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnComP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1143,7 +1215,7 @@
...
@@ -1143,7 +1215,7 @@
// btnComP2
// btnComP2
//
//
this
.
btnComP2
.
AutoSize
=
true
;
this
.
btnComP2
.
AutoSize
=
true
;
this
.
btnComP2
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnComP2
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnComP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnComP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnComP2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnComP2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnComP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnComP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1161,7 +1233,7 @@
...
@@ -1161,7 +1233,7 @@
// btnInOutP3
// btnInOutP3
//
//
this
.
btnInOutP3
.
AutoSize
=
true
;
this
.
btnInOutP3
.
AutoSize
=
true
;
this
.
btnInOutP3
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnInOutP3
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnInOutP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnInOutP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnInOutP3
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnInOutP3
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnInOutP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInOutP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1179,7 +1251,7 @@
...
@@ -1179,7 +1251,7 @@
// btnMiddleP2
// btnMiddleP2
//
//
this
.
btnMiddleP2
.
AutoSize
=
true
;
this
.
btnMiddleP2
.
AutoSize
=
true
;
this
.
btnMiddleP2
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnMiddleP2
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnMiddleP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnMiddleP2
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnMiddleP2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnMiddleP2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnMiddleP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnMiddleP2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1197,7 +1269,7 @@
...
@@ -1197,7 +1269,7 @@
// btnUpDownP5
// btnUpDownP5
//
//
this
.
btnUpDownP5
.
AutoSize
=
true
;
this
.
btnUpDownP5
.
AutoSize
=
true
;
this
.
btnUpDownP5
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnUpDownP5
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpDownP5
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP5
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP5
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP5
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1215,7 +1287,7 @@
...
@@ -1215,7 +1287,7 @@
// btnUpDownP6
// btnUpDownP6
//
//
this
.
btnUpDownP6
.
AutoSize
=
true
;
this
.
btnUpDownP6
.
AutoSize
=
true
;
this
.
btnUpDownP6
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnUpDownP6
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpDownP6
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP6
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP6
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP6
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP6
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP6
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1233,7 +1305,7 @@
...
@@ -1233,7 +1305,7 @@
// btnUpDownP3
// btnUpDownP3
//
//
this
.
btnUpDownP3
.
AutoSize
=
true
;
this
.
btnUpDownP3
.
AutoSize
=
true
;
this
.
btnUpDownP3
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnUpDownP3
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpDownP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP3
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP3
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP3
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1251,7 +1323,7 @@
...
@@ -1251,7 +1323,7 @@
// btnUpDownP4
// btnUpDownP4
//
//
this
.
btnUpDownP4
.
AutoSize
=
true
;
this
.
btnUpDownP4
.
AutoSize
=
true
;
this
.
btnUpDownP4
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnUpDownP4
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpDownP4
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP4
.
Cursor
=
System
.
Windows
.
Forms
.
Cursors
.
Default
;
this
.
btnUpDownP4
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP4
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownP4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownP4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
@@ -1266,241 +1338,233 @@
...
@@ -1266,241 +1338,233 @@
this
.
btnUpDownP4
.
UseVisualStyleBackColor
=
false
;
this
.
btnUpDownP4
.
UseVisualStyleBackColor
=
false
;
this
.
btnUpDownP4
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownP4_Click
);
this
.
btnUpDownP4
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpDownP4_Click
);
//
//
// btnCheckPos
//
this
.
btnCheckPos
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
this
.
btnCheckPos
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCheckPos
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCheckPos
.
Location
=
new
System
.
Drawing
.
Point
(
538
,
477
);
this
.
btnCheckPos
.
Name
=
"btnCheckPos"
;
this
.
btnCheckPos
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
38
);
this
.
btnCheckPos
.
TabIndex
=
273
;
this
.
btnCheckPos
.
Text
=
"盘点测试"
;
this
.
btnCheckPos
.
UseVisualStyleBackColor
=
false
;
this
.
btnCheckPos
.
Click
+=
new
System
.
EventHandler
(
this
.
btnCheckPos_Click
);
//
// tabPage1
// tabPage1
//
//
this
.
tabPage1
.
Controls
.
Add
(
this
.
axisMoveControl1
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
panel1
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
btnUpdown
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
btnAxisOn
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
btnAxisOff
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
btnAxisP
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
10
75
,
614
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
10
91
,
607
);
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
Text
=
"
伺服
调试 "
;
this
.
tabPage1
.
Text
=
"
IO
调试 "
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
//
//
// axisMoveControl1
// panel1
//
this
.
axisMoveControl1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
6
);
this
.
axisMoveControl1
.
Name
=
"axisMoveControl1"
;
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
565
,
404
);
this
.
axisMoveControl1
.
TabIndex
=
218
;
//
// groupBox1
//
//
this
.
groupBox1
.
Controls
.
Add
(
this
.
txt4Target
);
this
.
panel1
.
Controls
.
Add
(
this
.
groupBox4
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblTargetP4
);
this
.
panel1
.
Controls
.
Add
(
this
.
groupBox6
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblActual4
);
this
.
panel1
.
Controls
.
Add
(
this
.
groupBox5
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label7
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
6
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtMiddleTarget
);
this
.
panel1
.
Name
=
"panel1"
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtInoutTarget
);
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
492
,
592
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtUpdownTarget
);
this
.
panel1
.
TabIndex
=
224
;
this
.
groupBox1
.
Controls
.
Add
(
this
.
label12
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblTargetP1
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblActual1
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblTargetP3
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblActual3
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblTargetP2
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
lblActual2
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label4
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label3
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label1
);
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
(
581
,
10
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
476
,
136
);
this
.
groupBox1
.
TabIndex
=
217
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"伺服状态"
;
//
//
// txt4Target
// groupBox4
//
this
.
txt4Target
.
Location
=
new
System
.
Drawing
.
Point
(
377
,
103
);
this
.
txt4Target
.
Name
=
"txt4Target"
;
this
.
txt4Target
.
ReadOnly
=
true
;
this
.
txt4Target
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
txt4Target
.
TabIndex
=
270
;
//
// lblTargetP4
//
this
.
lblTargetP4
.
Location
=
new
System
.
Drawing
.
Point
(
377
,
75
);
this
.
lblTargetP4
.
Name
=
"lblTargetP4"
;
this
.
lblTargetP4
.
ReadOnly
=
true
;
this
.
lblTargetP4
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
lblTargetP4
.
TabIndex
=
269
;
//
// lblActual4
//
this
.
lblActual4
.
Location
=
new
System
.
Drawing
.
Point
(
377
,
47
);
this
.
lblActual4
.
Name
=
"lblActual4"
;
this
.
lblActual4
.
ReadOnly
=
true
;
this
.
lblActual4
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
lblActual4
.
TabIndex
=
268
;
//
// label7
//
//
this
.
label7
.
AutoSize
=
true
;
this
.
groupBox4
.
Controls
.
Add
(
this
.
btnOpenDo
);
this
.
label7
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
groupBox4
.
Controls
.
Add
(
this
.
btnCloseDO
);
this
.
label7
.
Location
=
new
System
.
Drawing
.
Point
(
384
,
20
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
txtDOIndex
);
this
.
label7
.
Name
=
"label7"
;
this
.
groupBox4
.
Controls
.
Add
(
this
.
txtDoName
);
this
.
label7
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
btnOpenDoor
);
this
.
label7
.
TabIndex
=
267
;
this
.
groupBox4
.
Controls
.
Add
(
this
.
label17
);
this
.
label7
.
Text
=
"轴四:压紧轴"
;
this
.
groupBox4
.
Controls
.
Add
(
this
.
btnCloseDoor
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
label14
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
txtWriteTime
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
label5
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
cmbWriteIO
);
this
.
groupBox4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
10
,
330
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
472
,
132
);
this
.
groupBox4
.
TabIndex
=
108
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"DO写入"
;
//
//
//
txtMiddleTarget
//
btnOpenDo
//
//
this
.
txtMiddleTarget
.
Location
=
new
System
.
Drawing
.
Point
(
105
,
104
);
this
.
btnOpenDo
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
txtMiddleTarget
.
Name
=
"txtMiddleTarget"
;
this
.
btnOpenDo
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
txtMiddleTarget
.
ReadOnly
=
true
;
this
.
btnOpenDo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtMiddleTarget
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
btnOpenDo
.
Location
=
new
System
.
Drawing
.
Point
(
124
,
88
);
this
.
txtMiddleTarget
.
TabIndex
=
262
;
this
.
btnOpenDo
.
Name
=
"btnOpenDo"
;
this
.
btnOpenDo
.
Size
=
new
System
.
Drawing
.
Size
(
91
,
35
);
this
.
btnOpenDo
.
TabIndex
=
274
;
this
.
btnOpenDo
.
Text
=
"打开"
;
this
.
btnOpenDo
.
UseVisualStyleBackColor
=
false
;
this
.
btnOpenDo
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOpenDo_Click
);
//
//
//
txtInoutTarget
//
btnCloseDO
//
//
this
.
txtInoutTarget
.
Location
=
new
System
.
Drawing
.
Point
(
287
,
104
);
this
.
btnCloseDO
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
txtInoutTarget
.
Name
=
"txtInoutTarget"
;
this
.
btnCloseDO
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
txtInoutTarget
.
ReadOnly
=
true
;
this
.
btnCloseDO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtInoutTarget
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
btnCloseDO
.
Location
=
new
System
.
Drawing
.
Point
(
221
,
88
);
this
.
txtInoutTarget
.
TabIndex
=
260
;
this
.
btnCloseDO
.
Name
=
"btnCloseDO"
;
this
.
btnCloseDO
.
Size
=
new
System
.
Drawing
.
Size
(
91
,
35
);
this
.
btnCloseDO
.
TabIndex
=
273
;
this
.
btnCloseDO
.
Text
=
"关闭"
;
this
.
btnCloseDO
.
UseVisualStyleBackColor
=
false
;
this
.
btnCloseDO
.
Click
+=
new
System
.
EventHandler
(
this
.
btnCloseDO_Click
);
//
//
// txt
UpdownTarget
// txt
DOIndex
//
//
this
.
txtUpdownTarget
.
Location
=
new
System
.
Drawing
.
Point
(
195
,
104
);
this
.
txtDOIndex
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtUpdownTarget
.
Name
=
"txtUpdownTarget"
;
this
.
txtDOIndex
.
Location
=
new
System
.
Drawing
.
Point
(
266
,
55
);
this
.
txtUpdownTarget
.
ReadOnly
=
true
;
this
.
txtDOIndex
.
MaxLength
=
10
;
this
.
txtUpdownTarget
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
txtDOIndex
.
Name
=
"txtDOIndex"
;
this
.
txtUpdownTarget
.
TabIndex
=
259
;
this
.
txtDOIndex
.
Size
=
new
System
.
Drawing
.
Size
(
46
,
26
);
this
.
txtDOIndex
.
TabIndex
=
242
;
this
.
txtDOIndex
.
Text
=
"0"
;
//
//
//
label12
//
txtDoName
//
//
this
.
label12
.
AutoSize
=
true
;
this
.
txtDoName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)))
;
this
.
label12
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
))
);
this
.
txtDoName
.
Location
=
new
System
.
Drawing
.
Point
(
66
,
56
);
this
.
label12
.
Location
=
new
System
.
Drawing
.
Point
(
17
,
106
)
;
this
.
txtDoName
.
MaxLength
=
10
;
this
.
label12
.
Name
=
"label12
"
;
this
.
txtDoName
.
Name
=
"txtDoName
"
;
this
.
label12
.
Size
=
new
System
.
Drawing
.
Size
(
83
,
17
);
this
.
txtDoName
.
Size
=
new
System
.
Drawing
.
Size
(
141
,
26
);
this
.
label12
.
TabIndex
=
258
;
this
.
txtDoName
.
TabIndex
=
241
;
this
.
label12
.
Text
=
"出入库目标值:
"
;
this
.
txtDoName
.
Text
=
"0
"
;
//
//
//
lblTargetP1
//
btnOpenDoor
//
//
this
.
lblTargetP1
.
Location
=
new
System
.
Drawing
.
Point
(
105
,
76
);
this
.
btnOpenDoor
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblTargetP1
.
Name
=
"lblTargetP1"
;
this
.
btnOpenDoor
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTargetP1
.
ReadOnly
=
true
;
this
.
btnOpenDoor
.
Location
=
new
System
.
Drawing
.
Point
(
346
,
29
);
this
.
lblTargetP1
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
btnOpenDoor
.
Name
=
"btnOpenDoor"
;
this
.
lblTargetP1
.
TabIndex
=
257
;
this
.
btnOpenDoor
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
35
);
this
.
btnOpenDoor
.
TabIndex
=
248
;
this
.
btnOpenDoor
.
Text
=
"打开仓门"
;
this
.
btnOpenDoor
.
UseVisualStyleBackColor
=
true
;
this
.
btnOpenDoor
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOpenDoor_Click
);
//
//
// l
blActual1
// l
abel17
//
//
this
.
lblActual1
.
Location
=
new
System
.
Drawing
.
Point
(
105
,
48
);
this
.
label17
.
AutoSize
=
true
;
this
.
lblActual1
.
Name
=
"lblActual1"
;
this
.
label17
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblActual1
.
ReadOnly
=
true
;
this
.
label17
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblActual1
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
61
);
this
.
lblActual1
.
TabIndex
=
256
;
this
.
label17
.
Name
=
"label17"
;
this
.
label17
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label17
.
TabIndex
=
240
;
this
.
label17
.
Text
=
"设备:"
;
this
.
label17
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
//
lblTargetP3
//
btnCloseDoor
//
//
this
.
lblTargetP3
.
Location
=
new
System
.
Drawing
.
Point
(
287
,
76
);
this
.
btnCloseDoor
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
lblTargetP3
.
Name
=
"lblTargetP3"
;
this
.
btnCloseDoor
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTargetP3
.
ReadOnly
=
true
;
this
.
btnCloseDoor
.
Location
=
new
System
.
Drawing
.
Point
(
346
,
69
);
this
.
lblTargetP3
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
btnCloseDoor
.
Name
=
"btnCloseDoor"
;
this
.
lblTargetP3
.
TabIndex
=
178
;
this
.
btnCloseDoor
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
35
);
this
.
btnCloseDoor
.
TabIndex
=
249
;
this
.
btnCloseDoor
.
Text
=
"关闭仓门"
;
this
.
btnCloseDoor
.
UseVisualStyleBackColor
=
true
;
this
.
btnCloseDoor
.
Click
+=
new
System
.
EventHandler
(
this
.
btnCloseDoor_Click
);
//
//
// l
blActual3
// l
abel14
//
//
this
.
lblActual3
.
Location
=
new
System
.
Drawing
.
Point
(
287
,
48
);
this
.
label14
.
AutoSize
=
true
;
this
.
lblActual3
.
Name
=
"lblActual3"
;
this
.
label14
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblActual3
.
ReadOnly
=
true
;
this
.
label14
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblActual3
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
label14
.
Location
=
new
System
.
Drawing
.
Point
(
219
,
61
);
this
.
lblActual3
.
TabIndex
=
177
;
this
.
label14
.
Name
=
"label14"
;
this
.
label14
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label14
.
TabIndex
=
239
;
this
.
label14
.
Text
=
"地址:"
;
this
.
label14
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
//
lblTargetP2
//
txtWriteTime
//
//
this
.
lblTargetP2
.
Location
=
new
System
.
Drawing
.
Point
(
195
,
76
);
this
.
txtWriteTime
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTargetP2
.
Name
=
"lblTargetP2"
;
this
.
txtWriteTime
.
Location
=
new
System
.
Drawing
.
Point
(
70
,
92
);
this
.
lblTargetP2
.
ReadOnly
=
true
;
this
.
txtWriteTime
.
MaxLength
=
10
;
this
.
lblTargetP2
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
txtWriteTime
.
Name
=
"txtWriteTime"
;
this
.
lblTargetP2
.
TabIndex
=
176
;
this
.
txtWriteTime
.
Size
=
new
System
.
Drawing
.
Size
(
50
,
26
);
this
.
txtWriteTime
.
TabIndex
=
238
;
this
.
txtWriteTime
.
Text
=
"0"
;
//
//
// l
blActual2
// l
abel5
//
//
this
.
lblActual2
.
Location
=
new
System
.
Drawing
.
Point
(
195
,
48
);
this
.
label5
.
AutoSize
=
true
;
this
.
lblActual2
.
Name
=
"lblActual2"
;
this
.
label5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblActual2
.
ReadOnly
=
true
;
this
.
label5
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblActual2
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
23
);
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
97
);
this
.
lblActual2
.
TabIndex
=
175
;
this
.
label5
.
Name
=
"label5"
;
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
60
,
17
);
this
.
label5
.
TabIndex
=
237
;
this
.
label5
.
Text
=
"定时(ms):"
;
this
.
label5
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
//
label4
//
cmbWriteIO
//
//
this
.
label4
.
AutoSize
=
true
;
this
.
cmbWriteIO
.
DisplayMember
=
"ProName"
;
this
.
label4
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
cmbWriteIO
.
DropDownStyle
=
System
.
Windows
.
Forms
.
ComboBoxStyle
.
DropDownList
;
this
.
label4
.
Location
=
new
System
.
Drawing
.
Point
(
294
,
20
);
this
.
cmbWriteIO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label4
.
Name
=
"label4"
;
this
.
cmbWriteIO
.
FormattingEnabled
=
true
;
this
.
label4
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
cmbWriteIO
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
22
);
this
.
label4
.
TabIndex
=
100
;
this
.
cmbWriteIO
.
Name
=
"cmbWriteIO"
;
this
.
label4
.
Text
=
"轴三:进出轴"
;
this
.
cmbWriteIO
.
Size
=
new
System
.
Drawing
.
Size
(
298
,
28
);
this
.
cmbWriteIO
.
TabIndex
=
234
;
this
.
cmbWriteIO
.
ValueMember
=
"ProName"
;
this
.
cmbWriteIO
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cmbWriteIO_SelectedIndexChanged
);
//
//
//
label3
//
groupBox6
//
//
this
.
label3
.
AutoSize
=
true
;
this
.
groupBox6
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
label3
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
groupBox6
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
202
,
20
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
10
,
7
);
this
.
label3
.
Name
=
"label3"
;
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
317
);
this
.
label3
.
TabIndex
=
99
;
this
.
groupBox6
.
TabIndex
=
106
;
this
.
label3
.
Text
=
"轴二:上下轴"
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
Text
=
"DI列表"
;
//
//
//
lab
el1
//
tableLayoutPan
el1
//
//
this
.
label1
.
AutoSize
=
true
;
this
.
tableLayoutPanel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
label1
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
112
,
20
);
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
label1
.
Name
=
"label1"
;
this
.
tableLayoutPanel1
.
ColumnCount
=
1
;
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
label1
.
TabIndex
=
97
;
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
14
);
this
.
label1
.
Text
=
"轴一:旋转轴"
;
this
.
tableLayoutPanel1
.
Name
=
"tableLayoutPanel1"
;
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
218
,
297
);
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
//
//
//
label43
//
groupBox5
//
//
this
.
label43
.
AutoSize
=
true
;
this
.
groupBox5
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
label43
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label43
.
Location
=
new
System
.
Drawing
.
Point
(
29
,
49
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
253
,
7
);
this
.
label43
.
Name
=
"label43"
;
this
.
groupBox5
.
Name
=
"groupBox5"
;
this
.
label43
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
317
);
this
.
label43
.
TabIndex
=
23
;
this
.
groupBox5
.
TabIndex
=
107
;
this
.
label43
.
Text
=
"实际位置:"
;
this
.
groupBox5
.
TabStop
=
false
;
this
.
groupBox5
.
Text
=
"DO列表"
;
//
//
//
label4
2
//
tableLayoutPanel
2
//
//
this
.
label42
.
AutoSize
=
true
;
this
.
tableLayoutPanel2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
label42
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
label42
.
Location
=
new
System
.
Drawing
.
Point
(
29
,
76
);
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
label42
.
Name
=
"label42"
;
this
.
tableLayoutPanel2
.
ColumnCount
=
1
;
this
.
label42
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
label42
.
TabIndex
=
24
;
this
.
tableLayoutPanel2
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
14
);
this
.
label42
.
Text
=
"规划位置:"
;
this
.
tableLayoutPanel2
.
Name
=
"tableLayoutPanel2"
;
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
218
,
297
);
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
//
//
// FrmBox
// FrmBox
//
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
089
,
653
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
105
,
653
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
...
@@ -1515,17 +1579,18 @@
...
@@ -1515,17 +1579,18 @@
this
.
tabControl1
.
ResumeLayout
(
false
);
this
.
tabControl1
.
ResumeLayout
(
false
);
this
.
tabPage2
.
ResumeLayout
(
false
);
this
.
tabPage2
.
ResumeLayout
(
false
);
this
.
tabPage2
.
PerformLayout
();
this
.
tabPage2
.
PerformLayout
();
this
.
groupBox1
.
ResumeLayout
(
false
);
this
.
groupBox1
.
PerformLayout
();
this
.
groupBox2
.
ResumeLayout
(
false
);
this
.
groupBox2
.
ResumeLayout
(
false
);
this
.
tabPage3
.
ResumeLayout
(
false
);
this
.
tabPage3
.
ResumeLayout
(
false
);
this
.
groupBox4
.
ResumeLayout
(
false
);
this
.
groupBox4
.
PerformLayout
();
this
.
groupBox5
.
ResumeLayout
(
false
);
this
.
groupBox6
.
ResumeLayout
(
false
);
this
.
groupInout
.
ResumeLayout
(
false
);
this
.
groupInout
.
ResumeLayout
(
false
);
this
.
groupInout
.
PerformLayout
();
this
.
groupInout
.
PerformLayout
();
this
.
tabPage1
.
ResumeLayout
(
false
);
this
.
tabPage1
.
ResumeLayout
(
false
);
this
.
groupBox1
.
ResumeLayout
(
false
);
this
.
panel1
.
ResumeLayout
(
false
);
this
.
groupBox1
.
PerformLayout
();
this
.
groupBox4
.
ResumeLayout
(
false
);
this
.
groupBox4
.
PerformLayout
();
this
.
groupBox6
.
ResumeLayout
(
false
);
this
.
groupBox5
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
}
}
...
@@ -1633,6 +1698,10 @@
...
@@ -1633,6 +1698,10 @@
private
System
.
Windows
.
Forms
.
Label
label14
;
private
System
.
Windows
.
Forms
.
Label
label14
;
private
System
.
Windows
.
Forms
.
TabPage
tabPage2
;
private
System
.
Windows
.
Forms
.
TabPage
tabPage2
;
private
System
.
Windows
.
Forms
.
Label
lblTemp
;
private
System
.
Windows
.
Forms
.
Label
lblTemp
;
private
System
.
Windows
.
Forms
.
Panel
panel1
;
private
System
.
Windows
.
Forms
.
Button
btnOpenD
;
private
System
.
Windows
.
Forms
.
Button
btnCloseD
;
private
System
.
Windows
.
Forms
.
Label
lblMoveStr
;
}
}
}
}
source/HCSingleStore/FrmBox.cs
查看文件 @
45f99b7
...
@@ -34,14 +34,14 @@ namespace OnlineStore.ACSingleStore
...
@@ -34,14 +34,14 @@ namespace OnlineStore.ACSingleStore
private
void
FrmTest_Load
(
object
sender
,
EventArgs
e
)
private
void
FrmTest_Load
(
object
sender
,
EventArgs
e
)
{
{
LoadStore
();
LoadStore
();
chbDebug
.
Checked
=
boxBean
.
IsDebug
;
chbDebug
.
Checked
=
boxBean
.
IsDebug
;
this
.
ShowInTaskbar
=
true
;
this
.
ShowInTaskbar
=
true
;
tabPage2
.
Text
=
" 设备["
+
boxBean
.
CID
+
"]状态 "
;
tabPage2
.
Text
=
" 设备["
+
boxBean
.
CID
+
"]状态 "
;
this
.
Opacity
=
1
;
this
.
Opacity
=
1
;
DebugStatus
(
false
);
LoadOk
=
true
;
LoadOk
=
true
;
}
}
private
void
LoadStore
()
private
void
LoadStore
()
...
@@ -186,7 +186,9 @@ namespace OnlineStore.ACSingleStore
...
@@ -186,7 +186,9 @@ namespace OnlineStore.ACSingleStore
}
}
lblTemp
.
Text
=
boxBean
.
humBean
.
currTempStr
;
lblTemp
.
Text
=
boxBean
.
humBean
.
currTempStr
;
lblMoveEquipInfo
.
Text
=
"移栽状态:"
+
(
boxBean
.
lineConnect
.
CanStartOut
()
?
"可出库"
:
"不可出库"
)
+
" "
+
boxBean
.
lineConnect
.
LastUpdateTime
.
ToLongTimeString
()
+
""
;
lblMoveEquipInfo
.
Text
=
"移栽状态:"
+
(
boxBean
.
lineConnect
.
CanStartOut
()
?
"可出库"
:
"不可出库"
)
+
" "
+
boxBean
.
lineConnect
.
LastUpdateTime
.
ToLongTimeString
()
+
""
;
lblThisSta
.
Text
=
boxBean
.
GetRunStr
();
lblMoveStr
.
Text
=
boxBean
.
GetMoveStr
();
//ReadPosistion();
//ReadPosistion();
if
(
boxBean
.
storeRunStatus
>
StoreRunStatus
.
Wait
)
if
(
boxBean
.
storeRunStatus
>
StoreRunStatus
.
Wait
)
{
{
...
@@ -199,8 +201,6 @@ namespace OnlineStore.ACSingleStore
...
@@ -199,8 +201,6 @@ namespace OnlineStore.ACSingleStore
StoreOpenStatus
(
true
);
StoreOpenStatus
(
true
);
}
}
lblThisSta
.
Text
=
boxBean
.
GetRunStr
();
//复位按钮状态显示
//复位按钮状态显示
if
(
boxBean
.
storeRunStatus
>
StoreRunStatus
.
Wait
)
if
(
boxBean
.
storeRunStatus
>
StoreRunStatus
.
Wait
)
{
{
...
@@ -243,12 +243,15 @@ namespace OnlineStore.ACSingleStore
...
@@ -243,12 +243,15 @@ namespace OnlineStore.ACSingleStore
lblWarnMsg
.
Text
=
msg
;
lblWarnMsg
.
Text
=
msg
;
}
}
}
}
if
(
HuichuanLibrary
.
HCBoardManager
.
CardInitOk
()
)
if
(
groupBox1
.
Visible
)
{
{
ReadA
(
boxBean
.
Config
.
Middle_Axis
,
lblActual1
,
lblTargetP1
,
lblTargetP1
);
if
(
HuichuanLibrary
.
HCBoardManager
.
CardInitOk
())
ReadA
(
boxBean
.
Config
.
UpDown_Axis
,
lblActual2
,
lblTargetP2
,
lblTargetP2
);
{
ReadA
(
boxBean
.
Config
.
InOut_Axis
,
lblActual3
,
lblTargetP3
,
lblTargetP3
);
ReadA
(
boxBean
.
Config
.
Middle_Axis
,
lblActual1
,
lblTargetP1
,
lblTargetP1
);
ReadA
(
boxBean
.
Config
.
Comp_Axis
,
lblActual4
,
lblTargetP4
,
lblTargetP4
);
ReadA
(
boxBean
.
Config
.
UpDown_Axis
,
lblActual2
,
lblTargetP2
,
lblTargetP2
);
ReadA
(
boxBean
.
Config
.
InOut_Axis
,
lblActual3
,
lblTargetP3
,
lblTargetP3
);
ReadA
(
boxBean
.
Config
.
Comp_Axis
,
lblActual4
,
lblTargetP4
,
lblTargetP4
);
}
}
}
if
(
boxBean
.
autoNext
)
if
(
boxBean
.
autoNext
)
{
{
...
@@ -457,7 +460,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -457,7 +460,7 @@ namespace OnlineStore.ACSingleStore
string
positionConfigFile
=
appPath
+
ConfigAppSettings
.
GetValue
(
Setting_Init
.
Store_Position_Config
);
string
positionConfigFile
=
appPath
+
ConfigAppSettings
.
GetValue
(
Setting_Init
.
Store_Position_Config
);
if
(!
File
.
Exists
(
positionConfigFile
))
if
(!
File
.
Exists
(
positionConfigFile
))
{
{
positionConfigFile
=
appPath
+
ConfigAppSettings
.
GetValue
(
Setting_Init
.
Store_Position_Config
,
"_"
+
boxBean
.
DeviceID
.
ToString
()
);
positionConfigFile
=
positionConfigFile
.
Replace
(
".csv"
,
"_"
+
boxBean
.
DeviceID
.
ToString
()+
".csv"
);
}
}
bool
result
=
CSVPositionReader
<
ACStorePosition
>.
SavePostion
(
positionConfigFile
,
ktkPosition
);
bool
result
=
CSVPositionReader
<
ACStorePosition
>.
SavePostion
(
positionConfigFile
,
ktkPosition
);
if
(!
result
)
if
(!
result
)
...
@@ -536,8 +539,8 @@ namespace OnlineStore.ACSingleStore
...
@@ -536,8 +539,8 @@ namespace OnlineStore.ACSingleStore
private
void
AxisABSMove
(
ConfigMoveAxis
moveAxis
,
int
targetPosition
,
int
targetSpeed
)
private
void
AxisABSMove
(
ConfigMoveAxis
moveAxis
,
int
targetPosition
,
int
targetSpeed
)
{
{
LogUtil
.
info
(
boxBean
.
Name
+
" 点击点位运动:"
+
moveAxis
.
DisplayStr
+
" ["
+
targetPosition
+
"] ["
+
targetSpeed
+
"] "
);
LogUtil
.
info
(
boxBean
.
Name
+
" 点击点位运动:"
+
moveAxis
.
DisplayStr
+
" ["
+
targetPosition
+
"] ["
+
targetSpeed
+
"] "
);
moveAxis
.
TargetPosition
=
targetPosition
;
moveAxis
.
TargetPosition
=
targetPosition
;
AxisManager
.
instance
.
AbsMove
(
moveAxis
.
DeviceName
,
moveAxis
.
GetAxisValue
(),
targetPosition
,
targetSpeed
);
AxisManager
.
instance
.
AbsMove
(
moveAxis
.
DeviceName
,
moveAxis
.
GetAxisValue
(),
targetPosition
,
targetSpeed
,
moveAxis
.
AddSpeed
,
moveAxis
.
DelSpeed
);
}
}
private
void
btnUpDownP1_Click
(
object
sender
,
EventArgs
e
)
private
void
btnUpDownP1_Click
(
object
sender
,
EventArgs
e
)
{
{
...
@@ -988,6 +991,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -988,6 +991,7 @@ namespace OnlineStore.ACSingleStore
axisMoveControl1
.
Enabled
=
status
;
axisMoveControl1
.
Enabled
=
status
;
//groupComAxis.Enabled = status;
//groupComAxis.Enabled = status;
groupInout
.
Enabled
=
status
;
groupInout
.
Enabled
=
status
;
axisMoveControl1
.
Enabled
=
status
;
}
}
private
void
btnCon_Click
(
object
sender
,
EventArgs
e
)
private
void
btnCon_Click
(
object
sender
,
EventArgs
e
)
...
@@ -1018,8 +1022,13 @@ namespace OnlineStore.ACSingleStore
...
@@ -1018,8 +1022,13 @@ namespace OnlineStore.ACSingleStore
txtDOIndex
.
Text
=
io
.
GetIOAddr
().
ToString
();
txtDOIndex
.
Text
=
io
.
GetIOAddr
().
ToString
();
txtDoName
.
Text
=
io
.
IO_IP
;
txtDoName
.
Text
=
io
.
IO_IP
;
IOTextControl
newControl
=
DOControlList
[
io
.
ProName
];
IOTextControl
newControl
=
DOControlList
[
io
.
ProName
];
if
(
selectControl
!=
null
)
{
selectControl
.
BorderStyle
=
BorderStyle
.
None
;
}
if
(
selectControl
!=
null
)
newControl
.
BorderStyle
=
BorderStyle
.
FixedSingle
;
{
selectControl
.
BorderStyle
=
BorderStyle
.
None
;
selectControl
.
BackColor
=
Color
.
White
;
}
newControl
.
BorderStyle
=
BorderStyle
.
FixedSingle
;
newControl
.
BackColor
=
Color
.
SkyBlue
;
selectControl
=
newControl
;
selectControl
=
newControl
;
}
}
}
}
...
@@ -1058,6 +1067,20 @@ namespace OnlineStore.ACSingleStore
...
@@ -1058,6 +1067,20 @@ namespace OnlineStore.ACSingleStore
{
{
boxBean
.
CloseDoor
(
false
);
boxBean
.
CloseDoor
(
false
);
}
}
private
void
btnOpenD_Click
(
object
sender
,
EventArgs
e
)
{
boxBean
.
OpenDoor
(
false
);
}
private
void
btnCloseD_Click
(
object
sender
,
EventArgs
e
)
{
boxBean
.
CloseDoor
(
false
);
}
private
void
lblThisSta_Click
(
object
sender
,
EventArgs
e
)
{
}
}
}
}
}
source/HCSingleStore/FrmStore.cs
查看文件 @
45f99b7
...
@@ -616,9 +616,12 @@ namespace OnlineStore.ACSingleStore
...
@@ -616,9 +616,12 @@ namespace OnlineStore.ACSingleStore
if
(
resul
.
Equals
(
DialogResult
.
OK
))
if
(
resul
.
Equals
(
DialogResult
.
OK
))
{
{
ACServerManager
.
instance
.
CloseCard
();
ACServerManager
.
instance
.
CloseCard
();
LogUtil
.
info
(
"打开板卡测试界面前,先CloseCard"
);
FrmHuiChuanTest
frm
=
new
FrmHuiChuanTest
();
FrmHuiChuanTest
frm
=
new
FrmHuiChuanTest
();
frm
.
ShowDialog
();
frm
.
ShowDialog
();
HCLogUtil
.
logBox
=
this
.
logBox
;
HCLogUtil
.
logBox
=
this
.
logBox
;
LogUtil
.
info
(
"板卡测试界面关闭后,调用OpenCard"
);
ACServerManager
.
instance
.
OpenCard
();
}
}
}
}
...
...
source/HCSingleStore/positionTool/FrmPositionTool.cs
查看文件 @
45f99b7
...
@@ -200,7 +200,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -200,7 +200,7 @@ namespace OnlineStore.ACSingleStore
PositionList
=
new
List
<
int
>();
PositionList
=
new
List
<
int
>();
LogUtil
.
info
(
LogName
+
"伺服开始运动,速度【"
+
speed
+
"】位置【"
+
position
+
"】启动定时器 "
);
LogUtil
.
info
(
LogName
+
"伺服开始运动,速度【"
+
speed
+
"】位置【"
+
position
+
"】启动定时器 "
);
formMoveStatus
(
false
);
formMoveStatus
(
false
);
AxisManager
.
instance
.
AbsMove
(
PortName
,
SlvAddr
,
position
,
speed
);
AxisManager
.
instance
.
AbsMove
(
PortName
,
SlvAddr
,
position
,
speed
,
configAxis
.
AddSpeed
,
configAxis
.
DelSpeed
);
toolTimer
.
Start
();
toolTimer
.
Start
();
}
}
private
int
P3Offset
=
0
;
private
int
P3Offset
=
0
;
...
...
source/HCSingleStore/userControl/AxisMoveControl.cs
查看文件 @
45f99b7
...
@@ -65,6 +65,11 @@ namespace OnlineStore.AutoCountClient
...
@@ -65,6 +65,11 @@ namespace OnlineStore.AutoCountClient
private
bool
CanMove
()
private
bool
CanMove
()
{
{
if
(
axis
==
null
)
{
MessageBox
.
Show
(
"请先选择运动轴"
,
"警告 "
,
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Error
);
return
false
;
}
//如果是取料升降轴,取料旋转轴,如果进出轴不在待机点,不能运动
//如果是取料升降轴,取料旋转轴,如果进出轴不在待机点,不能运动
if
(
boxBean
.
Config
.
UpDown_Axis
.
IsSameAxis
(
PortName
,
SlvAddr
)
if
(
boxBean
.
Config
.
UpDown_Axis
.
IsSameAxis
(
PortName
,
SlvAddr
)
...
@@ -105,7 +110,7 @@ namespace OnlineStore.AutoCountClient
...
@@ -105,7 +110,7 @@ namespace OnlineStore.AutoCountClient
int
position
=
FormUtil
.
GetIntValue
(
txtAPosition
);
int
position
=
FormUtil
.
GetIntValue
(
txtAPosition
);
int
speed
=
FormUtil
.
GetIntValue
(
txtASpeed
);
int
speed
=
FormUtil
.
GetIntValue
(
txtASpeed
);
LogUtil
.
info
(
boxBean
.
Name
+
"点击【绝对运动】,【"
+
PortName
+
"_"
+
SlvAddr
+
"】位置【"
+
position
+
"】速度【"
+
speed
+
"】"
);
LogUtil
.
info
(
boxBean
.
Name
+
"点击【绝对运动】,【"
+
PortName
+
"_"
+
SlvAddr
+
"】位置【"
+
position
+
"】速度【"
+
speed
+
"】"
);
AxisManager
.
instance
.
AbsMove
(
PortName
,
SlvAddr
,
position
,
speed
);
AxisManager
.
instance
.
AbsMove
(
PortName
,
SlvAddr
,
position
,
speed
,
axis
.
AddSpeed
,
axis
.
DelSpeed
);
}
}
private
void
btnAxisRMove_Click
(
object
sender
,
EventArgs
e
)
private
void
btnAxisRMove_Click
(
object
sender
,
EventArgs
e
)
...
@@ -117,7 +122,7 @@ namespace OnlineStore.AutoCountClient
...
@@ -117,7 +122,7 @@ namespace OnlineStore.AutoCountClient
int
position
=
FormUtil
.
GetIntValue
(
txtAPosition
);
int
position
=
FormUtil
.
GetIntValue
(
txtAPosition
);
int
speed
=
FormUtil
.
GetIntValue
(
txtASpeed
);
int
speed
=
FormUtil
.
GetIntValue
(
txtASpeed
);
LogUtil
.
info
(
boxBean
.
Name
+
"点击【相对运动】,【"
+
PortName
+
"_"
+
SlvAddr
+
"】位置【"
+
position
+
"】速度【"
+
speed
+
"】"
);
LogUtil
.
info
(
boxBean
.
Name
+
"点击【相对运动】,【"
+
PortName
+
"_"
+
SlvAddr
+
"】位置【"
+
position
+
"】速度【"
+
speed
+
"】"
);
AxisManager
.
instance
.
RelMove
(
PortName
,
SlvAddr
,
position
,
speed
);
AxisManager
.
instance
.
RelMove
(
PortName
,
SlvAddr
,
position
,
speed
,
axis
.
AddSpeed
,
axis
.
DelSpeed
);
}
}
private
void
btnAxisVMove_Click
(
object
sender
,
EventArgs
e
)
private
void
btnAxisVMove_Click
(
object
sender
,
EventArgs
e
)
...
@@ -191,12 +196,13 @@ namespace OnlineStore.AutoCountClient
...
@@ -191,12 +196,13 @@ namespace OnlineStore.AutoCountClient
lblCountPulse
.
Text
=
AxisManager
.
instance
.
GetActualtPosition
(
PortName
,
SlvAddr
).
ToString
();
lblCountPulse
.
Text
=
AxisManager
.
instance
.
GetActualtPosition
(
PortName
,
SlvAddr
).
ToString
();
}
}
private
ConfigMoveAxis
axis
=
null
;
private
List
<
Color
>
colorsList
=
new
List
<
Color
>();
private
List
<
Color
>
colorsList
=
new
List
<
Color
>();
private
void
comboBox1_SelectedIndexChanged
(
object
sender
,
EventArgs
e
)
private
void
comboBox1_SelectedIndexChanged
(
object
sender
,
EventArgs
e
)
{
{
if
(
cmbAxis
.
SelectedIndex
>=
0
)
if
(
cmbAxis
.
SelectedIndex
>=
0
)
{
{
ConfigMoveAxis
axis
=
axisList
[
cmbAxis
.
SelectedIndex
];
axis
=
axisList
[
cmbAxis
.
SelectedIndex
];
PortName
=
axis
.
DeviceName
;
PortName
=
axis
.
DeviceName
;
SlvAddr
=
axis
.
GetAxisValue
();
SlvAddr
=
axis
.
GetAxisValue
();
txtAxisDeviceName
.
Text
=
PortName
;
txtAxisDeviceName
.
Text
=
PortName
;
...
...
source/HCSingleStore/记录.txt
查看文件 @
45f99b7
...
@@ -51,3 +51,8 @@
...
@@ -51,3 +51,8 @@
20201009
20201009
入库时暂不判断是否有料盘
入库时暂不判断是否有料盘
出库时不判断叉子上是否有料盘,待料盘放到仓门口时,如果没有料盘,发送提示信息到服务器,并调用取消任务接口
出库时不判断叉子上是否有料盘,待料盘放到仓门口时,如果没有料盘,发送提示信息到服务器,并调用取消任务接口
位置保存问题.
自动复位有问题。
\ No newline at end of file
\ No newline at end of file
source/HuichuanLibrary/HCBoardManager_Axis.cs
查看文件 @
45f99b7
...
@@ -60,7 +60,7 @@ namespace HuichuanLibrary
...
@@ -60,7 +60,7 @@ namespace HuichuanLibrary
/// <param name="highVel">回零高速</param>
/// <param name="highVel">回零高速</param>
/// <param name="lowVel">回零低速</param>
/// <param name="lowVel">回零低速</param>
/// <param name="acc">回零加速度</param>
/// <param name="acc">回零加速度</param>
/// <param name="homeMethod">回零方法,默认2
9
</param>
/// <param name="homeMethod">回零方法,默认2
8
</param>
/// <param name="offset">回零偏移,默认0</param>
/// <param name="offset">回零偏移,默认0</param>
/// <param name="overtime">超时时间,默认120000</param>
/// <param name="overtime">超时时间,默认120000</param>
/// <param name="posSrc">端子板信号源,默认0</param>
/// <param name="posSrc">端子板信号源,默认0</param>
...
@@ -81,7 +81,7 @@ namespace HuichuanLibrary
...
@@ -81,7 +81,7 @@ namespace HuichuanLibrary
tHomingPara
.
acc
=
acc
;
tHomingPara
.
acc
=
acc
;
tHomingPara
.
overtime
=
overtime
;
tHomingPara
.
overtime
=
overtime
;
tHomingPara
.
posSrc
=
posSrc
;
tHomingPara
.
posSrc
=
posSrc
;
HCLogUtil
.
info
(
"Axis["
+
axisNo
+
"] StartHoming highVel["
+
highVel
+
"],lowVel["
+
lowVel
+
"],acc["
+
acc
+
"],homeMethod["
+
homeMethod
+
"],offset["
+
offset
+
"],overtime["
+
overtime
+
"],posSrc["
+
posSrc
+
"]"
);
//【3】开始回原
//【3】开始回原
UInt32
ret
=
ImcApi
.
IMC_StartHoming
(
nCardHandle
,
axisNo
,
ref
tHomingPara
);
UInt32
ret
=
ImcApi
.
IMC_StartHoming
(
nCardHandle
,
axisNo
,
ref
tHomingPara
);
if
(
ret
!=
0
)
if
(
ret
!=
0
)
...
...
source/LoadCVSLibrary/storeConfig/CSVConfigReader.cs
查看文件 @
45f99b7
...
@@ -208,8 +208,8 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -208,8 +208,8 @@ namespace OnlineStore.LoadCSVLibrary
if
(
array
.
Length
>
0
&&
array
[
0
].
ToString
().
Equals
(
ConfigItemType
.
PRO
))
if
(
array
.
Length
>
0
&&
array
[
0
].
ToString
().
Equals
(
ConfigItemType
.
PRO
))
{
{
string
[]
newArray
=
array
;
string
[]
newArray
=
array
;
string
proName
=
array
[
2
];
string
proName
=
array
[
3
];
string
proValue
=
array
[
3
];
string
proValue
=
array
[
4
];
if
(
proName
.
ToUpper
().
Contains
(
BaseConfig
.
IOIP_Str
.
ToUpper
()))
if
(
proName
.
ToUpper
().
Contains
(
BaseConfig
.
IOIP_Str
.
ToUpper
()))
{
{
index
++;
index
++;
...
@@ -221,7 +221,7 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -221,7 +221,7 @@ namespace OnlineStore.LoadCSVLibrary
if
(
prop
!=
null
)
if
(
prop
!=
null
)
{
{
string
newValue
=
prop
.
GetValue
(
newConfig
,
null
).
ToString
();
string
newValue
=
prop
.
GetValue
(
newConfig
,
null
).
ToString
();
newArray
[
3
]
=
newValue
;
newArray
[
4
]
=
newValue
;
}
}
}
}
catch
(
Exception
e
)
{
catch
(
Exception
e
)
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论