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