Loading...
Searching...
No Matches
Nameplate.idl
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2009 Raritan Inc. All rights reserved.
*/
#ifndef __PDUMODEL_NAMEPLATE_IDL__
#define __PDUMODEL_NAMEPLATE_IDL__
/**
* PDU Model
*/
module pdumodel {
/** Numerical usage ratings */
structure Rating {
int current; ///< Maximum current in Amperes rounded down to the nearest integer
float decimalCurrent; ///< Maximum current in Amperes with potential decimal places
int minVoltage; ///< Minimum voltage in Volts
int maxVoltage; ///< Maximum voltage in Volts
};
/** Component nameplate information */
structure Nameplate {
/** Component ratings */
structure Rating {
string voltage; ///< Voltage rating
string current; ///< Current rating
string frequency; ///< Frequency rating
string power; ///< Power rating
};
string manufacturer; ///< Component manufacturer
string brand; ///< Component brand
string model; ///< Component model
string partNumber; ///< Part number
string serialNumber; ///< Serial number
Rating rating; ///< Ratings
string imageFileURL; ///< URL to component image
};
}
#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