Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
PowerBus.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2025 Raritan Inc. All rights reserved.
4 */
5
6#ifndef __PDUMODEL_POWER_BUS_IDL__
7#define __PDUMODEL_POWER_BUS_IDL__
8
9#include <EDevice.idl>
10#include <NumericSensor.idl>
11#include <Pole.idl>
12
13/**
14 * PDU Model
15 */
16module pdumodel {
17
18 /** Power bus interface */
19 interface PowerBus extends EDevice {
20 /** Bus sensors */
21 structure Sensors {
22 sensors.NumericSensor current; ///< Current sensor
23 sensors.NumericSensor voltage; ///< Voltage sensor
24 sensors.NumericSensor activePower; ///< Active power sensor
25 sensors.NumericSensor activeEnergy; ///< Active energy sensor
26 sensors.NumericSensor temperature; ///< Bus bar temperature sensor
27 };
28
29 /**
30 * Retrieve the bus sensors.
31 *
32 * @return Bus sensors
33 */
35
36 /**
37 * Get the list of poles.
38 *
39 * @return List of poles
40 */
41 vector<Pole> getPoles();
42 };
43
44}
45
46#endif
Common base interface for any kind of electrical device that is used in the PDU model,...
Definition EDevice.idl:27
Power bus interface.
Definition PowerBus.idl:19
Sensors getSensors()
Retrieve the bus sensors.
vector< Pole > getPoles()
Get the list of poles.
A sensor with numeric readings.
PDU Model.
Definition Circuit.idl:16
sensors::NumericSensor current
Current sensor.
Definition PowerBus.idl:22
sensors::NumericSensor activePower
Active power sensor.
Definition PowerBus.idl:24
sensors::NumericSensor voltage
Voltage sensor.
Definition PowerBus.idl:23
sensors::NumericSensor temperature
Bus bar temperature sensor.
Definition PowerBus.idl:26
sensors::NumericSensor activeEnergy
Active energy sensor.
Definition PowerBus.idl:25