Browse Source

修复试产NTF计算时, 第二次测试时NTF更新出错的Bug.

sat23 3 năm trước cách đây
mục cha
commit
1e0012ba3a
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      BLL/NTFBLL.cs

+ 4 - 4
BLL/NTFBLL.cs

@@ -545,7 +545,7 @@ namespace MOKA_Factory_Tools.BLL
             #region 测试第3次
             else if (redo0Model.Test02.ToLower() != "null" && redo0Model.Test03.ToLower() == "null")
             {
-                if ( redo0Model.Test01.ToLower().Equals("pass") && redo0Model.Test01.ToLower().Equals("pass") )
+                if ( redo0Model.Test01.ToLower().Equals("pass") && redo0Model.Test02.ToLower().Equals("pass") )
                 {
                     if (TestResult)
                     {
@@ -560,7 +560,7 @@ namespace MOKA_Factory_Tools.BLL
                         redo0Model.ResultType = "RealFail";
                     }
                 }
-                else if (redo0Model.Test01.ToLower().Equals("pass") && redo0Model.Test01.ToLower().Equals("fail") )
+                else if (redo0Model.Test01.ToLower().Equals("pass") && redo0Model.Test02.ToLower().Equals("fail") )
                 {
                     if (TestResult)
                     {
@@ -575,7 +575,7 @@ namespace MOKA_Factory_Tools.BLL
                         redo0Model.ResultType = "RealFail";
                     }
                 }
-                else if (redo0Model.Test01.ToLower().Equals("fail") && redo0Model.Test01.ToLower().Equals("pass"))
+                else if (redo0Model.Test01.ToLower().Equals("fail") && redo0Model.Test02.ToLower().Equals("pass"))
                 {
                     if (TestResult)
                     {
@@ -590,7 +590,7 @@ namespace MOKA_Factory_Tools.BLL
                         redo0Model.ResultType = "RealFail";
                     }
                 }
-                else if (redo0Model.Test01.ToLower().Equals("fail") && redo0Model.Test01.ToLower().Equals("fail"))
+                else if (redo0Model.Test01.ToLower().Equals("fail") && redo0Model.Test02.ToLower().Equals("fail"))
                 {
                     Log.WriteInfoLog("连接2次Fail,测试锁定");
                 }