Esempio n. 1
0
        public MainViewModel()
        {
            ConfigVm = new ConfigurationViewModel();


            ConnectionVm   = new ConnectionViewModel();
            SystemVm       = new SystemViewModel(ConfigVm);
            AssistLevelsVm = new AssistLevelsViewModel(ConfigVm);
            EventLogVm     = new EventLogViewModel();


            ConnectionVm.EventLogReceived += EventLogVm.AddEvent;
        }
Esempio n. 2
0
 public SystemViewModel(ConfigurationViewModel config)
 {
     _configVm = config;
 }
Esempio n. 3
0
 public AssistLevelsViewModel(ConfigurationViewModel config)
 {
     _configVm = config;
     SelectedOperationModePage = OperationModes[0];
 }