Browse Source

efem报错不能运行

lixiang 1 year ago
parent
commit
acbb0f745b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Venus/Venus_RT/Devices/VirgoSignalTower.cs

+ 1 - 1
Venus/Venus_RT/Devices/VirgoSignalTower.cs

@@ -94,7 +94,7 @@ namespace Venus_RT.Devices
 
                     break;
             }
-            EfemController.SetLamp(venusType, venusSetpoint);
+            EfemController?.SetLamp(venusType, venusSetpoint);
             _SignalTower.SetLight(venusType, lightState);
             return true;
         }