# stPolicy

## `stPolicy` (STRUCT)

TYPE stPolicy : STRUCT

Policy structure for alarm behavior configuration

InOut:

| Name                                    | Type      | Initial    | Comment                                                                                   |
| --------------------------------------- | --------- | ---------- | ----------------------------------------------------------------------------------------- |
| `uiPolicyID`                            | `UINT`    |            | Internal Policy ID                                                                        |
| `wsPolicyName`                          | `WSTRING` |            | Policy name                                                                               |
| `tMinActiveTime`                        | `TIME`    | TIME#2s0ms | <p>Alarm needs to be active for time x until the alarm will be<br>sent/logged</p>         |
| `iMaxTries`                             | `INT`     |            | Max retries when the alarm cannot be sent/logged                                          |
| `xEnableBackStateNormalNotification`    | `BOOL`    | TRUE       | Notification ToDo:                                                                        |
| `xEnableBackStateWaitACKNotification`   | `BOOL`    | FALSE      | <p>Notification on alarm change state from active to Wait For<br>ACK (TRUE = Enabled)</p> |
| `xEnableBackStateActiveACKNotification` | `BOOL`    | FALSE      |                                                                                           |
| `wsStaticSubjectPrefix`                 | `WSTRING` |            |                                                                                           |
