private void DeviceList_OnSelectionChanged(object sender, SelectionChangedEventArgs e) { if (DeviceList.Items.Count == 0) { return; } var deviceId = (string)DeviceList.SelectedItems[0]; PingFeed.Clear(); TelemetryFeed.Clear(); AlarmFeed.Clear(); _currDevice = _provisionM.GetById(deviceId); }
public DeviceManifest GetById(string id) { return(_provisionM.GetById(id)); }