예제 #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));
 }