Browse Source

补充recipe界面不显示heliumpump的问题

zhouhr 5 months ago
parent
commit
4666252058
2 changed files with 4 additions and 1 deletions
  1. 3 0
      Venus/Venus_Core/Recipe.cs
  2. 1 1
      Venus/Venus_RT/Modules/PMs/ProcessDefine.cs

+ 3 - 0
Venus/Venus_Core/Recipe.cs

@@ -565,6 +565,9 @@ namespace Venus_Core
                             case "ProcessKitUnit":
                                 unit.Add(JsonConvert.DeserializeObject<ProcessKitUnit>(step.LstUnit[i].ToString()));
                                 break;
+                            case "HeliumPumpUnit":
+                                unit.Add(JsonConvert.DeserializeObject<HeliumPumpUnit>(step.LstUnit[i].ToString()));
+                                break;
                             case "HeaterUnit":
                                 unit.Add(JsonConvert.DeserializeObject<HeaterUnit>(step.LstUnit[i].ToString()));
                                 break;

+ 1 - 1
Venus/Venus_RT/Modules/PMs/ProcessDefine.cs

@@ -1062,7 +1062,7 @@ namespace Venus_RT.Modules.PMs
         private void ProcessKitUnit_End(ProcessUnitBase unit, RecipeStep step)
         {
         }
-                private RState HeliumPumpUnit_Start(ProcessUnitBase unit, RecipeStep step)
+        private RState HeliumPumpUnit_Start(ProcessUnitBase unit, RecipeStep step)
         {
             var ProcessUnit = unit as HeliumPumpUnit;
             if (!ProcessUnit.HeliumPumpState)