public async Task RequestReport() { Report.Clear(); CapatibilityReport report = await _client.GetCapability(_selectedDeviceId, _selectedCap); foreach (TimeValue value in report.Values) { _report.Add(new Info { Key = value.T.ToString("s"), Value = value.V }); } NotifyPropertyChanged(nameof(Report)); }
public async Task TestRequestCapability() { CapatibilityReport report = await _client.GetCapability("447f00f7-64e8-45b4-93c5-346455b2346b", "measure_humidity"); AssertReport(report); }