Beispiel #1
0
 public Rods(SimulatorInterface simInterface)
     : base(simInterface)
 {
     this.mode = this.Register<string>("{get, es_rod_controller_server, mode}");
     this.speed = this.Register<float>("{get, es_rod_controller_server, speed}");
     //			this.Register(new Connector.Setter(setCtrlRodPosition), "{get, es_rod_position_server, control_position_array_str}"); // TODO: this should be uncomented when Lib.StringToArray learns to parse subarrays
 }
Beispiel #2
0
 public Reactor(SimulatorInterface simInterface)
     : base(simInterface)
 {
     this.burnup = this.Register<float>("{get, es_core_server, burnup}");
     this.boron = this.Register<float>("{get, es_core_server, boron}");
     this.flux = this.Register<float>("{get, es_core_server, flux}");
     this.tavg = this.Register<float>("{get, es_core_server, tavg}");
 }
Beispiel #3
0
 public Turbine(SimulatorInterface simInterface)
     : base(simInterface)
 {
     this.power = this.Register<float>("{get, es_turbine_server, power}");
     this.tref = this.Register<float>("{get, es_turbine_server, tref}");
     this.target = this.Register<float>("{get, es_turbine_server, target}");
     this.rate = this.Register<float>("{get, es_turbine_server, rate}");
     this.go = this.Register<bool>("{get, es_turbine_server, go}");
 }
Beispiel #4
0
 public Clock(SimulatorInterface simInterface)
     : base(simInterface)
 {
     this.logTicks = this.Register<bool>("{get, es_clock_server, log_ticks}");
     this.status = this.Register<string>("{get, es_clock_server, status}");
 }
Beispiel #5
0
 public bool Equals(Parameter param)
 {
     return this.call == param.call;
 }