public recordReportViewModel(GlobalNavigateCommand glovalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
     records       = Record.getRecords();
     currentRecord = records[index++];
     constructString();
 }
        public ChemicalElectricalAnalysisViewModel(GlobalNavigateCommand globalNavigateCommand, IEventAggregator eventAggregator)
        {
            this.eventAggregator = eventAggregator;
            this.eventAggregator.GetEvent <RecordedEvent>().Subscribe(delegate(Record record)
            {
                currentRecord = record;
            }
                                                                      , ThreadOption.PublisherThread, true);
            this.globalNavigateCommand = globalNavigateCommand;
            chemElecAnlSetter          = new ChemElecAnlSetter();
            expirments = chemElecAnlSetter.expirments;
            results    = new ObservableCollection <ResultWrapper>();
            foreach (var expirment in expirments)
            {
                results.Add(new ResultWrapper(0.0));
            }
            allResults = new List <ObservableCollection <ResultWrapper> >();
            allResults.Add(results);

            selectedEquipment.Add(1);
            transformerPotentials = new List <string>();
            transformerPotentials.Add(string.Empty);
        }
예제 #3
0
 public TransformerReportViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
예제 #4
0
 public EditUsrMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
예제 #5
0
 public CodesRegCoTypeMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
예제 #6
0
 public CodesAddingMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
예제 #7
0
 public ReportsMainMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
예제 #8
0
 public CodesRegSampleDataMenuViewModel(GlobalNavigateCommand globalNavigateCommand, IEventAggregator eventAggregator)
 {
     this.globalNavigateCommand = globalNavigateCommand;
     this.eventAggregator       = eventAggregator;
 }
예제 #9
0
 public CodesRegEquipNamesMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
 public CodesRegStationsMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
예제 #11
0
 public CodesRegExpDetailsMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }