AlarmIndicatorSetEquipHierarchy
- Last UpdatedJul 13, 2023
- 1 minute read
Set the location in the equipment hierarchy that will be used to determine the highest priority alarm for the alarm indicator.
Syntax
AlarmIndicatorSetEquipHierarchy(EquipmentHierarchy)
EquipmentHierarchy:
Locations you can set include:
0 = Equipment and Children
1= Equipment Only
2= Children Only.
Return Value
Note: For details on handling return and error values, see Error Handling.
Related Functions
AlarmIndicatorGetBorderIsInside, AlarmIndicatorGetBorderPadding, AlarmIndicatorGetBorderWidth, AlarmIndicatorGetEnabled, AlarmIndicatorGetEquipHierarchy, AlarmIndicatorGetExpr, AlarmIndicatorGetFlagEnabled, AlarmIndicatorGetFlagLocation, AlarmIndicatorGetFrameColor, AlarmIndicatorGetInclude, AlarmIndicatorSetBorderIsInside, AlarmIndicatorSetBorderPadding, AlarmIndicatorSetBorderWidth, AlarmIndicatorSetEnabled, AlarmIndicatorSetExpr, AlarmIndicatorSetFlagEnabled, AlarmIndicatorSetFlagLocation, AlarmIndicatorSetFrameColor, AlarmIndicatorSetInclude
Example
gb2.AlarmIndicatorSetEnabled = true;
gb2.AlarmIndicatorSetExpr = "C1.Motor1";
gb2.AlarmIndicatorSetEquipHierarchy = 0;
gb2.AlarmIndicatorSetBorderIsInside = false;
gb2.AlarmIndicatorSetBorderWidth = 2;
gb2.AlarmIndicatorSetFrameColour = 0x80AAD5;
gb2.AlarmIndicatorSetBorderPadding = 5;
gb2.AlarmIndicatorSetInclude = true;
gb2.AlarmIndicatorSetFlagEnabled = false;
gb2.AlarmIndicatorSetFlagLocation = 0;