public void BuildUp() { HBISCSController = new SpectraCyberSimulatorController(new SpectraCyberSimulator()); HBISCSController.SetSpectraCyberModeType(SpectraCyberModeTypeEnum.CONTINUUM); HBISCSController.BringUp(); HBISimWeatherStation = new SimulationWeatherStation(100); HBISimWeatherStation.Start(); }
public void Initialize() { RadioTelescope = new RadioTelescope(); AbstractPLCDriver PLC = new SimulationPLCDriver(PlcIp, McuIp, McuPort, PlcPort, true, false); RadioTelescope.PLCDriver = PLC; SensorNetworkServer SN = new SensorNetworkServer(SnServerIp, SnServerPort, SnClientIp, SnClientPort, SnTelescopeId, true); RadioTelescope.SensorNetworkServer = SN; RtController = new RadioTelescopeController(RadioTelescope); AbstractWeatherStation WS = new SimulationWeatherStation(1000); ControlRoom = new ControlRoom(WS, 80); ControlRoom.mobileControlServer.rtController = RtController; PrivListener = new PrivateObject(ControlRoom.mobileControlServer); }