示例#1
0
        public MainViewModel(IWindowManager windowManager, DataManagementViewModel ChildDialog,
                             ManuallySetParametersViewModel manuallySetParametersViewModel, ManualVoltageViewModel manualVoltageViewModel,
                             ParameterSettingViewModel parameterSettingViewModel,
                             WithstandVoltageViewModel withstandVoltageViewModel, IEventAggregator eventAggregator, StyletLogger.ILogger logger
                             , TimeViewModel timeViewModel)
        {
            _eventAggregator = eventAggregator;
            _eventAggregator.Subscribe(this);

            _windowManger = windowManager;
            _ChildDialog  = ChildDialog;
            _ManuallySetParametersViewModel = manuallySetParametersViewModel;
            _ManualVoltageViewModel         = manualVoltageViewModel;
            _ParameterSettingViewModel      = parameterSettingViewModel;
            _WithstandVoltageViewModel      = withstandVoltageViewModel;
            _logger        = logger;
            _timeViewModel = timeViewModel;
        }
示例#2
0
 public ManuallySetParametersViewModel(IWindowManager windowManager, ManualVoltageViewModel manualVoltageViewModel)
 {
     _windowManger           = windowManager;
     _ManualVoltageViewModel = manualVoltageViewModel;
 }