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
PDU Model.
Definition: Ade.idl:12
Waveform data, including metadata.
Definition: Waveform.idl:12
vector< double > voltage
Voltage waveform samples, each (1/sampleRate) seconds apart.
Definition: Waveform.idl:13
vector< double > current
Current waveform samples, each (1/sampleRate) seconds apart.
Definition: Waveform.idl:14
int sampleRate
Number of samples per second.
Definition: Waveform.idl:15