Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO20242OutBound
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 01b861ef
由
LN
编写于
2023-11-09 16:45:34 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
界面调整
1 个父辈
20699e4f
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
34 行增加
和
33 行删除
TheMachine/FormMain.Designer.cs
TheMachine/FormMain.cs
TheMachine/FormMain.Designer.cs
查看文件 @
01b861e
...
@@ -49,6 +49,8 @@ namespace TheMachine
...
@@ -49,6 +49,8 @@ namespace TheMachine
this
.
tabc
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabc
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabP1
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
tabP1
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
pnl
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
pnl
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
button2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnClearNgPos
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnClearNgPos
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
chbDIsAgv
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbDIsAgv
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
btnDownScan
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnDownScan
=
new
System
.
Windows
.
Forms
.
Button
();
...
@@ -64,8 +66,6 @@ namespace TheMachine
...
@@ -64,8 +66,6 @@ namespace TheMachine
this
.
btn_IgnoreX09
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btn_IgnoreX09
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btn_PauseBuzzer
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btn_PauseBuzzer
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
listView1
=
new
System
.
Windows
.
Forms
.
ListView
();
this
.
listView1
=
new
System
.
Windows
.
Forms
.
ListView
();
this
.
button1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
tabc
.
SuspendLayout
();
this
.
tabc
.
SuspendLayout
();
this
.
tabP1
.
SuspendLayout
();
this
.
tabP1
.
SuspendLayout
();
...
@@ -235,6 +235,7 @@ namespace TheMachine
...
@@ -235,6 +235,7 @@ namespace TheMachine
//
//
// pnl
// pnl
//
//
this
.
pnl
.
Controls
.
Add
(
this
.
listReelInfo
);
this
.
pnl
.
Controls
.
Add
(
this
.
button2
);
this
.
pnl
.
Controls
.
Add
(
this
.
button2
);
this
.
pnl
.
Controls
.
Add
(
this
.
button1
);
this
.
pnl
.
Controls
.
Add
(
this
.
button1
);
this
.
pnl
.
Controls
.
Add
(
this
.
btnClearNgPos
);
this
.
pnl
.
Controls
.
Add
(
this
.
btnClearNgPos
);
...
@@ -245,7 +246,6 @@ namespace TheMachine
...
@@ -245,7 +246,6 @@ namespace TheMachine
this
.
pnl
.
Controls
.
Add
(
this
.
btnResetOut3
);
this
.
pnl
.
Controls
.
Add
(
this
.
btnResetOut3
);
this
.
pnl
.
Controls
.
Add
(
this
.
btnResetOut2
);
this
.
pnl
.
Controls
.
Add
(
this
.
btnResetOut2
);
this
.
pnl
.
Controls
.
Add
(
this
.
btnResetOut1
);
this
.
pnl
.
Controls
.
Add
(
this
.
btnResetOut1
);
this
.
pnl
.
Controls
.
Add
(
this
.
listReelInfo
);
this
.
pnl
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
pnl
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
pnl
.
Controls
.
Add
(
this
.
pictureBox2
);
this
.
pnl
.
Controls
.
Add
(
this
.
pictureBox2
);
this
.
pnl
.
Controls
.
Add
(
this
.
btn_IgnoreX09
);
this
.
pnl
.
Controls
.
Add
(
this
.
btn_IgnoreX09
);
...
@@ -256,6 +256,30 @@ namespace TheMachine
...
@@ -256,6 +256,30 @@ namespace TheMachine
this
.
pnl
.
Size
=
new
System
.
Drawing
.
Size
(
1000
,
576
);
this
.
pnl
.
Size
=
new
System
.
Drawing
.
Size
(
1000
,
576
);
this
.
pnl
.
TabIndex
=
273
;
this
.
pnl
.
TabIndex
=
273
;
//
//
// button2
//
this
.
button2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
button2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
button2
.
Location
=
new
System
.
Drawing
.
Point
(
628
,
259
);
this
.
button2
.
Name
=
"button2"
;
this
.
button2
.
Size
=
new
System
.
Drawing
.
Size
(
98
,
32
);
this
.
button2
.
TabIndex
=
280
;
this
.
button2
.
Text
=
"IN_2复位"
;
this
.
button2
.
UseVisualStyleBackColor
=
true
;
this
.
button2
.
Click
+=
new
System
.
EventHandler
(
this
.
button2_Click
);
//
// button1
//
this
.
button1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
button1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
521
,
259
);
this
.
button1
.
Name
=
"button1"
;
this
.
button1
.
Size
=
new
System
.
Drawing
.
Size
(
98
,
32
);
this
.
button1
.
TabIndex
=
279
;
this
.
button1
.
Text
=
"IN_1复位"
;
this
.
button1
.
UseVisualStyleBackColor
=
true
;
this
.
button1
.
Click
+=
new
System
.
EventHandler
(
this
.
button1_Click
);
//
// btnClearNgPos
// btnClearNgPos
//
//
this
.
btnClearNgPos
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClearNgPos
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
...
@@ -360,7 +384,7 @@ namespace TheMachine
...
@@ -360,7 +384,7 @@ namespace TheMachine
this
.
listReelInfo
.
HideSelection
=
false
;
this
.
listReelInfo
.
HideSelection
=
false
;
this
.
listReelInfo
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
300
);
this
.
listReelInfo
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
300
);
this
.
listReelInfo
.
Name
=
"listReelInfo"
;
this
.
listReelInfo
.
Name
=
"listReelInfo"
;
this
.
listReelInfo
.
Size
=
new
System
.
Drawing
.
Size
(
530
,
268
);
this
.
listReelInfo
.
Size
=
new
System
.
Drawing
.
Size
(
986
,
268
);
this
.
listReelInfo
.
TabIndex
=
1
;
this
.
listReelInfo
.
TabIndex
=
1
;
this
.
listReelInfo
.
UseCompatibleStateImageBehavior
=
false
;
this
.
listReelInfo
.
UseCompatibleStateImageBehavior
=
false
;
//
//
...
@@ -445,30 +469,6 @@ namespace TheMachine
...
@@ -445,30 +469,6 @@ namespace TheMachine
this
.
listView1
.
TabIndex
=
2
;
this
.
listView1
.
TabIndex
=
2
;
this
.
listView1
.
UseCompatibleStateImageBehavior
=
false
;
this
.
listView1
.
UseCompatibleStateImageBehavior
=
false
;
//
//
// button1
//
this
.
button1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
button1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
521
,
259
);
this
.
button1
.
Name
=
"button1"
;
this
.
button1
.
Size
=
new
System
.
Drawing
.
Size
(
98
,
32
);
this
.
button1
.
TabIndex
=
279
;
this
.
button1
.
Text
=
"IN_1复位"
;
this
.
button1
.
UseVisualStyleBackColor
=
true
;
this
.
button1
.
Click
+=
new
System
.
EventHandler
(
this
.
button1_Click
);
//
// button2
//
this
.
button2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
button2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
button2
.
Location
=
new
System
.
Drawing
.
Point
(
628
,
259
);
this
.
button2
.
Name
=
"button2"
;
this
.
button2
.
Size
=
new
System
.
Drawing
.
Size
(
98
,
32
);
this
.
button2
.
TabIndex
=
280
;
this
.
button2
.
Text
=
"IN_2复位"
;
this
.
button2
.
UseVisualStyleBackColor
=
true
;
this
.
button2
.
Click
+=
new
System
.
EventHandler
(
this
.
button2_Click
);
//
// FormMain
// FormMain
//
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
...
...
TheMachine/FormMain.cs
查看文件 @
01b861e
...
@@ -86,16 +86,16 @@ namespace TheMachine
...
@@ -86,16 +86,16 @@ namespace TheMachine
#
region
状态信息
listview
初始化
#
region
状态信息
listview
初始化
stateView
.
View
=
View
.
Details
;
stateView
.
View
=
View
.
Details
;
AddHeader
(
stateView
,
""
,
0
);
AddHeader
(
stateView
,
""
,
0
);
AddHeader
(
stateView
,
crc
.
GetString
(
"Res0049"
,
"模块"
),
12
0
);
AddHeader
(
stateView
,
crc
.
GetString
(
"Res0049"
,
"模块"
),
8
0
);
AddHeader
(
stateView
,
crc
.
GetString
(
"Res0050"
,
"步骤"
),
20
0
);
AddHeader
(
stateView
,
crc
.
GetString
(
"Res0050"
,
"步骤"
),
13
0
);
AddHeader
(
stateView
,
crc
.
GetString
(
"Res0047"
,
"信息"
),
stateView
.
Width
-
120
-
20
0
-
3
);
AddHeader
(
stateView
,
crc
.
GetString
(
"Res0047"
,
"信息"
),
stateView
.
Width
-
80
-
13
0
-
3
);
stateView
.
ColumnWidthChanging
+=
listView_ColumnWidthChanging
;
stateView
.
ColumnWidthChanging
+=
listView_ColumnWidthChanging
;
#
endregion
#
endregion
#
region
物料信息显示列表
#
region
物料信息显示列表
listReelInfo
.
View
=
View
.
Details
;
listReelInfo
.
View
=
View
.
Details
;
AddHeader
(
listReelInfo
,
""
,
0
);
AddHeader
(
listReelInfo
,
""
,
0
);
AddHeader
(
listReelInfo
,
"位置"
,
10
0
);
AddHeader
(
listReelInfo
,
"位置"
,
8
0
);
AddHeader
(
listReelInfo
,
"料盘信息"
,
listReelInfo
.
Width
-
20
0
-
3
);
AddHeader
(
listReelInfo
,
"料盘信息"
,
listReelInfo
.
Width
-
8
0
-
3
);
listReelInfo
.
ColumnWidthChanging
+=
listView_ColumnWidthChanging
;
listReelInfo
.
ColumnWidthChanging
+=
listView_ColumnWidthChanging
;
#
endregion
#
endregion
...
@@ -143,6 +143,7 @@ namespace TheMachine
...
@@ -143,6 +143,7 @@ namespace TheMachine
{
{
this
.
Invoke
((
EventHandler
<
Bitmap
>)
delegate
this
.
Invoke
((
EventHandler
<
Bitmap
>)
delegate
{
{
return
;
pictureBox2
.
Visible
=
true
;
pictureBox2
.
Visible
=
true
;
pictureBox2
.
Image
=
DeepClone
(
e
);
pictureBox2
.
Image
=
DeepClone
(
e
);
},
sender
,
e
);
},
sender
,
e
);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论