|
|
@ -132,7 +132,7 @@ public class DoSwappingState : IState
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (ClientMgr.PlcClient.IsTaskFree())
|
|
|
|
if (ClientMgr.PlcClient.IsTaskFree())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ClientMgr.PlcClient.ExChangeTaskNo(1);
|
|
|
|
// ClientMgr.PlcClient.ExChangeTaskNo(1);
|
|
|
|
var startSwapping = PlcApi.StartSwapping(machine.SwapOrderBatteryInfo.InBinInfo.No,
|
|
|
|
var startSwapping = PlcApi.StartSwapping(machine.SwapOrderBatteryInfo.InBinInfo.No,
|
|
|
|
machine.SwapOrderBatteryInfo.UpBinInfo.No);
|
|
|
|
machine.SwapOrderBatteryInfo.UpBinInfo.No);
|
|
|
|
|
|
|
|
|
|
|
|