Browse Source

修复:读取ACAS ID失败时,没有拦截的问题,导致三华上报了MES.

JeffWang 2 years ago
parent
commit
cbd44fdbd3
1 changed files with 7 additions and 0 deletions
  1. 7 0
      FactoryTool_CShare/Views/OperationPanel.cs

+ 7 - 0
FactoryTool_CShare/Views/OperationPanel.cs

@@ -4761,6 +4761,13 @@ namespace MOKA_Factory_Tools
                         goto end;
                     }                    
                 }
+                else
+                {
+                    TestResult = 0;
+                    ErrMsg = string.Format("{0}  Read ACAS ID fail! {1}", SN, error);
+                    Log.WriteErrorLog(ErrMsg);
+                    goto end;
+                }
             }
 
             if (CommonMethod.GetLoginAccout().Equals("Sanhua", StringComparison.OrdinalIgnoreCase))