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 }
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}"); }
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}"); }
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}"); }
public bool Equals(Parameter param) { return this.call == param.call; }