public StationDetailsViewModelDT()
 {
     Station = new OzoneInformation()
     {
         Id = "1",
         Name = "Leoben Zentrum",
         OneHourAverage = 5,
         OneHourAverageTimestampLocal = new DateTime(2012, 10, 22, 14, 00, 00),
         EightHoursAverage = 18,
         Height = 540,
         State = "ST",
         DistanceToCurrentPosition = 1.5
     };
 }
Пример #2
0
        public SampleDataSource()
        {
            var dm = new OzoneInformation()
            {
                Id = "1",
                Name = "Leoben Zentrum",
                OneHourAverage = 5,
                OneHourAverageTimestampLocal = new DateTime(2012, 10, 22, 14, 00, 00),
                EightHoursAverage = 18,
                Height = 540,
                State = "ST"
            };

            _measurements.Add(dm);
        }
        protected async override void OnActivate()
        {
            base.OnActivate();

            Station = await _dataService.GetStationAsync(StationId);
        }
Пример #4
0
 void Aggregate_ResetAnyMeasurementSelection(object sender, OzoneInformation info)
 {
     SelectedMeasurement = info;
 }