public UniconJournalEditorViewModel(IUniconJournal uniconJournal,
                                            IJournalSequenceEditorViewModelFactory journalSequenceEditorViewModelFactory,
                                            IRecordTemplateEditorViewModel recordTemplateEditorViewModel)
        {
            this._uniconJournal = uniconJournal;

            this._journalSequenceEditorViewModelFactory = journalSequenceEditorViewModelFactory;
            this.JournalLoadingSequenceEditorViewModels =
                new ObservableCollection <IJournalLoadingSequenceEditorViewModel>(this._journalSequenceEditorViewModelFactory.GetAvailableLoadingSequenceEditorViewModels());
            this.JournalRecordTemplateEditorViewModel = recordTemplateEditorViewModel;
        }
Example #2
0
        public OscilloscopeEditorViewModel(ICountingTemplate countingTemplate, IOscilloscopeModel oscilloscopeModel,
                                           IUniconJournalEditorViewModel uniconJournalEditorViewModel, IFragmentEditorViewModelFactory fragmentEditorViewModelFactory,
                                           IOscillogramLoadingParametersEditorViewModel oscillogramLoadingParametersEditorViewModel, IRecordTemplateEditorViewModel recordTemplateEditorViewModel)
        {
            this._oscilloscopeModel = oscilloscopeModel;
            this._countingTemplate  = countingTemplate;
            this._fragmentEditorViewModelFactory    = fragmentEditorViewModelFactory;
            this.OscilloscopeJournalEditorViewModel = uniconJournalEditorViewModel;

            this.OscillogramLoadingParametersEditorViewModel = oscillogramLoadingParametersEditorViewModel;
            this.CountingTemplateEditorViewModel             = recordTemplateEditorViewModel;
        }