Browse Source

avoid crash issue for temporary fix.

sangwq 10 months ago
parent
commit
bcbd783654
1 changed files with 7 additions and 2 deletions
  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();