Click or drag to resize

ExtensionsSetEquipmentAutoControl Method

Customize MACE to meet your Live-Virtual-Constructive Simulation and Training Requirements.

[This is preliminary documentation and is subject to change.]

Will enable/disable an entities set of equipment's AutoControl state as specified by the capabilities enum. If an equipment's AutoControl state is true, the equipment will typically be updated by the MACE AI (via commands), if false, the equipment should not be updated by the MACE AI. Setting the AutoControl state to false will turn off any active equipment (set all enable flags to false).

Namespace:  BSI.MACE
Assembly:  BSILib (in BSILib.dll) Version: 1.2.1.22047 (1.0.0.0)
Syntax
public static bool SetEquipmentAutoControl(
	this IPhysicalEntity thisEntity,
	bool autoControl = true,
	CapabilityEnum capability = CapabilityEnum.All
)

Parameters

thisEntity
Type: BSI.MACEIPhysicalEntity
The entity whose equipment will be updated.
autoControl (Optional)
Type: SystemBoolean
State to set the AutoControl property, True will allow MACE AI to manage equipment operation, False will instruct the MACE AI to not manage the equipment operation.
capability (Optional)
Type: BSI.MACECapabilityEnum
Specifying the capability enum will limit the type of equipment being updated.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:BSI.MACE.Extensions.SetEquipmentAutoControl(BSI.MACE.IPhysicalEntity,System.Boolean,BSI.MACE.CapabilityEnum)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPhysicalEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks