protected void DecreaseTemp(object sender, EventArgs e) { serial = new MySerial(3); serial.Send(TEMPERATURE_DECREASE); RefreshData(); }
protected void IncreaseTemp(object sender, EventArgs e) { serial.Send(TEMPERATURE_INCREASE); //goalTemperature.InnerText = (int.Parse(goalTemperature.InnerText) + 1).ToString(); RefreshData(); }