# Class State (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    State(value)

The status of the current value when compared to the warning and
alarm levels for the receiving or transmitting transceiver. Possible
states include:

::

    - OK: The value has not crossed a warning threshold.
    - LOW_WARNING: The value has crossed below the low
    warning threshold.

- HIGH_WARNING: The value has crossed above the high warning threshold.
  - LOW_ALARM: The value has crossed below the low alarm threshold.
  - HIGH_ALARM: The value has crossed above the high alarm threshold.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `UNDEFINED_STATE` | A value indicating that the enum field is not set. |
| `HIGH_ALARM` | The value has crossed above the high alarm threshold. |
| `HIGH_WARNING` | The value of the current optical power has crossed above the high warning threshold. |
| `LOW_ALARM` | The value of the current optical power has crossed below the low alarm threshold. |
| `LOW_WARNING` | The value of the current optical power has crossed below the low warning threshold. |
| `OK` | The value of the current optical power has not crossed a warning threshold. |