public void TurnOnHotplate(int time = 5) { if (time < 5) { throw new Exception("Time must be a minimum of 5 (minutes)"); } ReturnStatus result = sendCommand(0x3e, new byte[1] { (byte)time }); }
public void SetCups(int cups) { if (cups < 1 || cups > 12) { throw new Exception("Cups must be between 1 and 12"); } ReturnStatus result = sendCommand(0x36, new byte[1] { (byte)cups }); }
public void TurnOffHotplate() { ReturnStatus result = sendCommand(0x4a, new byte[0]); }
public void ToggleGrinder() { ReturnStatus result = sendCommand(0x3c, new byte[0]); }
public void SetStrength(CoffeeStrength strength) { ReturnStatus result = sendCommand(0x35, new byte[1] { (byte)strength }); }