IRawMessageTranslatorTranslate Method |
Translates the Mode-S message, and the optional ADS-B message carried by it, into a BaseStation message.
Namespace: VirtualRadar.Interface.BaseStationAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax BaseStationMessage Translate(
DateTime messageReceivedUtc,
ModeSMessage modeSMessage,
AdsbMessage adsbMessage
)
Function Translate (
messageReceivedUtc As DateTime,
modeSMessage As ModeSMessage,
adsbMessage As AdsbMessage
) As BaseStationMessage
BaseStationMessage^ Translate(
DateTime messageReceivedUtc,
ModeSMessage^ modeSMessage,
AdsbMessage^ adsbMessage
)
abstract Translate :
messageReceivedUtc : DateTime *
modeSMessage : ModeSMessage *
adsbMessage : AdsbMessage -> BaseStationMessage
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:
BaseStationMessageA BaseStation message translated from the Mode-S and ADS-B messages, or null if no translation is possible.
See Also