Height Of Power Socket
AltitudeSafetyRule
Appropriate Height of Electrical Item.
Notification level: ℹ
Key | Value |
---|---|
ID | AltitudeSafetyRule |
Translation key | altitude_safety_rule_title altitude_safety_rule_error_message |
Behavior
This rule checks if an electrical item is at appropriate height to avoid any risk of electrocution because of floods or water leaks. The recommended minimum height is 90 cm and maximum height is 130 cm from the floor .
Trigger Conditions
It is triggered if the altitude of an electrical item is not between the minimum and the maximum recommended height. The application recommends to move the item at recommended height.
Overloads Parameter
Key name | Type | Default value | Description |
---|---|---|---|
minAltitude | number | 900 | This parameter defines the minimum recommended altitude of electrical item from the floor. Mandatory. |
maxAltitude | number | 1300 | This parameter defines the maximum recommended altitude of electrical item from the floor. Mandatory. |
groupProducts | object | - | This parameter defines the list of electrical items. Mandatory. |
Also in the overloads, the value in the object groupProducts has the following attributes:
Key name | Type | Default value | Description |
---|---|---|---|
typeIDs | array | [] | This parameter defines the list of closed tags. Optional. |
includedProducts | array | [] | This parameter defines the list of individual product ids of the items that need to be included if its closed tag is not present in typeIDs. Optional. |
excludedProducts | array | [] | This parameter defines the list of individual product ids of the items that need to be excluded even if its closed tag is present in typeIDs. Optional. |
Sample
{
"minAltitude": 900,
"maxAltitude": 1300,
"groupProducts": {
"typeIDs": [116, 118],
"includedProducts": [],
"excludedProducts": []
}
}
Illustration
The elecrical switch is not at recommended height. The business rule is triggered and recommends the user to modify the position of the switch.
Once the user has moved the switch at recommended height.
After clicking Refresh the check on the Help center, the design is now error free.