移仓加是否远程判断

master
xjl 3 months ago
parent b21150ee0a
commit 3598548143

@ -210,6 +210,11 @@ public class MonitorService
MoveBinRecord moveBinRecord = null; MoveBinRecord moveBinRecord = null;
try try
{ {
if (!PlcApi.IsRemote())
{
return Result<bool>.Fail("PLC不是远程模式");
}
//校验:出仓位 //校验:出仓位
BinInfo? removeBin = BinInfoRepository.QueryByClause(i => BinInfo? removeBin = BinInfoRepository.QueryByClause(i =>
i.No.Equals(removeBinNo) && (i.ChargeStatus != 1) && i.Exists == 1 && i.No.Equals(removeBinNo) && (i.ChargeStatus != 1) && i.Exists == 1 &&

Loading…
Cancel
Save