public void UpdateTable() { LandingLogger logger = new LandingLogger(); logTable = logger.LandingLog; PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("LandingTable")); }
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");*/ }
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("")); }