Loading...
Searching...
No Matches
PowerQualitySensor.idl
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2013 Raritan Inc. All rights reserved.
*/
#ifndef __PDUMODEL_POWER_QUALITY_SENSOR_IDL__
#define __PDUMODEL_POWER_QUALITY_SENSOR_IDL__
#include <StateSensor.idl>
/**
* PDU Model
*/
module pdumodel {
/** Power quality sensor interface */
interface PowerQualitySensor extends sensors.StateSensor {
constant int STATE_NORMAL = 0; ///< Power quality is normal
constant int STATE_WARNING = 1; ///< Power quality is warning
constant int STATE_CRITICAL = 2; ///< Power quality is critical
};
}
#endif
pdumodel::PowerQualitySensor
Power quality sensor interface.
Definition PowerQualitySensor.idl:17
pdumodel::PowerQualitySensor::STATE_NORMAL
constant int STATE_NORMAL
Power quality is normal.
Definition PowerQualitySensor.idl:19
pdumodel::PowerQualitySensor::STATE_WARNING
constant int STATE_WARNING
Power quality is warning.
Definition PowerQualitySensor.idl:20
pdumodel::PowerQualitySensor::STATE_CRITICAL
constant int STATE_CRITICAL
Power quality is critical.
Definition PowerQualitySensor.idl:21
pdumodel
PDU Model.
Definition Circuit.idl:16
sensors
Sensors Model.
Definition AccumulatingNumericSensor.idl:13