Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
827-AGV
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 37bd1b5a
由
张东亮
编写于
2021-08-23 16:45:21 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
产线返回的料架直接回缓存线
1 个父辈
6d3a5d15
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
18 行增加
和
17 行删除
DeviceLibrary/bean/job/EmptyShelfBackJob.cs
SO827-AGV/FrmMain.cs
DeviceLibrary/bean/job/EmptyShelfBackJob.cs
查看文件 @
37bd1b5
...
@@ -61,21 +61,22 @@ namespace DeviceLibrary
...
@@ -61,21 +61,22 @@ namespace DeviceLibrary
if
(
jobStep
.
IsStep
(
EMPTY_SHELF_BACK_STEP
.
NONE
))
if
(
jobStep
.
IsStep
(
EMPTY_SHELF_BACK_STEP
.
NONE
))
{
{
if
(
AGVManager
.
CheckBoxNeedShelfState
(
agv
,
out
string
nodeName
))
//
if (AGVManager.CheckBoxNeedShelfState(agv, out string nodeName))
{
//
{
EmptyShelfTargetPlace
=
nodeName
;
//
EmptyShelfTargetPlace = nodeName;
jobStep
.
ToNextStep
(
EMPTY_SHELF_BACK_STEP
.
WAIT_AGV_REACH_Target
);
//
jobStep.ToNextStep(EMPTY_SHELF_BACK_STEP.WAIT_AGV_REACH_Target);
runInfo
=
"从线体 ["
+
EmptyShelfPlace
+
"]送往"
+
EmptyShelfTargetPlace
;
//
runInfo = "从线体 [" + EmptyShelfPlace + "]送往" + EmptyShelfTargetPlace;
msg
+=
string
.
Format
(
"[{0}] {1}"
,
jobStep
.
CurStep
(),
runInfo
);
//
msg += string.Format("[{0}] {1}", jobStep.CurStep(), runInfo);
jobStep
.
Msg
=
msg
;
//
jobStep.Msg = msg;
if
(!
EmptyShelfTargetPlace
.
Equals
(
""
))
//
if (!EmptyShelfTargetPlace.Equals(""))
{
//
{
MissionSys
.
AssignMission
(
agv
,
EmptyShelfTargetPlace
);
//
MissionSys.AssignMission(agv, EmptyShelfTargetPlace);
UpdateJobTaskInfo
(
agv
);
//
UpdateJobTaskInfo(agv);
}
//
}
}
//}
else
if
(
AGVManager
.
CheckShelfStorageInState
(
agv
))
//else
if
(
AGVManager
.
CheckShelfStorageInState
(
agv
))
{
{
jobStep
.
ToNextStep
(
EMPTY_SHELF_BACK_STEP
.
WAIT_AGV_REACH_Target
);
jobStep
.
ToNextStep
(
EMPTY_SHELF_BACK_STEP
.
WAIT_AGV_REACH_Target
);
EmptyShelfTargetPlace
=
SettingString
.
A2
;
EmptyShelfTargetPlace
=
SettingString
.
A2
;
...
...
SO827-AGV/FrmMain.cs
查看文件 @
37bd1b5
...
@@ -66,10 +66,10 @@ namespace AGVControl
...
@@ -66,10 +66,10 @@ namespace AGVControl
{
{
Invoke
(
new
Action
(()
=>
Invoke
(
new
Action
(()
=>
{
{
for
(
int
i
=
0
;
i
<
AGVManager
.
nodeInfo
.
Count
;
i
++)
//
for (int i = 0; i < AGVManager.nodeInfo.Count; i++)
{
{
DgvNode
.
Rows
[
i
].
DefaultCellStyle
.
ForeColor
=
AGVManager
.
nodeInfo
[
i
].
Online
&&
AGVManager
.
nodeInfo
[
i
].
IsUse
?
Color
.
Black
:
Color
.
Red
;
DgvNode
.
Rows
[
nodeIndex
].
DefaultCellStyle
.
ForeColor
=
AGVManager
.
nodeInfo
[
nodeIndex
].
Online
&&
AGVManager
.
nodeInfo
[
nodeIndex
].
IsUse
?
Color
.
Black
:
Color
.
Red
;
DgvNode
.
Rows
[
i
].
SetValues
(
AGVManager
.
nodeInfo
[
i
].
ToRow
());
DgvNode
.
Rows
[
nodeIndex
].
SetValues
(
AGVManager
.
nodeInfo
[
nodeIndex
].
ToRow
());
}
}
}));
}));
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论