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