终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 regels
365 B

  1. namespace BPASmartClient.MorkCL.ViewModel
  2. {
  3. public class MonitorViewModel
  4. {
  5. public static int DeviceId { get; set; }
  6. public ObservableCollection<VariableMonitor> VariableMonitors { get; set; } =
  7. Plugin.GetInstance()?.GetPlugin<DeviceMgr>()?.GetDevices()?.FirstOrDefault(p => p.DeviceId == DeviceId)?.variableMonitors;
  8. }
  9. }