1.9 KiB
Executable File
c# UFOM HLA Plugin
This is a small documentation of the UFOM HLA TAB Plugin. This document will cover most of the behaviours of the different Telegrams that are supported.
Change Position
This plugin publishes all changes in position from every Participant that is not external. A "MountActionRequest" will be sent out if an external participant mounts an internal participant ( vehicle ).
-
External Participant Mounts Internal Participant -> MountActionRequest will be sent.
-
External Participant Unmounts from internal participant -> UnmountActionRequest will be sent.
-
Mounted external participant mounts any internal participant -> MountActionRequest will be sent.
Note: No UnmountActionRequest will be sent in this case
-
Mounted external participant mounts any external participant -> Nothing will be sent.
JSON Telegrams
UFOMHLA_ADD_PARTICIPANT
ID: 8100
UFOMHLA_REMOVE_PARTICIPANT
ID: 8101
UFOMHLA_POSITION_CHANGED
ID: 8102
Example:
{
"typeId": 8102,
"type": "UFomHlaPositionChanged",
"data":{
"header": {
"equipmentNumber": 1234,
"timeStamp": 12341234
},
"lon": 1.2341234,
"lat": 1.2341234,
"z": 0
}
}
UFOMHLA_VULNERABILITY_STATE_CHANGED
ID: 8103
UFOMHLA_LASER_DESIGNATION
ID: 8104
UFOMHLA_SEND_CHARGE_TYPES
ID: 8105
UFOMHLA_PARTICIPANT_MOUNT
ID: 8106 mountedOn : Equipment number of the participant to be mounted
Example:
{
"typeId": 8101,
"type": "UFomHlaParticipantMount",
"data":{
"header": {
"equipmentNumber": 1234,
"timeStamp": 12341234
},
"mountedOn": 123,
}
}
UFOMHLA_PARTICIPANT_UNMOUNT
ID: 8107
Example:
{
"typeId": 8101,
"type": "UFomHlaParticipantUnmount",
"data":{
"header": {
"equipmentNumber": 1234,
"timeStamp": 12341234
}
}
}