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);
        }
Ejemplo n.º 3
0
 public TransformerReportViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
Ejemplo n.º 4
0
 public EditUsrMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
Ejemplo n.º 5
0
 public CodesRegCoTypeMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
Ejemplo n.º 6
0
 public CodesAddingMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
Ejemplo n.º 7
0
 public ReportsMainMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
Ejemplo n.º 8
0
 public CodesRegSampleDataMenuViewModel(GlobalNavigateCommand globalNavigateCommand, IEventAggregator eventAggregator)
 {
     this.globalNavigateCommand = globalNavigateCommand;
     this.eventAggregator       = eventAggregator;
 }
Ejemplo n.º 9
0
 public CodesRegEquipNamesMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
 public CodesRegStationsMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }
Ejemplo n.º 11
0
 public CodesRegExpDetailsMenuViewModel(GlobalNavigateCommand globalNavigateCommand)
 {
     this.globalNavigateCommand = globalNavigateCommand;
 }