Explorar o código

墨西哥未实现该MES接口,暂时不投入使用。

jianfeng1.wang %!s(int64=2) %!d(string=hai) anos
pai
achega
44241a134c
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      FactoryTool_CShare/Views/OperationPanel.cs

+ 3 - 2
FactoryTool_CShare/Views/OperationPanel.cs

@@ -2312,7 +2312,8 @@ namespace MOKA_Factory_Tools
                         // 读取psn的值;
                         if (SerialCMD.ReadFireTVPSN(TVPort, out result, out data, out error, SerailDelay))
                         {
-                            psn = keyInfo._PSN.data = Encoding.ASCII.GetString(data);                      
+                            psn = keyInfo._PSN.data = Encoding.ASCII.GetString(data);
+#if false
                             // 通过http获取对应fsn的psn值;
                             if (GMethod.GetMainBoardPSNWithSN(SN, out GetPSNInFsn))
                             {
@@ -2329,7 +2330,7 @@ namespace MOKA_Factory_Tools
                                 Log.WriteErrorLog(ErrMsg);
                                 goto end;
                             }
-
+#endif
                         }
                         else
                         {