Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit e8f8a389
由
张东亮
编写于
2023-02-24 15:53:22 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
关仓门时,检查折叠板是否有料,没料关门
1 个父辈
a319326e
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
17 行增加
和
5 行删除
DeviceLibrary/DeviceLibrary/ServerCommunication.cs
DeviceLibrary/theMachine/MainMachine.cs
DeviceLibrary/theMachine/MainMachine_ServerControl.cs
DeviceLibrary/DeviceLibrary/ServerCommunication.cs
查看文件 @
e8f8a38
...
@@ -13,7 +13,7 @@ namespace DeviceLibrary
...
@@ -13,7 +13,7 @@ namespace DeviceLibrary
{
{
partial
class
ServerCommunication
partial
class
ServerCommunication
{
{
volatile
StoreStatus
_storeStatus
=
StoreStatus
.
Debugging
;
volatile
StoreStatus
_storeStatus
=
StoreStatus
.
None
;
public
StoreStatus
storeStatus
public
StoreStatus
storeStatus
{
{
get
=>
_storeStatus
;
get
=>
_storeStatus
;
...
@@ -436,14 +436,14 @@ namespace DeviceLibrary
...
@@ -436,14 +436,14 @@ namespace DeviceLibrary
return
map
;
return
map
;
if
(
//
RobotManage.mainMachine.IOValue(IO_Type.StringDoor_Close).Equals(IO_VALUE.HIGH) &&
if
(
RobotManage
.
mainMachine
.
IOValue
(
IO_Type
.
StringDoor_Close
).
Equals
(
IO_VALUE
.
HIGH
)
&&
(
RobotManage
.
mainMachine
.
StringMoveInfo
.
MoveStep
==
MoveStep
.
StringOut_Released
(
RobotManage
.
mainMachine
.
StringMoveInfo
.
MoveStep
==
MoveStep
.
StringOut_Released
||
RobotManage
.
mainMachine
.
StringMoveInfo
.
MoveStep
==
MoveStep
.
Wait
))
||
RobotManage
.
mainMachine
.
StringMoveInfo
.
MoveStep
==
MoveStep
.
Wait
))
{
{
//map.Add(ParamDefine.doorStatus, "料串门关闭");
//map.Add(ParamDefine.doorStatus, "料串门关闭");
map
[
ParamDefine
.
openLock
]
=
ParamDefine
.
enable
;
map
[
ParamDefine
.
openLock
]
=
ParamDefine
.
enable
;
}
}
//else//
if (RobotManage.mainMachine.IOValue(IO_Type.StringDoor_Open).Equals(IO_VALUE.HIGH))
else
if
(
RobotManage
.
mainMachine
.
IOValue
(
IO_Type
.
StringDoor_Open
).
Equals
(
IO_VALUE
.
HIGH
))
{
{
map
[
ParamDefine
.
closeLock
]
=
ParamDefine
.
enable
;
map
[
ParamDefine
.
closeLock
]
=
ParamDefine
.
enable
;
//map.Add(ParamDefine.doorStatus, "料串门打开");
//map.Add(ParamDefine.doorStatus, "料串门打开");
...
...
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
e8f8a38
...
@@ -308,8 +308,8 @@ namespace DeviceLibrary
...
@@ -308,8 +308,8 @@ namespace DeviceLibrary
//ProcessMoveinfoEvent?.Invoke(MoveInfo.List);
//ProcessMoveinfoEvent?.Invoke(MoveInfo.List);
if
(!
UserPause
)
if
(!
UserPause
)
Msg
.
clear
();
Msg
.
clear
();
else
//
else
currnetstoreStatus
=
StoreStatus
.
Debugging
;
//
currnetstoreStatus = StoreStatus.Debugging;
if
(
currnetstoreStatus
!=
StoreStatus
.
None
)
if
(
currnetstoreStatus
!=
StoreStatus
.
None
)
ServerCM
.
storeStatus
=
currnetstoreStatus
;
ServerCM
.
storeStatus
=
currnetstoreStatus
;
...
...
DeviceLibrary/theMachine/MainMachine_ServerControl.cs
查看文件 @
e8f8a38
...
@@ -51,6 +51,18 @@ namespace DeviceLibrary
...
@@ -51,6 +51,18 @@ namespace DeviceLibrary
ClampMoveInfo
.
NewMove
(
MoveStep
.
SingleInRun
);
ClampMoveInfo
.
NewMove
(
MoveStep
.
SingleInRun
);
return
crc
.
GetString
(
L
.
close_singledoor
,
"关闭单料门"
);
return
crc
.
GetString
(
L
.
close_singledoor
,
"关闭单料门"
);
}
}
else
{
if
(
NGDoor_Tray_Test_Reel
)
{
RobotManage
.
UserPause
(
crc
.
GetString
(
"please_take_ngdoor_reel"
,
"等待取走单口料盘"
));
return
crc
.
GetString
(
"please_take_ngdoor_reel"
,
"等待取走单口料盘"
);
}
else
{
RobotManage
.
UserPause
(
""
,
false
);
}
}
LogUtil
.
info
(
$
"取料机构当前没有在等待单盘入库:{ClampMoveInfo.MoveStep}"
);
LogUtil
.
info
(
$
"取料机构当前没有在等待单盘入库:{ClampMoveInfo.MoveStep}"
);
return
crc
.
GetString
(
L
.
not_in_single_prosses
,
"当前没有在等待单盘入库:"
)+
ClampMoveInfo
.
MoveStep
;
return
crc
.
GetString
(
L
.
not_in_single_prosses
,
"当前没有在等待单盘入库:"
)+
ClampMoveInfo
.
MoveStep
;
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论