public string GetLowTempAlarm(ThermometersName whichThermo) { Dictionary<string, string> response = Arduino.GetStatus(); string key = "ThermometerLowAlarm" + (int)whichThermo; return response[key]; }
public string GetTemps(ThermometersName whichThermo) { Dictionary<string, string> response = Arduino.GetStatus(); int index = (int)whichThermo; string key = "Thermometer" + (int)whichThermo; return response[key]; }
public void ClearAlarms(ThermometersName whichThermo) { string command = ((int)whichThermo).ToString(); Arduino.SendCommand((int)ArduinoCommands.CommandTypes.ClearTempAlarms, command); }
public void SetLowTempAlarm(ThermometersName whichThermo, string lowTemp) { string command = ((int)whichThermo).ToString() + "," + lowTemp; Arduino.SendCommand((int)ArduinoCommands.CommandTypes.SetTempAlarmLow, command); }