|
12345678910111213141516171819202122232425 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using BPASmartClient.Business;
- using BPASmartClient.Device;
- using BPA.Helper;
- using System.Collections.ObjectModel;
-
- namespace BPASmartClient.MorkSUpgradedVer.ViewModel
- {
- public class MonitorViewModel : NotifyBase
- {
- public MonitorViewModel()
- {
-
- }
-
- public static int DeviceId { get; set; }
-
- public ObservableCollection<VariableMonitor> variableMonitors { get; set; } = Plugin.GetInstance?.GetPlugin<DeviceMgr>()?.GetDevices()?.FirstOrDefault(p => p.DeviceId == DeviceId)?.variableMonitors;
-
- }
- }
|