示例#1
0
 private void HandleTempChangedEvent(object sender, TempChangedEventArgs e)
 {
     CurrentTemperature = e.Temp;
     Regulate();
 }
示例#2
0
 protected virtual void OnTempChangedEvent(TempChangedEventArgs e)
 {
     TempChangedEvent?.Invoke(this, e);
 }