Explorar el Código

修改了一些日志

chenjiangqun hace 2 años
padre
commit
27c6b750e9

+ 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;
                                 }