public AirData(AircraftState Object) { Clone(Object); }
public void Clone(AircraftState Object) { TimeStamp = Object.TimeStamp; Title = Object.Title; Model = Object.Model; Type = Object.Type; Category = Object.Category; Altitude = Object.Altitude; AltitudeSol = Object.AltitudeSol; PoidsAvion = Object.PoidsAvion; Vario = Object.Vario; Heading = Object.Heading; TimeFactor = Object.TimeFactor; Longitude = Object.Longitude; Latitude = Object.Latitude; GSpeed = Object.GSpeed; TASSpeed = Object.TASSpeed; IASSpeed = Object.IASSpeed; Fuel = Object.Fuel; TotalFuelCapacity = Object.TotalFuelCapacity; GForce = Object.GForce; Pitch = Object.Pitch; Bank = Object.Bank; AmbiantWindVelocity = Object.AmbiantWindDirection; AmbiantWindDirection = Object.AmbiantWindDirection; AltimeterSetting = Object.AltimeterSetting; SeaLevelPressure = Object.SeaLevelPressure; XAxis = Object.XAxis; YAxis = Object.YAxis; Slider = Object.Slider; RZAxis = Object.RZAxis; HatAxis = Object.HatAxis; Squawk = Object.Squawk; Realism = Object.Realism; AmbiantPrecipState = Object.AmbiantPrecipState; ElevatorPos = Object.ElevatorPos; AileronPos = Object.AileronPos; RudderPos = Object.RudderPos; SpoilerPos = Object.SpoilerPos; ParkingBrakePos = Object.ParkingBrakePos; Door1Pos = Object.Door1Pos; Door2Pos = Object.Door2Pos; Door3Pos = Object.Door3Pos; Door4Pos = Object.Door4Pos; FlapsIndex = Object.FlapsIndex; NumEngine = Object.NumEngine; ThrottleEng1 = Object.ThrottleEng1; ThrottleEng2 = Object.ThrottleEng2; ThrottleEng3 = Object.ThrottleEng3; ThrottleEng4 = Object.ThrottleEng4; //Etat ParkingBrake = Object.ParkingBrake; Pause = Object.Pause; Crash = Object.Crash; RunState = Object.RunState; Pushback = Object.Pushback; OverSpeed = Object.OverSpeed; Stalling = Object.Stalling; Slew = Object.Slew; OnGround = Object.OnGround; GearPos = Object.GearPos; LandingLight = Object.LandingLight; BeaconLight = Object.BeaconLight; StrobeLight = Object.StrobeLight; NavLight = Object.NavLight; RecoLight = Object.RecoLight; StateEng1 = Object.StateEng1; StateEng2 = Object.StateEng2; StateEng3 = Object.StateEng3; StateEng4 = Object.StateEng4; Smoke = Object.Smoke; }