namespace BPASmartClient.MorkCL.ViewModel { public class MonitorViewModel { public static int DeviceId { get; set; } public ObservableCollection VariableMonitors { get; set; } = Plugin.GetInstance()?.GetPlugin()?.GetDevices()?.FirstOrDefault(p => p.DeviceId == DeviceId)?.variableMonitors; } }