Legrand / Raritan / Server Technology Xerus™ JSON-RPC API: Nameplate.idl Source File

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

Loading...
Searching...
No Matches
Nameplate.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2009 Raritan Inc. All rights reserved.
4 */
5
6#ifndef __PDUMODEL_NAMEPLATE_IDL__
7#define __PDUMODEL_NAMEPLATE_IDL__
8
9/**
10 * PDU Model
11 */
12module pdumodel {
13
14 /** Numerical usage ratings */
15 structure Rating {
16 int current; ///< Maximum current in Amperes rounded down to the nearest integer
17 float decimalCurrent; ///< Maximum current in Amperes with potential decimal places
18 int minVoltage; ///< Minimum voltage in Volts
19 int maxVoltage; ///< Maximum voltage in Volts
20 };
21
22 /** Component nameplate information */
23 structure Nameplate {
24 /** Component ratings */
25 structure Rating {
26 string voltage; ///< Voltage rating
27 string current; ///< Current rating
28 string frequency; ///< Frequency rating
29 string power; ///< Power rating
30 };
31
32 string manufacturer; ///< Component manufacturer
33 string brand; ///< Component brand
34 string model; ///< Component model
35 string partNumber; ///< Part number
36 string serialNumber; ///< Serial number
37 Rating rating; ///< Ratings
38 string imageFileURL; ///< URL to component image
39 };
40
41}
42
43#endif
pdumodel
PDU Model.
Definition Ade.idl:12
pdumodel::Nameplate::Rating
Component ratings.
Definition Nameplate.idl:25
pdumodel::Nameplate::Rating::voltage
string voltage
Voltage rating.
Definition Nameplate.idl:26
pdumodel::Nameplate::Rating::power
string power
Power rating.
Definition Nameplate.idl:29
pdumodel::Nameplate::Rating::frequency
string frequency
Frequency rating.
Definition Nameplate.idl:28
pdumodel::Nameplate::Rating::current
string current
Current rating.
Definition Nameplate.idl:27
pdumodel::Nameplate
Component nameplate information.
Definition Nameplate.idl:23
pdumodel::Nameplate::serialNumber
string serialNumber
Serial number.
Definition Nameplate.idl:36
pdumodel::Nameplate::partNumber
string partNumber
Part number.
Definition Nameplate.idl:35
pdumodel::Nameplate::brand
string brand
Component brand.
Definition Nameplate.idl:33
pdumodel::Nameplate::rating
Rating rating
Ratings.
Definition Nameplate.idl:37
pdumodel::Nameplate::model
string model
Component model.
Definition Nameplate.idl:34
pdumodel::Nameplate::manufacturer
string manufacturer
Component manufacturer.
Definition Nameplate.idl:32
pdumodel::Nameplate::imageFileURL
string imageFileURL
URL to component image.
Definition Nameplate.idl:38
pdumodel::Rating
Numerical usage ratings.
Definition Nameplate.idl:15
pdumodel::Rating::decimalCurrent
float decimalCurrent
Maximum current in Amperes with potential decimal places.
Definition Nameplate.idl:17
pdumodel::Rating::minVoltage
int minVoltage
Minimum voltage in Volts.
Definition Nameplate.idl:18
pdumodel::Rating::maxVoltage
int maxVoltage
Maximum voltage in Volts.
Definition Nameplate.idl:19
pdumodel::Rating::current
int current
Maximum current in Amperes rounded down to the nearest integer.
Definition Nameplate.idl:16