Пример #1
0
        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);
        }
Пример #2
0
 public DeviceManifest GetById(string id)
 {
     return(_provisionM.GetById(id));
 }