Click or drag to resize
IRawMessageTranslatorTranslate Method
Translates the Mode-S message, and the optional ADS-B message carried by it, into a BaseStation message.

Namespace: VirtualRadar.Interface.BaseStation
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
BaseStationMessage Translate(
	DateTime messageReceivedUtc,
	ModeSMessage modeSMessage,
	AdsbMessage adsbMessage
)

Parameters

messageReceivedUtc
Type: SystemDateTime
The time that the message was originally received at UTC.
modeSMessage
Type: VirtualRadar.Interface.ModeSModeSMessage
A Mode-S message.
adsbMessage
Type: VirtualRadar.Interface.AdsbAdsbMessage
Either the ADS-B message carried by the Mode-S message or null.

Return Value

Type: BaseStationMessage
A BaseStation message translated from the Mode-S and ADS-B messages, or null if no translation is possible.
See Also