public Picon2ModuleInfoViewModel(ISchemeModeRuntimeViewModel schemeModeRuntimeViewModel) { _runtimeDevice = schemeModeRuntimeViewModel.CurrentDeviceViewModel.Model as Picon2RuntimeDevice; UpdateData(); ReadModuleInformationCommand = new DelegateCommand(OnReadExecute); IsNotCommandExecuting = true; }
/// <summary> /// Constructor of instance <see cref="SchemeModeRuntimeView"/> /// </summary> public SchemeModeRuntimeView(ISchemeModeRuntimeViewModel viewModel) { InitializeComponent(); this.DataContext = viewModel; }