public StorageControllerPowerService(QuantumStorageControllerMachine quantumStorageController, MachinePower machinePower, MachineSides machineSides) { _quantumStorageController = quantumStorageController; _machinePower = machinePower; _machineSides = machineSides; }
public static string PowerDisplay(MachinePower machinePower) { string txt = "Desires: " + machinePower.MinOperatingPower + "PPS. Current PPS: " + machinePower.GetPps() + "PPS\n"; if (!machinePower.HasPower()) { txt += "NO POWER\n"; } else { txt += "Power: " + machinePower.CurrentPower + "/" + machinePower.MaxPower + "\n"; } return(txt); }