public IActionResult PrimaryPump(EqipmentParameter enable) { if (enable.Power == Power.On) { terminal.PrimaryPump.TurnOn(); } else { terminal.PrimaryPump.TurnOff(); } return(this.Ok(true)); }
public IActionResult GrayFan(EqipmentParameter enable) { if (enable.Power == Power.On) { terminal.GrayFan.TurnOn(); } else { terminal.GrayFan.TurnOff(); } return(this.Ok(true)); }
public IActionResult SecondaryPlasmaGenerator(EqipmentParameter enable) { if (enable.Power == Power.On) { terminal.PlasmaGeneratorGroup.Second.TurnOn(); } else { terminal.PlasmaGeneratorGroup.Second.TurnOff(); } return(this.Ok(true)); }
public IActionResult Pulverizer(EqipmentParameter enable) { if (enable.Power == Power.On) { terminal.Pulverizer.TurnOn(); } else { terminal.Pulverizer.TurnOff(); } return(this.Ok(true)); }
public IActionResult ExhaustSlave(EqipmentParameter enable) { if (enable.Power == Power.On) { terminal.ExhaustSlave.TurnOn(); } else { terminal.ExhaustSlave.TurnOff(); } return(this.Ok(true)); }