UNPKG

@patricksurry/g3

Version:

A flexible Javascript framework for building steam gauge instrument panels that display live external metrics from flight (or other) simulators like XPlane or MS FS2020

38 lines (37 loc) • 1.64 kB
import type { GaugeComponent } from '../types'; /** * DHC-2 Beaver gyroscope suction pressure gauge (0–10 inHg). */ export declare function suctionPressure(): GaugeComponent; /** * DHC-2 Beaver engine manifold pressure gauge (10–50 inHg) with idle and normal operating sectors. */ export declare function manifoldPressure(): GaugeComponent; /** * DHC-2 Beaver engine tachometer (300–3,500 RPM) with idle and normal operating sectors. */ export declare function tachometer(): GaugeComponent; /** * Configurable single fuel tank quantity gauge (gallons) with an active-tank selector status light. * @param lo - Minimum scale reading in gallons (default 2) * @param hi - Maximum scale reading in gallons (default 19) * @param arc - Angular span of the dial arc in degrees (default 96) * @param instance - Optional tank instance qualifier (e.g. 'front', 'center', 'rear') */ export declare function tank(lo?: number, hi?: number, arc?: number, instance?: string): GaugeComponent; /** * DHC-2 Beaver composite three-tank fuel gauge combining front, center, and rear `tank` sub-gauges. */ export declare function fuel(): GaugeComponent; /** * DHC-2 Beaver tri-gauge displaying engine oil temperature (°C), oil pressure (psi), and fuel pressure (psi). */ export declare function oilFuelStatus(): GaugeComponent; /** * DHC-2 Beaver carburetor mixture temperature gauge (-50°C to +50°C) with icing caution and normal sectors. */ export declare function carbMixtureTemp(): GaugeComponent; /** * DHC-2 Beaver cylinder head temperature (CHT) gauge (0–350°C). */ export declare function cylinderHeadTemp(): GaugeComponent;