Преглед на файлове

【3.0.6.8】1、记录NG框被单击的Log。2、禁用本地NTF功能

sat23 преди 3 години
родител
ревизия
0a7a31fd65
променени са 3 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 1 0
      BLL/NTFBLL.cs
  2. 1 0
      Views/OperationPanel.cs
  3. 2 0
      Views/Verify.cs

+ 1 - 0
BLL/NTFBLL.cs

@@ -26,6 +26,7 @@ namespace MOKA_Factory_Tools.BLL
         /// <returns></returns>
         public bool SetDataBuringResult(string strLine, string strStation, string strSN, string strDSN, bool bResult, string strErrMsg = "")
         {
+            return false;
             MaInfo maInfo;
             DateTime dateNow = DateTime.Now;
             AMResult aMResult = new AMResult();            

+ 1 - 0
Views/OperationPanel.cs

@@ -4903,6 +4903,7 @@ namespace MOKA_Factory_Tools
                                         }
                                         else
                                         {
+                                            SetfailStatus(m_readDSN);
                                             ErrMsg = string.Format("{0}  contrast DSN fail!", SN);
                                             Log.WriteErrorLog(ErrMsg);
                                             //MessageBox.Show(LResource.ContrastDSNError);

+ 2 - 0
Views/Verify.cs

@@ -1,4 +1,5 @@
 using CCWin;
+using SXLibrary;
 using System;
 using System.Collections.Generic;
 using System.ComponentModel;
@@ -43,6 +44,7 @@ namespace MOKA_Factory_Tools
 
         private void BT_OK_Click(object sender, EventArgs e)
         {
+            Log.WriteInfoLog("NG弹框被单击确定");
             this.Close();
         }
     }