Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO827-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
图表
网络
创建新的问题
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit bcf7eb39
由
LN
编写于
2021-04-23 17:29:03 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
入料T1增加夹爪忽略信号。入料抓料增加等待。
1 个父辈
1bdd3a53
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
46 行增加
和
1 行删除
source/AssemblyLineClient/FrmFeedingEquip.Designer.cs
source/AssemblyLineClient/FrmFeedingEquip.cs
source/DeviceLibrary/assemblyLine/EquipBase.cs
source/AssemblyLineClient/FrmFeedingEquip.Designer.cs
查看文件 @
bcf7eb3
...
@@ -98,6 +98,7 @@
...
@@ -98,6 +98,7 @@
this
.
btnMoveto
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnMoveto
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtSizePosition
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtSizePosition
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
btnScan
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnScan
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnHlhasReel
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
panBase
.
SuspendLayout
();
this
.
panBase
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
...
@@ -649,6 +650,7 @@
...
@@ -649,6 +650,7 @@
this
.
groupBox6
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
groupBox6
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox6
.
Controls
.
Add
(
this
.
btnHlhasReel
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
btnUpdateShelf
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
btnUpdateShelf
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
txtShelfID
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
txtShelfID
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblwidth
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblwidth
);
...
@@ -1245,6 +1247,19 @@
...
@@ -1245,6 +1247,19 @@
this
.
btnScan
.
UseVisualStyleBackColor
=
false
;
this
.
btnScan
.
UseVisualStyleBackColor
=
false
;
this
.
btnScan
.
Click
+=
new
System
.
EventHandler
(
this
.
btnScan_Click
);
this
.
btnScan
.
Click
+=
new
System
.
EventHandler
(
this
.
btnScan_Click
);
//
//
// btnHlhasReel
//
this
.
btnHlhasReel
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnHlhasReel
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnHlhasReel
.
Location
=
new
System
.
Drawing
.
Point
(
780
,
529
);
this
.
btnHlhasReel
.
Name
=
"btnHlhasReel"
;
this
.
btnHlhasReel
.
Size
=
new
System
.
Drawing
.
Size
(
121
,
35
);
this
.
btnHlhasReel
.
TabIndex
=
288
;
this
.
btnHlhasReel
.
Text
=
"忽略夹爪有料信号"
;
this
.
btnHlhasReel
.
UseVisualStyleBackColor
=
false
;
this
.
btnHlhasReel
.
Visible
=
false
;
this
.
btnHlhasReel
.
Click
+=
new
System
.
EventHandler
(
this
.
btnHlhasReel_Click
);
//
// FrmFeedingEquip
// FrmFeedingEquip
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
...
@@ -1369,6 +1384,7 @@
...
@@ -1369,6 +1384,7 @@
private
System
.
Windows
.
Forms
.
Label
lblTestMsg
;
private
System
.
Windows
.
Forms
.
Label
lblTestMsg
;
private
System
.
Windows
.
Forms
.
Label
lblP2List
;
private
System
.
Windows
.
Forms
.
Label
lblP2List
;
private
useControl
.
ClampJawControl
clampJawControl1
;
private
useControl
.
ClampJawControl
clampJawControl1
;
private
System
.
Windows
.
Forms
.
Button
btnHlhasReel
;
}
}
}
}
source/AssemblyLineClient/FrmFeedingEquip.cs
查看文件 @
bcf7eb3
...
@@ -145,6 +145,14 @@ namespace OnlineStore.AssemblyLine
...
@@ -145,6 +145,14 @@ namespace OnlineStore.AssemblyLine
}
}
lblMoveInfo
.
Text
=
equipBean
.
GetMoveStr
();
lblMoveInfo
.
Text
=
equipBean
.
GetMoveStr
();
lblwidth
.
Text
=
equipBean
.
GetLastTrayInfo
();
lblwidth
.
Text
=
equipBean
.
GetLastTrayInfo
();
if
(
equipBean
.
IsNoReelAlarm
()
&&
(!
equipBean
.
ClampEmptyMove
))
{
btnHlhasReel
.
Visible
=
true
;
}
else
{
btnHlhasReel
.
Visible
=
false
;
}
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
...
@@ -870,6 +878,14 @@ namespace OnlineStore.AssemblyLine
...
@@ -870,6 +878,14 @@ namespace OnlineStore.AssemblyLine
}
}
}
}
private
void
btnHlhasReel_Click
(
object
sender
,
EventArgs
e
)
{
if
(
equipBean
.
IsNoReelAlarm
())
{
equipBean
.
ClampEmptyMove
=
true
;
LogUtil
.
info
(
equipBean
.
Name
+
"界面点击:"
+
btnHlhasReel
.
Text
+
",设置ClampEmptyMove=true "
);
}
}
}
}
}
}
...
...
source/DeviceLibrary/assemblyLine/EquipBase.cs
查看文件 @
bcf7eb3
...
@@ -795,7 +795,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -795,7 +795,9 @@ namespace OnlineStore.DeviceLibrary
public
bool
ClampEmptyMove
=
false
;
public
bool
ClampEmptyMove
=
false
;
public
bool
IsNoReelAlarm
()
public
bool
IsNoReelAlarm
()
{
{
if
(
runStatus
.
Equals
(
LineRunStatus
.
Busy
))
if
(
runStatus
.
Equals
(
LineRunStatus
.
Busy
)&&
alarmType
.
Equals
(
LineAlarmType
.
IoSingleTimeOut
))
{
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
))
{
{
if
(
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
InStore
)
&&
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MI_07_WaitHasReel
))
if
(
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
InStore
)
&&
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MI_07_WaitHasReel
))
{
{
...
@@ -806,6 +808,17 @@ namespace OnlineStore.DeviceLibrary
...
@@ -806,6 +808,17 @@ namespace OnlineStore.DeviceLibrary
return
true
;
return
true
;
}
}
}
}
else
{
if
(
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
InStore
)
&&
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
FI_25_CheckTray
))
{
if
(!
ClampJwa
.
HasReel
())
{
return
true
;
}
}
}
}
return
false
;
return
false
;
}
}
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论