UNPKG

a429-flight-display

Version:

React components for ARINC 429 Flight Display with primary flight instruments

45 lines (44 loc) 1.18 kB
import { FlightData } from './flight'; export interface SpeedColorRange { min: number; max: number; color: string; } export interface AirspeedIndicatorOptions { speedColorRanges?: SpeedColorRange[]; } export interface AirspeedIndicatorProps { airspeed: number; options?: AirspeedIndicatorOptions; } export interface AltitudeIndicatorProps { altitude: number; } export interface AttitudeIndicatorProps { pitch: number; roll: number; } export interface HeadingIndicatorProps { heading: number; } export interface VerticalSpeedIndicatorProps { verticalSpeed: number; } export interface ARINC429DataBusProps { flightData: FlightData; } export interface VerticalTapeProps { value: number; title: string; unit: string; unitTooltip?: string; generateMarks: (currentValue: number) => number[]; getValueColor?: (value: number) => string; isMajorTick?: (value: number) => boolean; formatValue?: (value: number) => string; formatCurrentValue?: (value: number) => string; pixelsPerUnit?: number; pointerSide?: 'left' | 'right'; className?: string; } //# sourceMappingURL=components.d.ts.map