Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-VMILineClient
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit e371218f
由
LN
编写于
2020-01-15 11:15:07 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
cb06f669
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
17 行增加
和
4 行删除
source/VMILineClient/FrmVMIClient.Designer.cs
source/VMILineClient/FrmVMIClient.cs
source/VMILineClient/FrmVMIClient.Designer.cs
查看文件 @
e371218
...
...
@@ -65,6 +65,7 @@
this
.
btnNeedLeave
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnDis
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnInit
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtShelfId
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
groupBox3
.
SuspendLayout
();
this
.
panel1
.
SuspendLayout
();
this
.
contextMenuStrip1
.
SuspendLayout
();
...
...
@@ -488,6 +489,7 @@
//
this
.
groupBox5
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox5
.
Controls
.
Add
(
this
.
txtShelfId
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
txtname
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnNeedEntry
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnNeedLeave
);
...
...
@@ -513,7 +515,7 @@
// btnNeedEntry
//
this
.
btnNeedEntry
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNeedEntry
.
Location
=
new
System
.
Drawing
.
Point
(
496
,
24
);
this
.
btnNeedEntry
.
Location
=
new
System
.
Drawing
.
Point
(
548
,
24
);
this
.
btnNeedEntry
.
Name
=
"btnNeedEntry"
;
this
.
btnNeedEntry
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
39
);
this
.
btnNeedEntry
.
TabIndex
=
4
;
...
...
@@ -524,7 +526,7 @@
// btnNeedLeave
//
this
.
btnNeedLeave
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNeedLeave
.
Location
=
new
System
.
Drawing
.
Point
(
358
,
24
);
this
.
btnNeedLeave
.
Location
=
new
System
.
Drawing
.
Point
(
410
,
24
);
this
.
btnNeedLeave
.
Name
=
"btnNeedLeave"
;
this
.
btnNeedLeave
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
39
);
this
.
btnNeedLeave
.
TabIndex
=
3
;
...
...
@@ -554,6 +556,16 @@
this
.
btnInit
.
UseVisualStyleBackColor
=
true
;
this
.
btnInit
.
Click
+=
new
System
.
EventHandler
(
this
.
btnInit_Click
);
//
// txtShelfId
//
this
.
txtShelfId
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtShelfId
.
Location
=
new
System
.
Drawing
.
Point
(
354
,
31
);
this
.
txtShelfId
.
MaxLength
=
4
;
this
.
txtShelfId
.
Name
=
"txtShelfId"
;
this
.
txtShelfId
.
Size
=
new
System
.
Drawing
.
Size
(
53
,
26
);
this
.
txtShelfId
.
TabIndex
=
6
;
this
.
txtShelfId
.
Text
=
"000"
;
//
// FrmVMIClient
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
96F
,
96F
);
...
...
@@ -631,6 +643,7 @@
private
System
.
Windows
.
Forms
.
Button
btnStopTDown
;
private
System
.
Windows
.
Forms
.
ComboBox
cmbStopList
;
private
System
.
Windows
.
Forms
.
TextBox
txtname
;
private
System
.
Windows
.
Forms
.
TextBox
txtShelfId
;
}
}
source/VMILineClient/FrmVMIClient.cs
查看文件 @
e371218
...
...
@@ -367,13 +367,13 @@ namespace OnlineStore.VMILineClient
string
agvName
=
"C2"
;
private
void
btnNeedLeave_Click
(
object
sender
,
EventArgs
e
)
{
AgvClient
.
NeedLeave
(
agvName
);
AgvClient
.
NeedLeave
(
txtname
.
Text
,
txtShelfId
.
Text
);
}
private
void
btnNeedEntry_Click
(
object
sender
,
EventArgs
e
)
{
AgvClient
.
NeedEnter
(
agvName
);
AgvClient
.
NeedEnter
(
txtname
.
Text
);
}
private
void
btnInit_Click
(
object
sender
,
EventArgs
e
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论