Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1053_DualSISO
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 0e51c838
由
刘韬
编写于
2023-06-25 13:26:58 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
优化界面显示
1 个父辈
9fe2d15c
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
12 行增加
和
8 行删除
DeviceLibrary/theMachine/BoxTransport.cs
DeviceLibrary/theMachine/Store/StoreMachine.cs
TheMachine/Form1.Designer.cs
TheMachine/SettingControl.Designer.cs
TheMachine/UC/ConfigControl.cs
TheMachine/UC/uc_boxdebug.Designer.cs
DeviceLibrary/theMachine/BoxTransport.cs
查看文件 @
0e51c83
...
...
@@ -193,8 +193,7 @@ namespace DeviceLibrary
IgnoreX09
=
false
;
break
;
case
MoveStep
.
StoreTS09
:
RobotManage
.
CameraA
.
CameraGrabOne
(
RobotManage
.
CameraA
.
GetFixtureStateFilename
(
From
.
posid
,
WareCode
,
storeMoveType
,
FixtureState
.
FromOut
));
DoorControl
.
Invoke
(
false
);
RobotManage
.
CameraA
.
CameraGrabOne
(
RobotManage
.
CameraA
.
GetFixtureStateFilename
(
From
.
posid
,
WareCode
,
storeMoveType
,
FixtureState
.
FromOut
));
if
(!
IgnoreX09
&&
IOManager
.
IOValue
(
SIO_Type
.
TrayCheck_Fixture
,
Config
).
Equals
(
IO_VALUE
.
LOW
))
{
Msg
.
add
(
string
.
Format
(
crc
.
GetString
(
"Res0003"
,
"取料后料叉{0}没有检测到物料无法继续,请检查."
),
Config
.
DIList
[
SIO_Type
.
TrayCheck_Fixture
].
ElectricalDefinition
),
MsgLevel
.
alarm
,
ErrInfo
.
X09_BoxNotDetect
);
...
...
@@ -202,6 +201,7 @@ namespace DeviceLibrary
}
else
{
DoorControl
.
Invoke
(
false
);
Msg
.
add
(
""
,
MsgLevel
.
info
,
ErrInfo
.
X09_Clear
);
IgnoreX09
=
false
;
if
(
To
.
posid
==
BoxStorePosition
.
ngdoor
&&
ConfigHelper
.
Config
.
Get
(
$
"Device_{mainMachine.MachineSide}_Use_Fixpos"
,
false
)
...
...
DeviceLibrary/theMachine/Store/StoreMachine.cs
查看文件 @
0e51c83
...
...
@@ -237,6 +237,9 @@ namespace DeviceLibrary
}
private
(
bool
,
string
)
InOut_Axis_interference
(
int
from
,
int
to
)
{
if
(
RobotManage
.
DisableUpdownProtect
)
return
(
false
,
""
);
if
(
Middle_Axis
.
IsBusy
||
UpDown_Axis
.
IsBusy
)
return
(
true
,
crc
.
GetString
(
"Res0046.95729a30"
,
"旋转或升降轴在运动,进出轴不可运动"
));
...
...
TheMachine/Form1.Designer.cs
查看文件 @
0e51c83
此文件的差异被折叠,
点击展开。
TheMachine/SettingControl.Designer.cs
查看文件 @
0e51c83
...
...
@@ -120,6 +120,7 @@ namespace TheMachine
//
// tabPage_set
//
this
.
tabPage_set
.
AutoScroll
=
true
;
this
.
tabPage_set
.
Controls
.
Add
(
this
.
fixtureSizeConfigControl1
);
this
.
tabPage_set
.
Controls
.
Add
(
this
.
tp
);
this
.
tabPage_set
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
...
TheMachine/UC/ConfigControl.cs
查看文件 @
0e51c83
...
...
@@ -71,7 +71,7 @@ namespace TheMachine
}
tableLayoutPanel1
.
SuspendLayout
();
int
maxrow
=
tableLayoutPanel1
.
Height
/
34
;
int
maxrow
=
tableLayoutPanel1
.
Height
/
52
;
tableLayoutPanel1
.
Controls
.
Clear
();
this
.
tableLayoutPanel1
.
RowStyles
.
Clear
();
//this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType., 26));
...
...
@@ -107,7 +107,7 @@ namespace TheMachine
button
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
button
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
button
.
Name
=
configBase
.
ProName
;
button
.
Size
=
new
System
.
Drawing
.
Size
(
225
,
27
);
button
.
Size
=
new
System
.
Drawing
.
Size
(
225
,
45
);
button
.
Text
=
crc
.
GetString
(
configBase
.
ProName
,
configBase
.
Explain
);
button
.
Click
+=
Button_Click
;
button
.
ForeColor
=
color
;
...
...
TheMachine/UC/uc_boxdebug.Designer.cs
查看文件 @
0e51c83
...
...
@@ -141,7 +141,6 @@ namespace TheMachine
this
.
dataGridView1
.
AllowUserToResizeRows
=
false
;
this
.
dataGridView1
.
ColumnHeadersBorderStyle
=
System
.
Windows
.
Forms
.
DataGridViewHeaderBorderStyle
.
Single
;
this
.
dataGridView1
.
ColumnHeadersHeightSizeMode
=
System
.
Windows
.
Forms
.
DataGridViewColumnHeadersHeightSizeMode
.
DisableResizing
;
this
.
dataGridView1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
dataGridView1
.
EditMode
=
System
.
Windows
.
Forms
.
DataGridViewEditMode
.
EditProgrammatically
;
this
.
dataGridView1
.
EnableHeadersVisualStyles
=
false
;
this
.
dataGridView1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
...
...
@@ -156,7 +155,7 @@ namespace TheMachine
this
.
dataGridView1
.
ShowCellToolTips
=
false
;
this
.
dataGridView1
.
ShowEditingIcon
=
false
;
this
.
dataGridView1
.
ShowRowErrors
=
false
;
this
.
dataGridView1
.
Size
=
new
System
.
Drawing
.
Size
(
9
81
,
308
);
this
.
dataGridView1
.
Size
=
new
System
.
Drawing
.
Size
(
7
81
,
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
);
...
...
@@ -189,7 +188,7 @@ namespace TheMachine
this
.
storePosControl1
.
Machine
=
null
;
this
.
storePosControl1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
storePosControl1
.
Name
=
"storePosControl1"
;
this
.
storePosControl1
.
Size
=
new
System
.
Drawing
.
Size
(
7
15
,
210
);
this
.
storePosControl1
.
Size
=
new
System
.
Drawing
.
Size
(
5
15
,
210
);
this
.
storePosControl1
.
TabIndex
=
227
;
this
.
storePosControl1
.
Tag
=
"not"
;
//
...
...
@@ -197,6 +196,7 @@ namespace TheMachine
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
AutoScroll
=
true
;
this
.
Controls
.
Add
(
this
.
cb_fixpos
);
this
.
Controls
.
Add
(
this
.
storePosControl1
);
this
.
Controls
.
Add
(
this
.
label_verify
);
...
...
@@ -206,7 +206,7 @@ namespace TheMachine
this
.
Controls
.
Add
(
this
.
groupInout
);
this
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
Name
=
"uc_boxdebug"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
981
,
785
);
this
.
Size
=
new
System
.
Drawing
.
Size
(
981
,
546
);
this
.
groupInout
.
ResumeLayout
(
false
);
this
.
groupInout
.
PerformLayout
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
dataGridView1
)).
EndInit
();
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论