|
|
|
@ -218,7 +218,7 @@ public class MonitorService
|
|
|
|
|
Status = 0,
|
|
|
|
|
Type = type
|
|
|
|
|
};
|
|
|
|
|
MoveBinRecordRepository.Insert(moveBinRecord);
|
|
|
|
|
moveBinRecord= MoveBinRecordRepository.Insert(moveBinRecord);
|
|
|
|
|
|
|
|
|
|
result = PlcMgr.HoldOn();
|
|
|
|
|
if (!result)
|
|
|
|
@ -243,6 +243,7 @@ public class MonitorService
|
|
|
|
|
MoveBinRecordRepository.Update(moveBinRecord);
|
|
|
|
|
return Result<bool>.Fail();
|
|
|
|
|
}
|
|
|
|
|
Log.Info($"move battery success update moveBin={JsonConvert.SerializeObject(moveBinRecord)}");
|
|
|
|
|
|
|
|
|
|
//如果是缓存仓 更新缓存仓的数据
|
|
|
|
|
if (putBin.CacheBinFlag == 1)
|
|
|
|
|