| CommandAssign Method |
Customize MACE to meet your Live-Virtual-Constructive Simulation and Training Requirements. [This is preliminary documentation and is subject to change.]
Assigns command to the specified entity (and sends it via command link if applicable).
Namespace:
BSI.MACE.AI.Commands
Assembly:
BSILib (in BSILib.dll) Version: 1.2.1.22047 (1.0.0.0)
Syntax public bool Assign(
IPhysicalEntity assignedEntity,
IPhysicalEntity commandingEntity = null
)
Public Function Assign (
assignedEntity As IPhysicalEntity,
Optional commandingEntity As IPhysicalEntity = Nothing
) As Boolean
Parameters
- assignedEntity
- Type: BSI.MACEIPhysicalEntity
The entity to assign (and send) this command to. - commandingEntity (Optional)
- Type: BSI.MACEIPhysicalEntity
Optional if adding this command to the ownship (i.e. assignedEntity = commandingEntity) otherwise this is the ownship issuing this command.
Return Value
Type:
BooleanTrue if successfully sent.
Implements
ICommandAssign(IPhysicalEntity, IPhysicalEntity)Remarks This call may send itself to the assigned entity with the Pending state set. For additional initialization override Initialize().
See Also