Commit e2a05607 张东亮

更改从产线回来的大料架不去双层线入口问题

1 个父辈 94444c72
...@@ -281,21 +281,21 @@ namespace DeviceLibrary ...@@ -281,21 +281,21 @@ namespace DeviceLibrary
} }
tarIdx = nodeInfo.FindIndex(s => s.Name == SettingString.A6 && //tarIdx = nodeInfo.FindIndex(s => s.Name == SettingString.A6 &&
(s.StateEquals(eNodeStatus.NeedEnter) || s.StateEquals(eNodeStatus.NeedEnterLeave)) && s.IsUse); //(s.StateEquals(eNodeStatus.NeedEnter) || s.StateEquals(eNodeStatus.NeedEnterLeave)) && s.IsUse);
if (tarIdx > -1) //if (tarIdx > -1)
{ //{
tarIdx = agvInfo.FindIndex(s => !s.IP.Equals(agv.IP) && s.CurJob != null && s.CurJob is EmptyShelfBackJob // tarIdx = agvInfo.FindIndex(s => !s.IP.Equals(agv.IP) && s.CurJob != null && s.CurJob is EmptyShelfBackJob
&& ((((EmptyShelfBackJob)s.CurJob).EmptyShelfTargetPlace) != null) && ((EmptyShelfBackJob)s.CurJob).EmptyShelfTargetPlace.Equals(SettingString.A6)); // && ((((EmptyShelfBackJob)s.CurJob).EmptyShelfTargetPlace) != null) && ((EmptyShelfBackJob)s.CurJob).EmptyShelfTargetPlace.Equals(SettingString.A6));
if (tarIdx == -1) // if (tarIdx == -1)
{ // {
nodeName = SettingString.A6; // nodeName = SettingString.A6;
log.Debug(string.Format("{0} {1}需要大料架", agv.Name, SettingString.A6)); // log.Debug(string.Format("{0} {1}需要大料架", agv.Name, SettingString.A6));
return true; // return true;
} // }
} //}
} }
return false; return false;
...@@ -562,7 +562,7 @@ namespace DeviceLibrary ...@@ -562,7 +562,7 @@ namespace DeviceLibrary
if (idx > -1) if (idx > -1)
{ {
nodeName = nodeInfo[idx].Name; nodeName = nodeInfo[idx].Name;
log.Info(agv.Name + " 双层线左侧需要大料架,准备去4D-" + nodeName); log.Debug(agv.Name + " 双层线左侧需要大料架,准备去4D-" + nodeName);
return true; return true;
} }
...@@ -594,7 +594,7 @@ namespace DeviceLibrary ...@@ -594,7 +594,7 @@ namespace DeviceLibrary
if (idx > -1) if (idx > -1)
{ {
nodeName = nodeInfo[idx].Name; nodeName = nodeInfo[idx].Name;
log.Info(agv.Name + " 双层线右侧需要料架,准备去4D-" + nodeName); log.Debug(agv.Name + " 双层线右侧需要料架,准备去4D-" + nodeName);
return true; return true;
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!