public override void UpdateFromObjectData(RecvSimObjectData data) { var throttleValue = (ThrottleValue)data.Data; ModelItem.Value = (int)Math.Round(throttleValue.GeneralEngThrottleLeverPosition1 * ClientController.MagicSimConnectNumber); }
public abstract void UpdateFromObjectData(RecvSimObjectData data);
public override void UpdateFromObjectData(RecvSimObjectData data) { var landingGearValue = (LandingGearValue)data.Data; ModelItem.Value = landingGearValue.GearHandlePosition; }
public override void UpdateFromObjectData(RecvSimObjectData data) { var trimValue = (TrimValue)data.Data; ModelItem.Value = (int)Math.Round(trimValue.TrimPosition * ClientController.MagicSimConnectNumber); }
public override void UpdateFromObjectData(RecvSimObjectData data) { var parkingBrakesValue = (ParkingBrakesValue)data.Data; ModelItem.Value = parkingBrakesValue.BrakeParkingPosition; }