ConfigurationReceiverLocation Method |
Returns the receiver location.
Namespace: VirtualRadar.Interface.SettingsAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public ReceiverLocation ReceiverLocation(
int locationUniqueId
)
Public Function ReceiverLocation (
locationUniqueId As Integer
) As ReceiverLocation
public:
ReceiverLocation^ ReceiverLocation(
int locationUniqueId
)
member ReceiverLocation :
locationUniqueId : int -> ReceiverLocation
Parameters
- locationUniqueId
- Type: SystemInt32
Return Value
Type:
ReceiverLocationRemarks
Originally the program didn't need to know where the receiver was located, but after ADS-B decoding
was added it needed to know for local surface position decoding. Because all of this data is being
serialised we unfortunately can't have direct references to ReceiverLocation(Int32) objects
in the classes so when a receiver location needs to be recorded only its ID is stored. This looks
up the location for the ID passed across in a consistent fashion. It may return null if the receiver
location with that name no longer exists.
See Also