Exemple #1
0
        public override void UpdateFromObjectData(RecvSimObjectData data)
        {
            var throttleValue = (ThrottleValue)data.Data;

            ModelItem.Value = (int)Math.Round(throttleValue.GeneralEngThrottleLeverPosition1 * ClientController.MagicSimConnectNumber);
        }
Exemple #2
0
 public abstract void UpdateFromObjectData(RecvSimObjectData data);
        public override void UpdateFromObjectData(RecvSimObjectData data)
        {
            var landingGearValue = (LandingGearValue)data.Data;

            ModelItem.Value = landingGearValue.GearHandlePosition;
        }
Exemple #4
0
        public override void UpdateFromObjectData(RecvSimObjectData data)
        {
            var trimValue = (TrimValue)data.Data;

            ModelItem.Value = (int)Math.Round(trimValue.TrimPosition * ClientController.MagicSimConnectNumber);
        }
Exemple #5
0
        public override void UpdateFromObjectData(RecvSimObjectData data)
        {
            var parkingBrakesValue = (ParkingBrakesValue)data.Data;

            ModelItem.Value = parkingBrakesValue.BrakeParkingPosition;
        }