Beispiel #1
0
        public void UpdateTable()
        {
            LandingLogger logger = new LandingLogger();

            logTable = logger.LandingLog;
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("LandingTable"));
        }
Beispiel #2
0
        public void UpdateTable()
        {
            LandingLogger logger = new LandingLogger();

            logTable = logger.LandingLog;
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("LandingTable"));

            /*string path = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
             * BindData(path + @"\MyMSFS2020Landings-Gees\Landings.v1.csv");*/
        }
Beispiel #3
0
        public void LogParams()
        {
            LandingLogger logger = new LandingLogger();

            logger.EnterLog(new LandingLogger.LogEntry
            {
                Time     = DateTime.Now,
                Plane    = _lastLandingParams.Name,
                Fpm      = _lastLandingParams.FPM,
                G        = _lastLandingParams.Gees,
                AirV     = _lastLandingParams.Airspeed,
                GroundV  = _lastLandingParams.Groundspeed,
                HeadV    = _lastLandingParams.Headwind,
                CrossV   = _lastLandingParams.Crosswind,
                Sideslip = _lastLandingParams.Slip,
                Bounces  = _lastLandingParams.Bounces
            });
            UpdateTable();
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(""));
        }