Session Live Data
data class SessionLiveData(val id: Int, val name: String, val author: String, val description: String, val startTime: String, val stopTime: String?, val validationTime: String?, val counters: SessionCounters, val measurements: List<MeasurementSummary>, val resourceSources: List<ResourceDataSource>, val variables: Variables, val timeSync: List<TimeSync>, val activeSources: List<ActiveSource>, val version: String, val resourceFilters: List<String>, val meterStates: List<MeterState>, val meterSpecs: List<PowerMeter>, val activeMeasurement: ActiveMeasurement?, val writingLogs: Boolean?, val logPath: String? = null, val flags: List<SessionFlag>, val nodes: List<NodeEntry>, val planId: String?)
Live session data contains the rapidly changing session data that can be serialized as JSON messages for communicating with different frontends via an external API.
Constructors
Link copied to clipboard
constructor(id: Int, name: String, author: String, description: String, startTime: String, stopTime: String?, validationTime: String?, counters: SessionCounters, measurements: List<MeasurementSummary>, resourceSources: List<ResourceDataSource>, variables: Variables, timeSync: List<TimeSync>, activeSources: List<ActiveSource>, version: String, resourceFilters: List<String>, meterStates: List<MeterState>, meterSpecs: List<PowerMeter>, activeMeasurement: ActiveMeasurement?, writingLogs: Boolean?, logPath: String? = null, flags: List<SessionFlag>, nodes: List<NodeEntry>, planId: String?)
Properties
Link copied to clipboard
Active measurement if any
Link copied to clipboard
Active meter/channels
Link copied to clipboard
Various session related counters
Link copied to clipboard
Description of the session; mutable property; can be changed with commands
Link copied to clipboard
State flags
Link copied to clipboard
Past measurements
Link copied to clipboard
States of the meters
Link copied to clipboard
States of the meters
Link copied to clipboard
Field filters for resource consumption data
Link copied to clipboard
Resource consumption of different units
Link copied to clipboard
The time of validation, if any
Link copied to clipboard
Tells whether the writer instance is active