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