Struct State

Struct Documentation

struct State

Struct containing values of all active sensors at a single point in time.

Public Members

std::array<double, MAX_PAIRS> consumedEnergy

Total energy consumption, per sensor.

std::array<double, MAX_PAIRS> current

Current, per sensor.

std::array<double, MAX_PAIRS> voltage

Voltage, per sensor.

std::chrono::time_point<std::chrono::high_resolution_clock> timeAtRead

Timestamp.