ChannelState

constructor(id: String, pollPeriod: Int, energy: Long = 0, maxVoltage: Int? = null, minVoltage: Int? = null, cumulativeVoltage: Long = 0, maxCurrent: Int? = null, minCurrent: Int? = null, cumulativeCurrent: Long = 0, maxPower: Int? = null, minPower: Int? = null, cumulativePower: Long = 0, errorCount: Long = 0, readCount: Long = 0, latestEvent: MeterReading? = null)