Commit 3a66a5a0 张东亮

开门时机

1 个父辈 e13d1fbd
...@@ -406,13 +406,18 @@ namespace OnlineStore.DeviceLibrary ...@@ -406,13 +406,18 @@ namespace OnlineStore.DeviceLibrary
LogUtil.error(Name + " 出库命令【" + inoutParam.PosInfo.ToStr() + "】重复,排队列表中已存在【" + reviceList[0].PosInfo.ToStr() + "】"); LogUtil.error(Name + " 出库命令【" + inoutParam.PosInfo.ToStr() + "】重复,排队列表中已存在【" + reviceList[0].PosInfo.ToStr() + "】");
continue; continue;
} }
else
{
waitAOutStoreList.Enqueue(inoutParam);
LogUtil.info($"加入出库队列:{inoutParam.PosInfo.ToStr()}");
}
} }
catch (Exception ex) catch (Exception ex)
{ {
LogUtil.error(Name + "验证出库【" + inoutParam.PosInfo.ToStr() + "】是否重复出错:" + ex.ToString()); LogUtil.error(Name + "验证出库【" + inoutParam.PosInfo.ToStr() + "】是否重复出错:" + ex.ToString());
} }
StartExecuctOut(inoutParam); //StartExecuctOut(inoutParam);
} }
TimeSpan span = DateTime.Now - time; TimeSpan span = DateTime.Now - time;
......
...@@ -214,7 +214,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -214,7 +214,7 @@ namespace OnlineStore.DeviceLibrary
MiddleAxis_To_P2(); MiddleAxis_To_P2();
//XAxis_To_P1(); //XAxis_To_P1();
BothXAxis_To_P1(); BothXAxis_To_P1();
BuffAreaInstoreDoor(true); //BuffAreaInstoreDoor(true);
break; break;
case StepEnum.SI_01_MoveAxis_Ready: case StepEnum.SI_01_MoveAxis_Ready:
MoveInfo.NextMoveStep(StepEnum.SI_02_ToBufferArea); MoveInfo.NextMoveStep(StepEnum.SI_02_ToBufferArea);
......
...@@ -225,7 +225,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -225,7 +225,7 @@ namespace OnlineStore.DeviceLibrary
MoveAxisToP1(); MoveAxisToP1();
PullAxis_UpdownToP1(); PullAxis_UpdownToP1();
UpdownAxisTo_P4_P10(); UpdownAxisTo_P4_P10();
BuffAreaOutstoreDoor(true); //BuffAreaOutstoreDoor(true);
if (MoveInfo.MoveParam.PosInfoBack == null) if (MoveInfo.MoveParam.PosInfoBack == null)
LogInfo($"出库 {MoveInfo.SLog}:[{MoveInfo.MoveParam.PosInfo.barcode}]取料完成,准备送往出料口。行走机构到待机点P1,料屉升降轴到P1点,移栽升降轴到下暂存区出库放料高点P4/P10"); LogInfo($"出库 {MoveInfo.SLog}:[{MoveInfo.MoveParam.PosInfo.barcode}]取料完成,准备送往出料口。行走机构到待机点P1,料屉升降轴到P1点,移栽升降轴到下暂存区出库放料高点P4/P10");
else else
......
...@@ -1173,7 +1173,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1173,7 +1173,7 @@ namespace OnlineStore.DeviceLibrary
reviceList = (from m in reviceList where m.PosInfo.PosId.Equals(param.PosInfo.PosId) select m).ToList<InOutParam>(); reviceList = (from m in reviceList where m.PosInfo.PosId.Equals(param.PosInfo.PosId) select m).ToList<InOutParam>();
if (reviceList.Count == 0) if (reviceList.Count == 0)
{ {
LogInfo(" 执行出库【" + param.PosInfo.ToStr() + "】失败,加入等待队列"); //LogInfo(" 执行出库【" + param.PosInfo.ToStr() + "】失败,加入等待队列");
// if (param.PosInfo.GetPosSide().Equals("A")) // if (param.PosInfo.GetPosSide().Equals("A"))
{ {
waitAOutStoreList.Enqueue(param); waitAOutStoreList.Enqueue(param);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!