소스 검색

修改了一些日志

chenjiangqun 2 년 전
부모
커밋
27c6b750e9
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      FactoryTool_CShare/Business/V2Method.cs
  2. 1 1
      FactoryTool_CShare/Views/OperationPanel.cs

+ 1 - 1
FactoryTool_CShare/Business/V2Method.cs

@@ -1032,7 +1032,7 @@ namespace MOKA_Factory_Tools
                         }
                         if (DSN == "" || DSN == null)
                         {
-                            MessageBox.Show("查不到该SN对应的主板DSN号");
+                            Log.WriteInfoLog("Detail message:" + SN+"\r\n" + item.URL + "\r\n"+hResult.Html);
                             return false;
                         }
                         Log.WriteInfoLog("PartSN" + DSN);

+ 1 - 1
FactoryTool_CShare/Views/OperationPanel.cs

@@ -2464,7 +2464,7 @@ namespace MOKA_Factory_Tools
                             {
                                 if (!V2Method.GetDSNFromSmes(SN, out GetSmesDSN))
                                 {
-                                    ErrMsg = string.Format("GetDSNFromSmes error!\r\n{0}", keyInfo.DSN.data);
+                                    ErrMsg = string.Format("{0} GetDSNFromSmes error!IDMDSN:{1},SmesDSN:{2}\r\n", SN,keyInfo.DSN.data,"");
                                     Log.WriteErrorLog(ErrMsg);
                                     goto end;
                                 }