|
|
@ -54,13 +54,9 @@ public class CommonMgr
|
|
|
|
machine.StepModel[stepModel.StepNo.ToString()] = stepModel;
|
|
|
|
machine.StepModel[stepModel.StepNo.ToString()] = stepModel;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (machine.SwapOrder != null)
|
|
|
|
_swapOrderStepService.InsertSwapStepForSwapMain(step, machine.StepSort++, machine.SwapOrder!.Sn,
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(machine.SwapOrder.Sn))
|
|
|
|
|
|
|
|
_swapOrderStepService.InsertSwapStepForSwapMain(step, machine.StepSort++, machine.SwapOrder.Sn,
|
|
|
|
|
|
|
|
desc, param, type);
|
|
|
|
desc, param, type);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
@ -194,6 +190,7 @@ public class CommonMgr
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return orderBatteryInfo;
|
|
|
|
return orderBatteryInfo;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//手动选包
|
|
|
|
//手动选包
|
|
|
|
ManualSelectPack(machine, orderBatteryInfo);
|
|
|
|
ManualSelectPack(machine, orderBatteryInfo);
|
|
|
|
|
|
|
|
|
|
|
@ -297,7 +294,6 @@ public class CommonMgr
|
|
|
|
orderBatteryInfo.CanDownBin = selectPackDto.CanSwapBinInfo;
|
|
|
|
orderBatteryInfo.CanDownBin = selectPackDto.CanSwapBinInfo;
|
|
|
|
orderBatteryInfo.InBinInfo = selectPackDto.BinInfo;
|
|
|
|
orderBatteryInfo.InBinInfo = selectPackDto.BinInfo;
|
|
|
|
orderBatteryInfo.CanSwap = selectPackDto.Info;
|
|
|
|
orderBatteryInfo.CanSwap = selectPackDto.Info;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -330,7 +326,6 @@ public class CommonMgr
|
|
|
|
{
|
|
|
|
{
|
|
|
|
orderBatteryInfo.CanSwap = InfoEnum.SelectBinStatusInfo.WaitSelectDownBin;
|
|
|
|
orderBatteryInfo.CanSwap = InfoEnum.SelectBinStatusInfo.WaitSelectDownBin;
|
|
|
|
orderBatteryInfo.UpBinInfo = binInfo;
|
|
|
|
orderBatteryInfo.UpBinInfo = binInfo;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -343,10 +338,8 @@ public class CommonMgr
|
|
|
|
{
|
|
|
|
{
|
|
|
|
orderBatteryInfo.CanSwap = InfoEnum.SelectBinStatusInfo.Success;
|
|
|
|
orderBatteryInfo.CanSwap = InfoEnum.SelectBinStatusInfo.Success;
|
|
|
|
orderBatteryInfo.InBinInfo = binInfo;
|
|
|
|
orderBatteryInfo.InBinInfo = binInfo;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
@ -433,7 +426,6 @@ public class CommonMgr
|
|
|
|
BatteryNo = "-1"
|
|
|
|
BatteryNo = "-1"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
it => it.Id == upBinInfo.Id);
|
|
|
|
it => it.Id == upBinInfo.Id);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|