Explorar o código

思泰克添加自动切换工单

yhluo hai 3 meses
pai
achega
061bddc5b7
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      UAS_MES_BG/FunctionCode/Make/Make_ParseLog.cs

+ 3 - 1
UAS_MES_BG/FunctionCode/Make/Make_ParseLog.cs

@@ -127,7 +127,9 @@ namespace UAS_MES_NEW.Make
                 case 1:
                     currFileType = "csv";
                     equiType = "SPI";
-                    SPITimer.Stop();
+
+                    SPITimer_Tick(null, null);
+                    SPITimer.Start();
                     break;
                 case 2:
                     currFileType = "txt";