Beispiel #1
0
        public static async Task <bool> RecordSuccess(ReadingType t, WeatherInfoSource src, double x)
        {
            var rd = new WeatherRecord(CurrentDateTime, x, src, t);
            await Table.ExecuteAsync(TableOperation.Insert(rd));

            return(true);
        }
Beispiel #2
0
 public static async void Record(ReadingType t, WeatherInfoSource src, double x)
 {
     var rd = new WeatherRecord(CurrentDateTime, x, src, t);
     await Table.ExecuteAsync(TableOperation.Insert(rd));
 }