Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit f6bbb9d0
由
LN
编写于
2024-07-01 14:16:19 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
颜色调整
1 个父辈
594bfa0e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
30 行增加
和
13 行删除
DeviceLibrary/theMachine/MainMachine _LedRGBProcess.cs
DeviceLibrary/theMachine/MainMachine.cs
DeviceLibrary/theMachine/MainMachine_Clamp.cs
DeviceLibrary/theMachine/MainMachine _LedRGBProcess.cs
查看文件 @
f6bbb9d
...
...
@@ -73,10 +73,15 @@ namespace DeviceLibrary
{
return
;
}
if
(
lastColor
!=
""
&&
lastColor
.
Equals
(
color
.
Name
.
ToString
()))
{
return
;
}
//if (lastColor != "" && lastColor.Equals(color.Name.ToString()))
//{
// return;
//}
//if (lastColor.Equals("yellowL")||lastColor.Equals("greenL"))
//{
// rGB_Controller.CloseLed();
// Thread.Sleep(50);
//}
lastS
=
lastState
;
//rGB_Controller.CloseLed();
rGB_Controller
.
ShowColor
(
color
);
...
...
@@ -154,7 +159,11 @@ namespace DeviceLibrary
{
scanCode
=
true
;
}
if
(
h
!=
null
&&
h
.
Value
)
if
(
StoreMoveInfo
.
IsStep
(
MoveStep
.
Wait
)&&
ClampMoveInfo
.
IsStep
(
MoveStep
.
Wait
)&&
StringMoveInfo
.
IsStep
(
MoveStep
.
Wait
))
{
}
else
if
(
h
!=
null
&&
h
.
Value
)
{
waitTake
=
true
;
}
...
...
@@ -188,13 +197,14 @@ namespace DeviceLibrary
{
////流动黄: 出库,
ShowYellowLight
();
lastS
=
"storeOut"
;
lastS
=
"storeOut"
;
LogUtil
.
info
(
Name
+
" ShowColor "
+
lastS
+
"="
+
lastColor
);
}
else
if
(
inPut
)
{
ShowGreenLight
();
lastS
=
"storeIn"
;
LogUtil
.
info
(
Name
+
" ShowColor "
+
lastS
+
"="
+
lastColor
);
}
else
if
(
waitTake
)
{
...
...
@@ -225,7 +235,7 @@ namespace DeviceLibrary
else
{
//待机 蓝绿
ShowColor
(
Color
.
FromArgb
(
0
,
128
,
128
),
"waiting"
);
ShowColor
(
Color
.
FromArgb
(
0
,
255
,
64
),
"waiting"
);
}
}
}
...
...
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
f6bbb9d
...
...
@@ -325,8 +325,10 @@ namespace DeviceLibrary
currnetstoreStatus
=
isInSuddenDown
?
StoreStatus
.
SuddenStop
:
StoreStatus
.
Warning
;
}
//ProcessMoveinfoEvent?.Invoke(MoveInfo.List);
if
(!
UserPause
&&(!
mstart
))
if
(!
UserPause
&&
mstart
)
{
Msg
.
clear
();
}
//else
// currnetstoreStatus = StoreStatus.Debugging;
...
...
@@ -496,16 +498,21 @@ namespace DeviceLibrary
{
ResetMoveInfo
.
NextMoveStep
(
MoveStep
.
H12_HomeReset
);
ResetMoveInfo
.
log
(
"反转托盘上有料盘,送到NG口"
);
}
}
else
{
if
(
RobotManage
.
NeedSensorPro
())
if
(
IOValue
(
IO_Type
.
TrayCheck_Fixture
).
Equals
(
IO_VALUE
.
HIGH
))
{
ResetMoveInfo
.
NextMoveStep
(
MoveStep
.
HEND_HomeReset
);
ResetMoveInfo
.
log
(
"叉子上有料,不去进行超声感应器检测"
);
}
else
if
(
RobotManage
.
NeedSensorPro
())
{
ResetMoveInfo
.
NextMoveStep
(
MoveStep
.
H21_HomeStartCheck
);
ResetMoveInfo
.
log
(
"夹爪上没有料盘,开始去进行超声感应器检测"
);
}
else
{
{
ResetMoveInfo
.
NextMoveStep
(
MoveStep
.
HEND_HomeReset
);
ResetMoveInfo
.
log
(
"夹爪上上没有料盘"
);
}
...
...
DeviceLibrary/theMachine/MainMachine_Clamp.cs
查看文件 @
f6bbb9d
...
...
@@ -299,7 +299,7 @@ namespace DeviceLibrary
else
if
(
h
.
Value
)
{
Msg
.
add
(
crc
.
GetString
(
L
.
please_take_ngdoor_reel
,
"等待取走单料口料盘"
),
MsgLevel
.
alarm
);
Msg
.
add
(
crc
.
GetString
(
L
.
please_take_ngdoor_reel
,
"等待取走单料口料盘"
),
MsgLevel
.
warning
);
ShowColor
(
Color
.
White
,
"waitTask"
);
if
(
Setting_Init
.
CamTestReel_Ability
)
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论