Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit d55e71af
由
LN
编写于
2020-03-09 10:34:15 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
界面修改
1 个父辈
ad5ca24d
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
189 行增加
和
178 行删除
source/AssemblyLineClient/FrmDischargeLine.Designer.cs
source/AssemblyLineClient/FrmFeedingEquip.Designer.cs
source/AssemblyLineClient/FrmFeedingEquip.cs
source/AssemblyLineClient/FrmLineStore.Designer.cs
source/AssemblyLineClient/FrmLineStore.resx
source/AssemblyLineClient/FrmMoveEquip.Designer.cs
source/AssemblyLineClient/FrmMoveEquip.cs
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
source/AssemblyLineClient/FrmDischargeLine.Designer.cs
查看文件 @
d55e71a
...
...
@@ -38,9 +38,9 @@
this
.
btnLine1Test
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox6
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
lblThisSta
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblMoveInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTrayNum
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblInstoreList
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblMoveInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
...
...
@@ -347,17 +347,6 @@
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
// lblMoveInfo
//
this
.
lblMoveInfo
.
AutoSize
=
true
;
this
.
lblMoveInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveInfo
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
22
);
this
.
lblMoveInfo
.
Name
=
"lblMoveInfo"
;
this
.
lblMoveInfo
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
lblMoveInfo
.
TabIndex
=
279
;
this
.
lblMoveInfo
.
Text
=
"运动信息:"
;
//
// lblTrayNum
//
this
.
lblTrayNum
.
AutoSize
=
true
;
...
...
@@ -381,6 +370,17 @@
this
.
lblInstoreList
.
Size
=
new
System
.
Drawing
.
Size
(
524
,
53
);
this
.
lblInstoreList
.
TabIndex
=
277
;
//
// lblMoveInfo
//
this
.
lblMoveInfo
.
AutoSize
=
true
;
this
.
lblMoveInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveInfo
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
22
);
this
.
lblMoveInfo
.
Name
=
"lblMoveInfo"
;
this
.
lblMoveInfo
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
lblMoveInfo
.
TabIndex
=
279
;
this
.
lblMoveInfo
.
Text
=
"运动信息:"
;
//
// groupBox3
//
this
.
groupBox3
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
...
...
source/AssemblyLineClient/FrmFeedingEquip.Designer.cs
查看文件 @
d55e71a
...
...
@@ -654,9 +654,9 @@
this
.
lblThisSta
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblThisSta
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblThisSta
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
406
,
77
);
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
406
,
21
);
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
720
,
155
);
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
866
,
330
);
this
.
lblThisSta
.
TabIndex
=
246
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
...
...
@@ -784,7 +784,7 @@
this
.
lblwidth
.
AutoSize
=
true
;
this
.
lblwidth
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblwidth
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblwidth
.
Location
=
new
System
.
Drawing
.
Point
(
472
,
52
);
this
.
lblwidth
.
Location
=
new
System
.
Drawing
.
Point
(
21
,
47
);
this
.
lblwidth
.
Name
=
"lblwidth"
;
this
.
lblwidth
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
lblwidth
.
TabIndex
=
279
;
...
...
@@ -795,7 +795,7 @@
this
.
lblMoveInfo
.
AutoSize
=
true
;
this
.
lblMoveInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveInfo
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
16
,
25
);
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
21
,
73
);
this
.
lblMoveInfo
.
Name
=
"lblMoveInfo"
;
this
.
lblMoveInfo
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
lblMoveInfo
.
TabIndex
=
278
;
...
...
@@ -806,7 +806,7 @@
this
.
lblAgvInfo
.
AutoSize
=
true
;
this
.
lblAgvInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblAgvInfo
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblAgvInfo
.
Location
=
new
System
.
Drawing
.
Point
(
472
,
25
);
this
.
lblAgvInfo
.
Location
=
new
System
.
Drawing
.
Point
(
21
,
21
);
this
.
lblAgvInfo
.
Name
=
"lblAgvInfo"
;
this
.
lblAgvInfo
.
Size
=
new
System
.
Drawing
.
Size
(
61
,
17
);
this
.
lblAgvInfo
.
TabIndex
=
276
;
...
...
source/AssemblyLineClient/FrmFeedingEquip.cs
查看文件 @
d55e71a
...
...
@@ -144,7 +144,7 @@ namespace OnlineStore.AssemblyLine
lblInstoreList
.
Text
=
text
;
}
lblMoveInfo
.
Text
=
equipBean
.
GetMoveStr
();
lblwidth
.
Text
=
" "
;
lblwidth
.
Text
=
equipBean
.
GetLastTrayInfo
()
;
}
catch
(
Exception
ex
)
{
...
...
source/AssemblyLineClient/FrmLineStore.Designer.cs
查看文件 @
d55e71a
...
...
@@ -36,11 +36,11 @@
this
.
groupBox2
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
chbTrayCheck
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbBuzzer
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbAGV
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
btnTrayInfo
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
chbAutoRun
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chkDebug
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
btnClearLog
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
chbAGV
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
logBox
=
new
System
.
Windows
.
Forms
.
RichTextBox
();
this
.
lblCID
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
groupBox3
=
new
System
.
Windows
.
Forms
.
GroupBox
();
...
...
@@ -65,7 +65,12 @@
this
.
button1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
lblStatus
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblWarnMsg
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
menuStrip1
=
new
System
.
Windows
.
Forms
.
MenuStrip
();
this
.
notifyIcon1
=
new
System
.
Windows
.
Forms
.
NotifyIcon
(
this
.
components
);
this
.
contextMenuStrip1
=
new
System
.
Windows
.
Forms
.
ContextMenuStrip
(
this
.
components
);
this
.
显示
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator8
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
toolStripMenuItem1
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
操作
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator1
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
启动
AToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
...
...
@@ -97,19 +102,14 @@
this
.
复制日志
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator11
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
版本号
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
notifyIcon1
=
new
System
.
Windows
.
Forms
.
NotifyIcon
(
this
.
components
);
this
.
contextMenuStrip1
=
new
System
.
Windows
.
Forms
.
ContextMenuStrip
(
this
.
components
);
this
.
显示
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator8
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
toolStripMenuItem1
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
menuStrip1
=
new
System
.
Windows
.
Forms
.
MenuStrip
();
this
.
tabControl1
.
SuspendLayout
();
this
.
tabPage1
.
SuspendLayout
();
this
.
groupBox2
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
contextMenuStrip1
.
SuspendLayout
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
SuspendLayout
();
//
// tabControl1
...
...
@@ -201,6 +201,20 @@
this
.
chbBuzzer
.
UseVisualStyleBackColor
=
true
;
this
.
chbBuzzer
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbBuzzer_CheckedChanged
);
//
// chbAGV
//
this
.
chbAGV
.
AutoSize
=
true
;
this
.
chbAGV
.
Checked
=
true
;
this
.
chbAGV
.
CheckState
=
System
.
Windows
.
Forms
.
CheckState
.
Checked
;
this
.
chbAGV
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbAGV
.
Location
=
new
System
.
Drawing
.
Point
(
20
,
87
);
this
.
chbAGV
.
Name
=
"chbAGV"
;
this
.
chbAGV
.
Size
=
new
System
.
Drawing
.
Size
(
138
,
24
);
this
.
chbAGV
.
TabIndex
=
198
;
this
.
chbAGV
.
Text
=
"AGV cancelState"
;
this
.
chbAGV
.
UseVisualStyleBackColor
=
true
;
this
.
chbAGV
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
checkBox1_CheckedChanged
);
//
// btnTrayInfo
//
this
.
btnTrayInfo
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
...
...
@@ -249,20 +263,6 @@
this
.
btnClearLog
.
UseVisualStyleBackColor
=
false
;
this
.
btnClearLog
.
Click
+=
new
System
.
EventHandler
(
this
.
btnClearLog_Click
);
//
// chbAGV
//
this
.
chbAGV
.
AutoSize
=
true
;
this
.
chbAGV
.
Checked
=
true
;
this
.
chbAGV
.
CheckState
=
System
.
Windows
.
Forms
.
CheckState
.
Checked
;
this
.
chbAGV
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbAGV
.
Location
=
new
System
.
Drawing
.
Point
(
20
,
87
);
this
.
chbAGV
.
Name
=
"chbAGV"
;
this
.
chbAGV
.
Size
=
new
System
.
Drawing
.
Size
(
138
,
24
);
this
.
chbAGV
.
TabIndex
=
198
;
this
.
chbAGV
.
Text
=
"AGV cancelState"
;
this
.
chbAGV
.
UseVisualStyleBackColor
=
true
;
this
.
chbAGV
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
checkBox1_CheckedChanged
);
//
// logBox
//
this
.
logBox
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
...
...
@@ -532,19 +532,47 @@
this
.
lblWarnMsg
.
TabIndex
=
96
;
this
.
lblWarnMsg
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
//
menuStrip
1
//
notifyIcon
1
//
this
.
menuStrip1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
menuStrip1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
menuStrip1
.
Items
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
操作
ToolStripMenuItem
,
this
.
设置
TToolStripMenuItem
,
this
.
帮助
ToolStripMenuItem
});
this
.
menuStrip1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
menuStrip1
.
Name
=
"menuStrip1"
;
this
.
menuStrip1
.
Size
=
new
System
.
Drawing
.
Size
(
1350
,
29
);
this
.
menuStrip1
.
TabIndex
=
4
;
this
.
menuStrip1
.
Text
=
"menuStrip1"
;
this
.
notifyIcon1
.
ContextMenuStrip
=
this
.
contextMenuStrip1
;
this
.
notifyIcon1
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"notifyIcon1.Icon"
)));
this
.
notifyIcon1
.
Text
=
"流水线料仓"
;
this
.
notifyIcon1
.
Visible
=
true
;
this
.
notifyIcon1
.
MouseDoubleClick
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
notifyIcon1_MouseDoubleClick
);
//
// contextMenuStrip1
//
this
.
contextMenuStrip1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
contextMenuStrip1
.
Items
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
显示
ToolStripMenuItem
,
this
.
toolStripSeparator8
,
this
.
toolStripMenuItem1
});
this
.
contextMenuStrip1
.
Name
=
"contextMenuStrip1"
;
this
.
contextMenuStrip1
.
Size
=
new
System
.
Drawing
.
Size
(
113
,
62
);
//
// 显示ToolStripMenuItem
//
this
.
显示
ToolStripMenuItem
.
Name
=
"显示ToolStripMenuItem"
;
this
.
显示
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
26
);
this
.
显示
ToolStripMenuItem
.
Text
=
"显示"
;
this
.
显示
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
显示
ToolStripMenuItem_Click
);
//
// toolStripSeparator8
//
this
.
toolStripSeparator8
.
Name
=
"toolStripSeparator8"
;
this
.
toolStripSeparator8
.
Size
=
new
System
.
Drawing
.
Size
(
109
,
6
);
//
// toolStripMenuItem1
//
this
.
toolStripMenuItem1
.
Name
=
"toolStripMenuItem1"
;
this
.
toolStripMenuItem1
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
26
);
this
.
toolStripMenuItem1
.
Text
=
"退出"
;
this
.
toolStripMenuItem1
.
Click
+=
new
System
.
EventHandler
(
this
.
toolStripMenuItem1_Click
);
//
// timer1
//
this
.
timer1
.
Interval
=
2000
;
this
.
timer1
.
Tick
+=
new
System
.
EventHandler
(
this
.
timer1_Tick
);
//
// 操作ToolStripMenuItem
//
...
...
@@ -647,7 +675,7 @@
// 扫码测试ToolStripMenuItem
//
this
.
扫码测试
ToolStripMenuItem
.
Name
=
"扫码测试ToolStripMenuItem"
;
this
.
扫码测试
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
80
,
26
);
this
.
扫码测试
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
76
,
26
);
this
.
扫码测试
ToolStripMenuItem
.
Text
=
"扫码测试"
;
this
.
扫码测试
ToolStripMenuItem
.
Visible
=
false
;
this
.
扫码测试
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
扫码测试
ToolStripMenuItem_Click
);
...
...
@@ -655,73 +683,73 @@
// toolStripSeparator6
//
this
.
toolStripSeparator6
.
Name
=
"toolStripSeparator6"
;
this
.
toolStripSeparator6
.
Size
=
new
System
.
Drawing
.
Size
(
17
7
,
6
);
this
.
toolStripSeparator6
.
Size
=
new
System
.
Drawing
.
Size
(
17
3
,
6
);
this
.
toolStripSeparator6
.
Visible
=
false
;
//
// 二维码学习ToolStripMenuItem
//
this
.
二维码学习
ToolStripMenuItem
.
Name
=
"二维码学习ToolStripMenuItem"
;
this
.
二维码学习
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
80
,
26
);
this
.
二维码学习
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
76
,
26
);
this
.
二维码学习
ToolStripMenuItem
.
Text
=
"二维码学习"
;
this
.
二维码学习
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
二维码学习
ToolStripMenuItem_Click
);
//
// toolStripSeparator7
//
this
.
toolStripSeparator7
.
Name
=
"toolStripSeparator7"
;
this
.
toolStripSeparator7
.
Size
=
new
System
.
Drawing
.
Size
(
17
7
,
6
);
this
.
toolStripSeparator7
.
Size
=
new
System
.
Drawing
.
Size
(
17
3
,
6
);
//
// 托盘初始化ToolStripMenuItem
//
this
.
托盘初始化
ToolStripMenuItem
.
Name
=
"托盘初始化ToolStripMenuItem"
;
this
.
托盘初始化
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
80
,
26
);
this
.
托盘初始化
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
76
,
26
);
this
.
托盘初始化
ToolStripMenuItem
.
Text
=
"托盘编码"
;
this
.
托盘初始化
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
托盘初始化
ToolStripMenuItem_Click
);
//
// toolStripSeparator9
//
this
.
toolStripSeparator9
.
Name
=
"toolStripSeparator9"
;
this
.
toolStripSeparator9
.
Size
=
new
System
.
Drawing
.
Size
(
17
7
,
6
);
this
.
toolStripSeparator9
.
Size
=
new
System
.
Drawing
.
Size
(
17
3
,
6
);
//
// iO模块状态ToolStripMenuItem
//
this
.
iO
模块状态
ToolStripMenuItem
.
Name
=
"iO模块状态ToolStripMenuItem"
;
this
.
iO
模块状态
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
80
,
26
);
this
.
iO
模块状态
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
76
,
26
);
this
.
iO
模块状态
ToolStripMenuItem
.
Text
=
"IO模块状态"
;
this
.
iO
模块状态
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
iO
模块状态
ToolStripMenuItem_Click
);
//
// toolStripSeparator13
//
this
.
toolStripSeparator13
.
Name
=
"toolStripSeparator13"
;
this
.
toolStripSeparator13
.
Size
=
new
System
.
Drawing
.
Size
(
17
7
,
6
);
this
.
toolStripSeparator13
.
Size
=
new
System
.
Drawing
.
Size
(
17
3
,
6
);
//
// toolStripMenuItem2
//
this
.
toolStripMenuItem2
.
Name
=
"toolStripMenuItem2"
;
this
.
toolStripMenuItem2
.
Size
=
new
System
.
Drawing
.
Size
(
1
80
,
26
);
this
.
toolStripMenuItem2
.
Size
=
new
System
.
Drawing
.
Size
(
1
76
,
26
);
this
.
toolStripMenuItem2
.
Text
=
"AGV调试"
;
this
.
toolStripMenuItem2
.
Click
+=
new
System
.
EventHandler
(
this
.
toolStripMenuItem2_Click
);
//
// toolStripSeparator14
//
this
.
toolStripSeparator14
.
Name
=
"toolStripSeparator14"
;
this
.
toolStripSeparator14
.
Size
=
new
System
.
Drawing
.
Size
(
17
7
,
6
);
this
.
toolStripSeparator14
.
Size
=
new
System
.
Drawing
.
Size
(
17
3
,
6
);
//
// 查看托盘信息ToolStripMenuItem
//
this
.
查看托盘信息
ToolStripMenuItem
.
Name
=
"查看托盘信息ToolStripMenuItem"
;
this
.
查看托盘信息
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
80
,
26
);
this
.
查看托盘信息
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
76
,
26
);
this
.
查看托盘信息
ToolStripMenuItem
.
Text
=
"查看托盘信息"
;
this
.
查看托盘信息
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
btnTrayInfo_Click
);
//
// toolStripSeparator12
//
this
.
toolStripSeparator12
.
Name
=
"toolStripSeparator12"
;
this
.
toolStripSeparator12
.
Size
=
new
System
.
Drawing
.
Size
(
17
7
,
6
);
this
.
toolStripSeparator12
.
Size
=
new
System
.
Drawing
.
Size
(
17
3
,
6
);
//
// 清空托盘信息ToolStripMenuItem
//
this
.
清空托盘信息
ToolStripMenuItem
.
Name
=
"清空托盘信息ToolStripMenuItem"
;
this
.
清空托盘信息
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
80
,
26
);
this
.
清空托盘信息
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
76
,
26
);
this
.
清空托盘信息
ToolStripMenuItem
.
Text
=
"清空托盘信息"
;
this
.
清空托盘信息
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
清空托盘信息
ToolStripMenuItem_Click
);
//
...
...
@@ -768,47 +796,19 @@
this
.
版本号
ToolStripMenuItem
.
Text
=
"关于软件"
;
this
.
版本号
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
版本号
ToolStripMenuItem_Click
);
//
// notifyIcon1
//
this
.
notifyIcon1
.
ContextMenuStrip
=
this
.
contextMenuStrip1
;
this
.
notifyIcon1
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"notifyIcon1.Icon"
)));
this
.
notifyIcon1
.
Text
=
"流水线料仓"
;
this
.
notifyIcon1
.
Visible
=
true
;
this
.
notifyIcon1
.
MouseDoubleClick
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
notifyIcon1_MouseDoubleClick
);
//
// contextMenuStrip1
//
this
.
contextMenuStrip1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
contextMenuStrip1
.
Items
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
显示
ToolStripMenuItem
,
this
.
toolStripSeparator8
,
this
.
toolStripMenuItem1
});
this
.
contextMenuStrip1
.
Name
=
"contextMenuStrip1"
;
this
.
contextMenuStrip1
.
Size
=
new
System
.
Drawing
.
Size
(
113
,
62
);
//
// 显示ToolStripMenuItem
//
this
.
显示
ToolStripMenuItem
.
Name
=
"显示ToolStripMenuItem"
;
this
.
显示
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
26
);
this
.
显示
ToolStripMenuItem
.
Text
=
"显示"
;
this
.
显示
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
显示
ToolStripMenuItem_Click
);
//
// toolStripSeparator8
//
this
.
toolStripSeparator8
.
Name
=
"toolStripSeparator8"
;
this
.
toolStripSeparator8
.
Size
=
new
System
.
Drawing
.
Size
(
109
,
6
);
//
// toolStripMenuItem1
//
this
.
toolStripMenuItem1
.
Name
=
"toolStripMenuItem1"
;
this
.
toolStripMenuItem1
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
26
);
this
.
toolStripMenuItem1
.
Text
=
"退出"
;
this
.
toolStripMenuItem1
.
Click
+=
new
System
.
EventHandler
(
this
.
toolStripMenuItem1_Click
);
//
// timer1
// menuStrip1
//
this
.
timer1
.
Interval
=
2000
;
this
.
timer1
.
Tick
+=
new
System
.
EventHandler
(
this
.
timer1_Tick
);
this
.
menuStrip1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
menuStrip1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
menuStrip1
.
Items
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
操作
ToolStripMenuItem
,
this
.
设置
TToolStripMenuItem
,
this
.
帮助
ToolStripMenuItem
});
this
.
menuStrip1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
menuStrip1
.
Name
=
"menuStrip1"
;
this
.
menuStrip1
.
Size
=
new
System
.
Drawing
.
Size
(
1350
,
29
);
this
.
menuStrip1
.
TabIndex
=
4
;
this
.
menuStrip1
.
Text
=
"menuStrip1"
;
//
// FrmLineStore
//
...
...
@@ -839,9 +839,9 @@
this
.
groupBox3
.
PerformLayout
();
this
.
groupBox1
.
ResumeLayout
(
false
);
this
.
groupBox1
.
PerformLayout
();
this
.
contextMenuStrip1
.
ResumeLayout
(
false
);
this
.
menuStrip1
.
ResumeLayout
(
false
);
this
.
menuStrip1
.
PerformLayout
();
this
.
contextMenuStrip1
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
this
.
PerformLayout
();
...
...
@@ -850,51 +850,29 @@
#
endregion
private
System
.
Windows
.
Forms
.
TabControl
tabControl1
;
private
System
.
Windows
.
Forms
.
MenuStrip
menuStrip1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
操作
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
帮助
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
NotifyIcon
notifyIcon1
;
private
System
.
Windows
.
Forms
.
ContextMenuStrip
contextMenuStrip1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
显示
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
toolStripMenuItem1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
启动
AToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
停止
TToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
复位
RToolStripMenuItem
;
internal
System
.
Windows
.
Forms
.
RichTextBox
logBox
;
private
System
.
Windows
.
Forms
.
Timer
timer1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
入库模式
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
Button
btnClearLog
;
private
System
.
Windows
.
Forms
.
Label
lblStatus
;
private
System
.
Windows
.
Forms
.
CheckBox
chbAutoRun
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
设置
TToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
版本号
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
TabPage
tabPage1
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator1
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator4
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator3
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator2
;
private
System
.
Windows
.
Forms
.
Label
lblCID
;
private
System
.
Windows
.
Forms
.
ListView
listView1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
扫码测试
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator6
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
二维码学习
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
Button
button2
;
private
System
.
Windows
.
Forms
.
Button
button1
;
private
System
.
Windows
.
Forms
.
Label
lblWarnMsg
;
private
System
.
Windows
.
Forms
.
CheckBox
chkDebug
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator5
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
退出
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
GroupBox
groupBox1
;
private
System
.
Windows
.
Forms
.
TextBox
txtPosId
;
private
System
.
Windows
.
Forms
.
ComboBox
cmbBoxIndex
;
private
System
.
Windows
.
Forms
.
Button
btnInStoreTset
;
private
System
.
Windows
.
Forms
.
Label
lblPosId
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator7
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
托盘初始化
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
Button
btnUpdateStatus
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator8
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator9
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
iO
模块状态
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
Label
lblMoveInfo
;
private
System
.
Windows
.
Forms
.
GroupBox
groupBox2
;
private
System
.
Windows
.
Forms
.
Button
btnTrayInfo
;
...
...
@@ -909,19 +887,41 @@
private
System
.
Windows
.
Forms
.
TextBox
txtTrayPosid
;
private
System
.
Windows
.
Forms
.
ComboBox
cmbTray
;
private
System
.
Windows
.
Forms
.
Button
btnUpdateTray
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
清空日志
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator10
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
复制日志
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator11
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator12
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
清空托盘信息
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator13
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
toolStripMenuItem2
;
private
System
.
Windows
.
Forms
.
CheckBox
chbAGV
;
private
System
.
Windows
.
Forms
.
CheckBox
chbBuzzer
;
private
System
.
Windows
.
Forms
.
CheckBox
chbTrayCheck
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
操作
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator1
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
启动
AToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator4
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
复位
RToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator3
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
停止
TToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator5
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
入库模式
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator2
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
退出
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
设置
TToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
扫码测试
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator6
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
二维码学习
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator7
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
托盘初始化
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator9
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
iO
模块状态
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator13
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
toolStripMenuItem2
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator14
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
查看托盘信息
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
CheckBox
chbTrayCheck
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator12
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
清空托盘信息
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
帮助
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
清空日志
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator10
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
复制日志
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator11
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
版本号
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
MenuStrip
menuStrip1
;
}
}
source/AssemblyLineClient/FrmLineStore.resx
查看文件 @
d55e71a
...
...
@@ -117,9 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="notifyIcon1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>137, 17</value>
</metadata>
...
...
@@ -817,6 +814,9 @@
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>420, 17</value>
</metadata>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAA8AMDAQAAEABABoBgAA9gAAACgoEAABAAQAyAQAAF4HAAAgIBAAAQAEAOgCAAAmDAAAGBgQAAEA
...
...
source/AssemblyLineClient/FrmMoveEquip.Designer.cs
查看文件 @
d55e71a
...
...
@@ -52,8 +52,8 @@
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabPage1
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
groupBox6
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
lblInoutInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblMoveInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblTrayNum
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblInstoreList
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
tabPage2
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
groupDetial
=
new
System
.
Windows
.
Forms
.
GroupBox
();
...
...
@@ -111,7 +111,7 @@
this
.
groupBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
497
,
6
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
3
94
,
193
);
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
3
75
,
160
);
this
.
groupBox1
.
TabIndex
=
105
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"DO写入"
;
...
...
@@ -120,7 +120,7 @@
//
this
.
txtDOIndex
.
Enabled
=
false
;
this
.
txtDOIndex
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtDOIndex
.
Location
=
new
System
.
Drawing
.
Point
(
32
8
,
6
7
);
this
.
txtDOIndex
.
Location
=
new
System
.
Drawing
.
Point
(
32
1
,
5
7
);
this
.
txtDOIndex
.
MaxLength
=
10
;
this
.
txtDOIndex
.
Name
=
"txtDOIndex"
;
this
.
txtDOIndex
.
Size
=
new
System
.
Drawing
.
Size
(
47
,
23
);
...
...
@@ -131,7 +131,7 @@
//
this
.
txtDoName
.
Enabled
=
false
;
this
.
txtDoName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtDoName
.
Location
=
new
System
.
Drawing
.
Point
(
71
,
6
7
);
this
.
txtDoName
.
Location
=
new
System
.
Drawing
.
Point
(
64
,
5
7
);
this
.
txtDoName
.
MaxLength
=
10
;
this
.
txtDoName
.
Name
=
"txtDoName"
;
this
.
txtDoName
.
Size
=
new
System
.
Drawing
.
Size
(
116
,
23
);
...
...
@@ -143,7 +143,7 @@
this
.
label17
.
AutoSize
=
true
;
this
.
label17
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label17
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
1
9
,
70
);
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
66
);
this
.
label17
.
Name
=
"label17"
;
this
.
label17
.
Size
=
new
System
.
Drawing
.
Size
(
46
,
17
);
this
.
label17
.
TabIndex
=
274
;
...
...
@@ -155,7 +155,7 @@
this
.
label14
.
AutoSize
=
true
;
this
.
label14
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label14
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label14
.
Location
=
new
System
.
Drawing
.
Point
(
2
72
,
7
0
);
this
.
label14
.
Location
=
new
System
.
Drawing
.
Point
(
2
65
,
6
0
);
this
.
label14
.
Name
=
"label14"
;
this
.
label14
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label14
.
TabIndex
=
273
;
...
...
@@ -167,7 +167,7 @@
this
.
btnOpenDo
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnOpenDo
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenDo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenDo
.
Location
=
new
System
.
Drawing
.
Point
(
16
9
,
107
);
this
.
btnOpenDo
.
Location
=
new
System
.
Drawing
.
Point
(
16
2
,
94
);
this
.
btnOpenDo
.
Name
=
"btnOpenDo"
;
this
.
btnOpenDo
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
34
);
this
.
btnOpenDo
.
TabIndex
=
272
;
...
...
@@ -180,7 +180,7 @@
this
.
btnWriteSingleDO
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnWriteSingleDO
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnWriteSingleDO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnWriteSingleDO
.
Location
=
new
System
.
Drawing
.
Point
(
2
75
,
107
);
this
.
btnWriteSingleDO
.
Location
=
new
System
.
Drawing
.
Point
(
2
68
,
94
);
this
.
btnWriteSingleDO
.
Name
=
"btnWriteSingleDO"
;
this
.
btnWriteSingleDO
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
34
);
this
.
btnWriteSingleDO
.
TabIndex
=
269
;
...
...
@@ -191,7 +191,7 @@
// txtWriteTime
//
this
.
txtWriteTime
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtWriteTime
.
Location
=
new
System
.
Drawing
.
Point
(
82
,
113
);
this
.
txtWriteTime
.
Location
=
new
System
.
Drawing
.
Point
(
75
,
100
);
this
.
txtWriteTime
.
MaxLength
=
10
;
this
.
txtWriteTime
.
Name
=
"txtWriteTime"
;
this
.
txtWriteTime
.
Size
=
new
System
.
Drawing
.
Size
(
66
,
23
);
...
...
@@ -203,7 +203,7 @@
this
.
label5
.
AutoSize
=
true
;
this
.
label5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label5
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
1
9
,
116
);
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
103
);
this
.
label5
.
Name
=
"label5"
;
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
60
,
17
);
this
.
label5
.
TabIndex
=
270
;
...
...
@@ -229,7 +229,7 @@
this
.
cmbWriteIO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
cmbWriteIO
.
FormattingEnabled
=
true
;
this
.
cmbWriteIO
.
ItemHeight
=
22
;
this
.
cmbWriteIO
.
Location
=
new
System
.
Drawing
.
Point
(
1
7
,
25
);
this
.
cmbWriteIO
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
19
);
this
.
cmbWriteIO
.
Name
=
"cmbWriteIO"
;
this
.
cmbWriteIO
.
Size
=
new
System
.
Drawing
.
Size
(
358
,
28
);
this
.
cmbWriteIO
.
TabIndex
=
234
;
...
...
@@ -302,9 +302,9 @@
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnUpDownUp
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnBeforeAfterBefore
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnTopUp
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
8
97
,
6
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
8
78
,
6
);
this
.
groupBox5
.
Name
=
"groupBox5"
;
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
4
09
,
193
);
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
4
28
,
160
);
this
.
groupBox5
.
TabIndex
=
255
;
this
.
groupBox5
.
TabStop
=
false
;
this
.
groupBox5
.
Text
=
"IO操作测试"
;
...
...
@@ -314,9 +314,9 @@
this
.
btnCloseAll
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnCloseAll
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseAll
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseAll
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
145
);
this
.
btnCloseAll
.
Location
=
new
System
.
Drawing
.
Point
(
308
,
66
);
this
.
btnCloseAll
.
Name
=
"btnCloseAll"
;
this
.
btnCloseAll
.
Size
=
new
System
.
Drawing
.
Size
(
1
40
,
34
);
this
.
btnCloseAll
.
Size
=
new
System
.
Drawing
.
Size
(
1
14
,
73
);
this
.
btnCloseAll
.
TabIndex
=
259
;
this
.
btnCloseAll
.
Text
=
"关闭所有DO"
;
this
.
btnCloseAll
.
UseVisualStyleBackColor
=
false
;
...
...
@@ -419,9 +419,9 @@
this
.
lblThisSta
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblThisSta
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblThisSta
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
274
,
19
);
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
274
,
48
);
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
528
,
243
);
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
528
,
132
);
this
.
lblThisSta
.
TabIndex
=
246
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
...
...
@@ -538,49 +538,48 @@
this
.
groupBox6
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblInoutInfo
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblMoveInfo
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblTrayNum
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblInstoreList
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblThisSta
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
498
,
205
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
498
,
172
);
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
808
,
268
);
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
808
,
301
);
this
.
groupBox6
.
TabIndex
=
278
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
Text
=
"消息"
;
//
// lblInoutInfo
//
this
.
lblInoutInfo
.
AutoSize
=
true
;
this
.
lblInoutInfo
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
lblInoutInfo
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
22
);
this
.
lblInoutInfo
.
Name
=
"lblInoutInfo"
;
this
.
lblInoutInfo
.
Size
=
new
System
.
Drawing
.
Size
(
80
,
17
);
this
.
lblInoutInfo
.
TabIndex
=
281
;
this
.
lblInoutInfo
.
Text
=
"当前出入库:"
;
//
// lblMoveInfo
//
this
.
lblMoveInfo
.
AutoSize
=
true
;
this
.
lblMoveInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveInfo
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
1
3
,
29
);
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
1
1
,
46
);
this
.
lblMoveInfo
.
Name
=
"lblMoveInfo"
;
this
.
lblMoveInfo
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
lblMoveInfo
.
TabIndex
=
280
;
this
.
lblMoveInfo
.
Text
=
"运动信息:"
;
//
// lblTrayNum
//
this
.
lblTrayNum
.
AutoSize
=
true
;
this
.
lblTrayNum
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTrayNum
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblTrayNum
.
Location
=
new
System
.
Drawing
.
Point
(
29
,
29
);
this
.
lblTrayNum
.
Name
=
"lblTrayNum"
;
this
.
lblTrayNum
.
Size
=
new
System
.
Drawing
.
Size
(
0
,
17
);
this
.
lblTrayNum
.
TabIndex
=
276
;
this
.
lblTrayNum
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// lblInstoreList
//
this
.
lblInstoreList
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblInstoreList
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblInstoreList
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblInstoreList
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
lblInstoreList
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblInstoreList
.
Location
=
new
System
.
Drawing
.
Point
(
274
,
1
63
);
this
.
lblInstoreList
.
Location
=
new
System
.
Drawing
.
Point
(
274
,
1
80
);
this
.
lblInstoreList
.
Name
=
"lblInstoreList"
;
this
.
lblInstoreList
.
Size
=
new
System
.
Drawing
.
Size
(
528
,
1
84
);
this
.
lblInstoreList
.
Size
=
new
System
.
Drawing
.
Size
(
528
,
1
15
);
this
.
lblInstoreList
.
TabIndex
=
277
;
//
// tabPage2
...
...
@@ -960,7 +959,6 @@
internal
System
.
Windows
.
Forms
.
TextBox
txtP1
;
internal
System
.
Windows
.
Forms
.
Button
btnMoveToP1
;
private
System
.
Windows
.
Forms
.
Button
btnSave
;
private
System
.
Windows
.
Forms
.
Label
lblTrayNum
;
internal
System
.
Windows
.
Forms
.
Button
btnP3
;
internal
System
.
Windows
.
Forms
.
TextBox
txtP3
;
private
System
.
Windows
.
Forms
.
GroupBox
groupBox6
;
...
...
@@ -985,6 +983,7 @@
private
System
.
Windows
.
Forms
.
ComboBox
cmbDHeight
;
private
System
.
Windows
.
Forms
.
Label
label2
;
private
System
.
Windows
.
Forms
.
Button
btnDSave
;
private
System
.
Windows
.
Forms
.
Label
lblInoutInfo
;
}
}
source/AssemblyLineClient/FrmMoveEquip.cs
查看文件 @
d55e71a
...
...
@@ -123,6 +123,14 @@ namespace OnlineStore.AssemblyLine
FormStatus
(
false
);
}
}
if
(
equipBean
.
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
InStore
)
||
equipBean
.
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
OutStore
))
{
lblInoutInfo
.
Text
=
equipBean
.
MoveInfo
.
MoveParam
.
ToStr
();
}
else
{
lblInoutInfo
.
Text
=
""
;
}
lblMoveInfo
.
Text
=
equipBean
.
GetMoveStr
()+
"\r\n料仓类型:"
+(
equipBean
.
Config
.
IsBigTray
.
Equals
(
1
)?
"大料盘"
:
"小料盘"
);
string
canOut
=
LineManager
.
Line
.
CanOutStore
(
equipBean
.
DeviceID
)
?
"可出库"
:
"不可出库"
;
lblStoreStatus
.
Text
=
KTK_Store
.
GetRunStr
(
equipBean
.
lineStatus
,
equipBean
.
runStatus
)
+
"("
+
canOut
+
")"
;
...
...
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
查看文件 @
d55e71a
...
...
@@ -840,8 +840,12 @@ namespace OnlineStore.DeviceLibrary
msg
+=
"MoveS :"
+
MoveInfo
.
SLog
+
"\n"
;
msg
+=
"SMoveT:"
+
SecondMoveInfo
.
MoveType
+
"\n"
;
msg
+=
"SMoveS:"
+
SecondMoveInfo
.
MoveStep
+
"\n"
;
msg
+=
""
+
LastWidth
+
"X"
+
LastHeight
+
"="
+
lastcode
+
""
;
//
msg += "" + LastWidth + "X" + LastHeight + "="+ lastcode + "";
return
msg
;
}
public
string
GetLastTrayInfo
()
{
return
""
+
LastWidth
+
"X"
+
LastHeight
+
"="
+
lastcode
+
""
;
}
}
}
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论