Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit c2eb793e
由
刘韬
编写于
2022-04-28 11:30:25 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
00f6e9ef
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
21 行增加
和
18 行删除
TheMachine/AxisControl.Designer.cs
TheMachine/Form1.Designer.cs
TheMachine/Form1.cs
TheMachine/SettingControl.Designer.cs
TheMachine/SettingControl.cs
TheMachine/UC/uc_boxdebug.Designer.cs
TheMachine/AxisControl.Designer.cs
查看文件 @
c2eb793
...
...
@@ -59,7 +59,7 @@ namespace TheMachine
this
.
configControl1
.
Config
=
null
;
this
.
configControl1
.
Location
=
new
System
.
Drawing
.
Point
(
568
,
3
);
this
.
configControl1
.
Name
=
"configControl1"
;
this
.
configControl1
.
Size
=
new
System
.
Drawing
.
Size
(
647
,
5
90
);
this
.
configControl1
.
Size
=
new
System
.
Drawing
.
Size
(
647
,
5
59
);
this
.
configControl1
.
TabIndex
=
1
;
this
.
configControl1
.
Tag
=
"not"
;
//
...
...
TheMachine/Form1.Designer.cs
查看文件 @
c2eb793
...
...
@@ -156,7 +156,7 @@ namespace TheMachine
// englishToolStripMenuItem
//
this
.
englishToolStripMenuItem
.
Name
=
"englishToolStripMenuItem"
;
this
.
englishToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
80
,
26
);
this
.
englishToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
44
,
26
);
this
.
englishToolStripMenuItem
.
Tag
=
"not"
;
this
.
englishToolStripMenuItem
.
Text
=
"English"
;
this
.
englishToolStripMenuItem
.
Visible
=
false
;
...
...
@@ -177,10 +177,10 @@ namespace TheMachine
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tabc
.
Controls
.
Add
(
this
.
tabP1
);
this
.
tabc
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
tabc
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
90
);
this
.
tabc
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
116
);
this
.
tabc
.
Name
=
"tabc"
;
this
.
tabc
.
SelectedIndex
=
0
;
this
.
tabc
.
Size
=
new
System
.
Drawing
.
Size
(
1008
,
6
39
);
this
.
tabc
.
Size
=
new
System
.
Drawing
.
Size
(
1008
,
6
13
);
this
.
tabc
.
TabIndex
=
1
;
//
// tabP1
...
...
@@ -188,7 +188,7 @@ namespace TheMachine
this
.
tabP1
.
Controls
.
Add
(
this
.
pnl
);
this
.
tabP1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
30
);
this
.
tabP1
.
Name
=
"tabP1"
;
this
.
tabP1
.
Size
=
new
System
.
Drawing
.
Size
(
1000
,
605
);
this
.
tabP1
.
Size
=
new
System
.
Drawing
.
Size
(
1000
,
579
);
this
.
tabP1
.
TabIndex
=
0
;
this
.
tabP1
.
Text
=
"信息"
;
this
.
tabP1
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -207,7 +207,7 @@ namespace TheMachine
this
.
pnl
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
pnl
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
pnl
.
Name
=
"pnl"
;
this
.
pnl
.
Size
=
new
System
.
Drawing
.
Size
(
1000
,
605
);
this
.
pnl
.
Size
=
new
System
.
Drawing
.
Size
(
1000
,
579
);
this
.
pnl
.
TabIndex
=
273
;
//
// groupBox1
...
...
@@ -334,11 +334,11 @@ namespace TheMachine
this
.
listView1
.
BorderStyle
=
System
.
Windows
.
Forms
.
BorderStyle
.
None
;
this
.
listView1
.
HeaderStyle
=
System
.
Windows
.
Forms
.
ColumnHeaderStyle
.
Nonclickable
;
this
.
listView1
.
HideSelection
=
false
;
this
.
listView1
.
Location
=
new
System
.
Drawing
.
Point
(
411
,
0
);
this
.
listView1
.
Location
=
new
System
.
Drawing
.
Point
(
328
,
0
);
this
.
listView1
.
MultiSelect
=
false
;
this
.
listView1
.
Name
=
"listView1"
;
this
.
listView1
.
ShowGroups
=
false
;
this
.
listView1
.
Size
=
new
System
.
Drawing
.
Size
(
597
,
118
);
this
.
listView1
.
Size
=
new
System
.
Drawing
.
Size
(
680
,
118
);
this
.
listView1
.
TabIndex
=
2
;
this
.
listView1
.
UseCompatibleStateImageBehavior
=
false
;
//
...
...
@@ -346,9 +346,9 @@ namespace TheMachine
//
this
.
btn_stop
.
Enabled
=
false
;
this
.
btn_stop
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btn_stop
.
Location
=
new
System
.
Drawing
.
Point
(
1
49
,
42
);
this
.
btn_stop
.
Location
=
new
System
.
Drawing
.
Point
(
1
54
,
42
);
this
.
btn_stop
.
Name
=
"btn_stop"
;
this
.
btn_stop
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
37
);
this
.
btn_stop
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
55
);
this
.
btn_stop
.
TabIndex
=
3
;
this
.
btn_stop
.
Text
=
"停止"
;
this
.
btn_stop
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -359,7 +359,7 @@ namespace TheMachine
this
.
btn_run
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btn_run
.
Location
=
new
System
.
Drawing
.
Point
(
25
,
42
);
this
.
btn_run
.
Name
=
"btn_run"
;
this
.
btn_run
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
37
);
this
.
btn_run
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
55
);
this
.
btn_run
.
TabIndex
=
4
;
this
.
btn_run
.
Text
=
"启动"
;
this
.
btn_run
.
UseVisualStyleBackColor
=
true
;
...
...
TheMachine/Form1.cs
查看文件 @
c2eb793
...
...
@@ -82,7 +82,7 @@ namespace TheMachine
emptycol
.
Width
=
0
;
ColumnHeader
msgcol
=
new
ColumnHeader
();
msgcol
.
Text
=
"信息"
;
msgcol
.
Width
=
60
0
;
msgcol
.
Width
=
53
0
;
ColumnHeader
timecol
=
new
ColumnHeader
();
timecol
.
Text
=
"时间"
;
timecol
.
Width
=
150
;
...
...
TheMachine/SettingControl.Designer.cs
查看文件 @
c2eb793
...
...
@@ -61,7 +61,7 @@ namespace TheMachine
this
.
cb_tempsensorport
.
Name
=
"cb_tempsensorport"
;
this
.
cb_tempsensorport
.
Size
=
new
System
.
Drawing
.
Size
(
121
,
20
);
this
.
cb_tempsensorport
.
TabIndex
=
2
;
this
.
cb_tempsensorport
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cb_tempsensorport_SelectedIndexChanged
)
;
this
.
cb_tempsensorport
.
Tag
=
"not"
;
//
// label_tempsensor
//
...
...
TheMachine/SettingControl.cs
查看文件 @
c2eb793
...
...
@@ -28,6 +28,12 @@ namespace TheMachine
chbAutoRun
.
Checked
=
Convert
.
ToBoolean
(
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
App_AutoRun
));
this
.
chbAutoRun
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbAutoRun_CheckedChanged
);
//chbAutoRun.Enabled = true;
for
(
int
i
=
0
;
i
<
20
;
i
++)
{
cb_tempsensorport
.
Items
.
Add
(
"COM"
+
i
);
}
this
.
cb_tempsensorport
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cb_tempsensorport_SelectedIndexChanged
);
}
private
void
RobotManage_LoadFinishEvent
(
bool
state
,
string
msg
)
...
...
@@ -39,10 +45,7 @@ namespace TheMachine
private
void
SettingControl_Load
(
object
sender
,
EventArgs
e
)
{
for
(
int
i
=
0
;
i
<
20
;
i
++)
{
cb_tempsensorport
.
Items
.
Add
(
"COM"
+
i
);
}
Config
.
PropertyBind
(
"Device_Humiture_Port"
,
cb_tempsensorport
,
"SelectedItem"
,
"SelectedIndexChanged"
);
}
...
...
TheMachine/UC/uc_boxdebug.Designer.cs
查看文件 @
c2eb793
...
...
@@ -155,7 +155,7 @@ namespace TheMachine
this
.
dataGridView1
.
ShowCellToolTips
=
false
;
this
.
dataGridView1
.
ShowEditingIcon
=
false
;
this
.
dataGridView1
.
ShowRowErrors
=
false
;
this
.
dataGridView1
.
Size
=
new
System
.
Drawing
.
Size
(
981
,
250
);
this
.
dataGridView1
.
Size
=
new
System
.
Drawing
.
Size
(
981
,
308
);
this
.
dataGridView1
.
TabIndex
=
103
;
this
.
dataGridView1
.
CellClick
+=
new
System
.
Windows
.
Forms
.
DataGridViewCellEventHandler
(
this
.
dataGridView1_CellContentClick
);
this
.
dataGridView1
.
CellMouseDown
+=
new
System
.
Windows
.
Forms
.
DataGridViewCellMouseEventHandler
(
this
.
dataGridView1_CellMouseDown
);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论