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

Loading...
Searching...
No Matches
Waveform.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2012 Raritan Inc. All rights reserved.
4 */
5
6#ifndef __PDUMODEL_WAVEFORM_IDL__
7#define __PDUMODEL_WAVEFORM_IDL__
8
9/** PDU Model */
10module pdumodel {
11 /** Waveform data, including metadata */
12 structure Waveform {
13 vector<double> voltage; ///< Voltage waveform samples, each (1/sampleRate) seconds apart
14 vector<double> current; ///< Current waveform samples, each (1/sampleRate) seconds apart
15 int sampleRate; ///< Number of samples per second
16 };
17}
18
19#endif
pdumodel
PDU Model.
Definition Circuit.idl:16
pdumodel::Waveform
Waveform data, including metadata.
Definition Waveform.idl:12
pdumodel::Waveform::voltage
vector< double > voltage
Voltage waveform samples, each (1/sampleRate) seconds apart.
Definition Waveform.idl:13
pdumodel::Waveform::current
vector< double > current
Current waveform samples, each (1/sampleRate) seconds apart.
Definition Waveform.idl:14
pdumodel::Waveform::sampleRate
int sampleRate
Number of samples per second.
Definition Waveform.idl:15