Example #1
0
 //private LoadParamsViewModel _loadParamsViewModel;
 public ParametarsWindowViewModel()
 {
     _operationViewModel   = OperationViewModel.GetInstance;
     _calibrationViewModel = CalibrationViewModel.GetInstance;
     _motionViewModel      = MotionViewModel.GetInstance;
     _maintenanceViewModel = MaintenanceViewModel.GetInstance;
     _feedBackViewModel    = FeedBackViewModel.GetInstance;
     _debugViewModel       = DebugViewModel.GetInstance;
     _ioViewModel          = IOViewModel.GetInstance;
     //_loadParamsViewModel = LoadParamsViewModel.GetInstance;
 }
Example #2
0
 public IOPage()
 {
     InitializeComponent();
     DataContext = new IOViewModel();
     Unloaded   += OnUnload;
 }