Raritan PX2/PX3 JSON-RPC API

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 */
12 module pdumodel {
13
14 /** Numerical usage ratings */
15 structure Rating_2_0_0 {
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_2_0_0 {
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::Nameplate_2_0_0::partNumber
string partNumber
Part number.
Definition: Nameplate.idl:35
pdumodel::Rating_2_0_0::decimalCurrent
float decimalCurrent
Maximum current in Amperes with potential decimal places.
Definition: Nameplate.idl:17
pdumodel::Rating_2_0_0::current
int current
Maximum current in Amperes rounded down to the nearest integer.
Definition: Nameplate.idl:16
pdumodel::Nameplate_2_0_0::imageFileURL
string imageFileURL
URL to component image.
Definition: Nameplate.idl:38
pdumodel::Nameplate_2_0_0::rating
Rating rating
Ratings.
Definition: Nameplate.idl:37
pdumodel::Nameplate_2_0_0::brand
string brand
Component brand.
Definition: Nameplate.idl:33
pdumodel::Nameplate_2_0_0::model
string model
Component model.
Definition: Nameplate.idl:34
pdumodel::Nameplate_2_0_0::Rating
Component ratings.
Definition: Nameplate.idl:25
pdumodel::Nameplate_2_0_0
Component nameplate information.
Definition: Nameplate.idl:23
pdumodel::Nameplate_2_0_0::serialNumber
string serialNumber
Serial number.
Definition: Nameplate.idl:36
pdumodel::Nameplate_2_0_0::Rating::voltage
string voltage
Voltage rating.
Definition: Nameplate.idl:26
pdumodel::Nameplate_2_0_0::manufacturer
string manufacturer
Component manufacturer.
Definition: Nameplate.idl:32
pdumodel
PDU Model.
Definition: Ade.idl:12
pdumodel::Rating_2_0_0::minVoltage
int minVoltage
Minimum voltage in Volts.
Definition: Nameplate.idl:18
pdumodel::Rating_2_0_0::maxVoltage
int maxVoltage
Maximum voltage in Volts.
Definition: Nameplate.idl:19
pdumodel::Nameplate_2_0_0::Rating::power
string power
Power rating.
Definition: Nameplate.idl:29
pdumodel::Rating_2_0_0
Numerical usage ratings.
Definition: Nameplate.idl:15
pdumodel::Nameplate_2_0_0::Rating::current
string current
Current rating.
Definition: Nameplate.idl:27
pdumodel::Nameplate_2_0_0::Rating::frequency
string frequency
Frequency rating.
Definition: Nameplate.idl:28