CockpitPanelLight
USI.Core
A named cockpit-panel light whose selected brightness is independent from the aircraft-wide cockpit spotlight switch and actual lighting output.
public sealed class CockpitPanelLight : AircraftComponentNodeProperties
Role
public CockpitPanelLightRole Role { get; }Gets the stable semantic role of this panel-light rheostat.
Methods
TryGetBrightnessRatioAsync
public Task<USIResult<Double>> TryGetBrightnessRatioAsync()Gets actual post-failure light output from zero to one.
TryGetSelectedBrightnessRatioAsync
public Task<USIResult<Double>> TryGetSelectedBrightnessRatioAsync()Gets the pilot-selected brightness from zero to one.
TrySetSelectedBrightnessRatioAsync
public Task<USIResult> TrySetSelectedBrightnessRatioAsync(double ratio)Selects brightness from zero (off) to one (full brightness).
