Ejemplo n.º 1
0
 private static void WeatherStationHistoryData(IWeatherStation weatherStation, HistoryData historyDataReport)
 {
     Console.WriteLine(JsonConvert.SerializeObject(historyDataReport));
 }
Ejemplo n.º 2
0
 protected virtual void OnHistoryData(IWeatherStation weatherStation, HistoryData historyDataReport)
 {
     var handler = HistoryData;
     if (handler != null) handler(weatherStation, historyDataReport);
 }