Admin.NET/WCS.Application/PLC/PLCCommon.cs
@@ -432,7 +432,10 @@ taskInfo.EndPai = paiVal.ToString(); taskInfo.EndCeng = cengNum.ToString(); taskInfo.EndLie = lieNum.ToString() ; if (taskInfo.EndPai == "0" || taskInfo.EndCeng == "0" || taskInfo.EndLie == "0") { throw new Exception("排列层转换失败"); } return taskInfo; } @@ -878,7 +881,10 @@ } } } if (paiVal == 0) { throw new Exception("排转换失败"); } return paiVal; }