瀏覽代碼

avoid crash issue for temporary fix.

sangwq 1 年之前
父節點
當前提交
bcbd783654
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7 2
      Venus/Venus_RT/Modules/RouteManager.cs

+ 7 - 2
Venus/Venus_RT/Modules/RouteManager.cs

@@ -679,10 +679,15 @@ namespace Venus_RT.Modules
             VCEB?.Initialize();
             seTM?.Initialize();
 
-            _TMCycle = new TMCycle();
+            if(RtInstance.ConfigType != ConfigType.VenusSE && RtInstance.ConfigType != ConfigType.VenusDE)
+            {
+                _TMCycle = new TMCycle();
+                _manualTransfer = new ManualTransfer();
+            }
+                
             //_AutoCycle = new AutoCycle();
             _AutoCycle = new SystemDispatcher();
-            _manualTransfer = new ManualTransfer();
+            
             _returnWafer = new ReturnAllWafer(_manualTransfer);
             _seTMCycle = new SETMCycle(ModuleName.SETM);
             _setransfer = new SEManualTransfer();