Class: TrafficConfig
A configuration object which defines options related to the avionics' traffic system.
Implements
ResolvableConfig
<(bus
:EventBus
,tfcInstrument
:TrafficInstrument
,initializationTime
:number
) =>TrafficAvionicsSystem
>
Constructors
constructor
• new TrafficConfig(baseInstrument
, element
): TrafficConfig
Creates a new TrafficConfig from a configuration document element.
Parameters
Name | Type | Description |
---|---|---|
baseInstrument | BaseInstrument | The BaseInstrument element associated with the configuration. |
element | undefined | Element | A configuration document element. |
Returns
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Traffic/TrafficConfig.ts:34
Properties
electricity
• Optional
Readonly
electricity: CompositeLogicXMLElement
The electrical logic for the traffic system.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Traffic/TrafficConfig.ts:27
isResolvableConfig
• Readonly
isResolvableConfig: true
Flags this object as a ResolvableConfig.
Implementation of
ResolvableConfig.isResolvableConfig
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Traffic/TrafficConfig.ts:18
supportAdsb
• Readonly
supportAdsb: boolean
Whether the traffic system should support ADS-B.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Traffic/TrafficConfig.ts:24
type
• Readonly
type: G3000TrafficSystemType
The type of traffic system used.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Traffic/TrafficConfig.ts:21
Methods
resolve
▸ resolve(): (bus
: EventBus
, tfcInstrument
: TrafficInstrument
, initializationTime
: number
) => TrafficAvionicsSystem
<TrafficSystem
>
Resolves this config to a value.
Returns
fn
This config's resolved value.
▸ (bus
, tfcInstrument
, initializationTime
): TrafficAvionicsSystem
<TrafficSystem
>
Parameters
Name | Type |
---|---|
bus | EventBus |
tfcInstrument | TrafficInstrument |
initializationTime | number |
Returns
TrafficAvionicsSystem
<TrafficSystem
>
Implementation of
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Traffic/TrafficConfig.ts:74