Legrand / Raritan / Server Technology Xerus™ JSON-RPC API

Loading...
Searching...
No Matches
PowerQualitySensor.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2013 Raritan Inc. All rights reserved.
4 */
5
6#ifndef __PDUMODEL_POWER_QUALITY_SENSOR_IDL__
7#define __PDUMODEL_POWER_QUALITY_SENSOR_IDL__
8
9#include <StateSensor.idl>
10
11/**
12 * PDU Model
13 */
14module pdumodel {
15
16 /** Power quality sensor interface */
17 interface PowerQualitySensor extends sensors.StateSensor {
18
19 constant int STATE_NORMAL = 0; ///< Power quality is normal
20 constant int STATE_WARNING = 1; ///< Power quality is warning
21 constant int STATE_CRITICAL = 2; ///< Power quality is critical
22
23 };
24
25}
26
27#endif
pdumodel::PowerQualitySensor
Power quality sensor interface.
Definition PowerQualitySensor.idl:17
pdumodel
PDU Model.
Definition Circuit.idl:16
sensors
Sensors Model.
Definition AccumulatingNumericSensor.idl:13