移仓加是否远程判断

master
xjl 2 months ago
parent b21150ee0a
commit 3598548143

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

Loading…
Cancel
Save