Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO827-AutoScanAndLabel
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 4b743e13
由
刘韬
编写于
2022-09-20 13:19:50 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
翻译文字优化
1 个父辈
59a5ec4b
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
12 行增加
和
9 行删除
AutoScanAndLabel/AxisControl.cs
AutoScanAndLabel/Form1.Designer.cs
AutoScanAndLabel/IOControl.cs
AutoScanAndLabel/UC/ConfigControl.cs
AutoScanAndLabel/resources/en-US.lngres
AutoScanAndLabel/resources/ja-JP.lngres
AutoScanAndLabel/resources/zh-CN.lngres
DeviceLibrary/userControl/AxisMoveControl.cs
AutoScanAndLabel/AxisControl.cs
查看文件 @
4b743e1
...
@@ -30,10 +30,6 @@ namespace AutoScanAndLabel
...
@@ -30,10 +30,6 @@ namespace AutoScanAndLabel
}
}
private
void
AxisControl_Load
(
object
sender
,
EventArgs
e
)
private
void
AxisControl_Load
(
object
sender
,
EventArgs
e
)
{
{
...
...
AutoScanAndLabel/Form1.Designer.cs
查看文件 @
4b743e1
...
@@ -171,10 +171,10 @@ namespace AutoScanAndLabel
...
@@ -171,10 +171,10 @@ namespace AutoScanAndLabel
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage1
);
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage1
);
this
.
tabControl1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
tabControl1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
90
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
113
);
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1008
,
5
99
);
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1008
,
5
76
);
this
.
tabControl1
.
TabIndex
=
1
;
this
.
tabControl1
.
TabIndex
=
1
;
//
//
// tabPage1
// tabPage1
...
@@ -190,7 +190,7 @@ namespace AutoScanAndLabel
...
@@ -190,7 +190,7 @@ namespace AutoScanAndLabel
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
groupBox1
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
30
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
30
);
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
1000
,
5
65
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
1000
,
5
42
);
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
Text
=
"信息"
;
this
.
tabPage1
.
Text
=
"信息"
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
...
...
AutoScanAndLabel/IOControl.cs
查看文件 @
4b743e1
...
@@ -203,7 +203,7 @@ namespace AutoScanAndLabel
...
@@ -203,7 +203,7 @@ namespace AutoScanAndLabel
if
(
cmbWriteIO
.
Items
.
Count
>
e
.
Index
)
if
(
cmbWriteIO
.
Items
.
Count
>
e
.
Index
)
{
{
ConfigIO
io
=
(
ConfigIO
)
cmbWriteIO
.
Items
[
e
.
Index
];
ConfigIO
io
=
(
ConfigIO
)
cmbWriteIO
.
Items
[
e
.
Index
];
e
.
Graphics
.
DrawString
(
io
.
DisplayStr
,
e
.
Font
,
new
SolidBrush
(
e
.
ForeColor
),
e
.
Bounds
.
X
,
e
.
Bounds
.
Y
+
3
);
e
.
Graphics
.
DrawString
(
io
.
ElectricalDefinition
+
"_"
+
crc
.
GetString
(
io
.
ProName
,
io
.
Explain
)
,
e
.
Font
,
new
SolidBrush
(
e
.
ForeColor
),
e
.
Bounds
.
X
,
e
.
Bounds
.
Y
+
3
);
}
}
}
}
...
...
AutoScanAndLabel/UC/ConfigControl.cs
查看文件 @
4b743e1
...
@@ -33,6 +33,12 @@ namespace AutoScanAndLabel
...
@@ -33,6 +33,12 @@ namespace AutoScanAndLabel
public
ConfigControl
()
public
ConfigControl
()
{
{
InitializeComponent
();
InitializeComponent
();
crc
.
LanguageChangeEvent
+=
Crc_LanguageChangeEvent
;
}
private
void
Crc_LanguageChangeEvent
(
object
sender
,
EventArgs
e
)
{
LoadPosList
();
}
}
void
LoadPosList
()
void
LoadPosList
()
...
...
AutoScanAndLabel/resources/en-US.lngres
查看文件 @
4b743e1
此文件的差异被折叠,
点击展开。
AutoScanAndLabel/resources/ja-JP.lngres
查看文件 @
4b743e1
此文件的差异被折叠,
点击展开。
AutoScanAndLabel/resources/zh-CN.lngres
查看文件 @
4b743e1
此文件的差异被折叠,
点击展开。
DeviceLibrary/userControl/AxisMoveControl.cs
查看文件 @
4b743e1
...
@@ -33,6 +33,7 @@ namespace DeviceLibrary
...
@@ -33,6 +33,7 @@ namespace DeviceLibrary
}
}
private
void
Crc_LanguageChangeEvent
(
object
sender
,
EventArgs
e
)
private
void
Crc_LanguageChangeEvent
(
object
sender
,
EventArgs
e
)
{
{
LoadData
(
boxBean
);
crc
.
LanguageProcess
(
this
);
crc
.
LanguageProcess
(
this
);
}
}
public
void
LoadData
(
IRobot
equipBase
,
bool
isHc
=
true
)
public
void
LoadData
(
IRobot
equipBase
,
bool
isHc
=
true
)
...
@@ -45,7 +46,7 @@ namespace DeviceLibrary
...
@@ -45,7 +46,7 @@ namespace DeviceLibrary
cmbAxis
.
Items
.
Clear
();
cmbAxis
.
Items
.
Clear
();
foreach
(
ConfigMoveAxis
a
in
axisList
)
foreach
(
ConfigMoveAxis
a
in
axisList
)
{
{
cmbAxis
.
Items
.
Add
(
a
.
Explain
);
cmbAxis
.
Items
.
Add
(
crc
.
GetString
(
a
.
ProName
,
a
.
Explain
)
);
}
}
cmbAxis
.
SelectedIndex
=
0
;
cmbAxis
.
SelectedIndex
=
0
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论