Exemple #1
0
        private void AddAnomalies()
        {
            FlightdataModel fdm = Single.SingleDataModel();

            foreach (AnomalyReport ar in fdm.AnomalyReports)
            {
                Anomalies_List.Items.Add(ar.ts + " : " + ar.desc);
            }
        }
Exemple #2
0
 public static FlightdataModel SingleDataModel()
 {
     if (dataFlag)
     {
         fdm      = new FlightdataModel();
         dataFlag = false;
     }
     return(fdm);
 }
Exemple #3
0
 public UserStory5VM(FlightdataModel fdm)
 {
     this.model             = fdm;
     model.PropertyChanged += delegate(Object sender, PropertyChangedEventArgs e) { NotifyPropertyChanged("VM_" + e.PropertyName); };
 }