Эх сурвалжийг харах

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

jianfeng1.wang 2 жил өмнө
parent
commit
44241a134c

+ 3 - 2
FactoryTool_CShare/Views/OperationPanel.cs

@@ -2312,7 +2312,8 @@ namespace MOKA_Factory_Tools
                         // 读取psn的值;
                         // 读取psn的值;
                         if (SerialCMD.ReadFireTVPSN(TVPort, out result, out data, out error, SerailDelay))
                         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值;
                             // 通过http获取对应fsn的psn值;
                             if (GMethod.GetMainBoardPSNWithSN(SN, out GetPSNInFsn))
                             if (GMethod.GetMainBoardPSNWithSN(SN, out GetPSNInFsn))
                             {
                             {
@@ -2329,7 +2330,7 @@ namespace MOKA_Factory_Tools
                                 Log.WriteErrorLog(ErrMsg);
                                 Log.WriteErrorLog(ErrMsg);
                                 goto end;
                                 goto end;
                             }
                             }
-
+#endif
                         }
                         }
                         else
                         else
                         {
                         {