RmsCurrent

data class RmsCurrent(val value: Int, val status: Measurement.Status, val accuracy: Measurement.Accuracy) : Measurement<Int>

RMS current measured non-invasively by a current clamp, in mA.

Constructors

Link copied to clipboard
constructor(value: Int, status: Measurement.Status, accuracy: Measurement.Accuracy)

Properties

Link copied to clipboard
open override val accuracy: Measurement.Accuracy

Accuracy.HIGH_ACCURACY when the current is within the clamp's rated range, Accuracy.LOW_ACCURACY when it exceeds it (the value is still reported but may be less accurate)

Link copied to clipboard
open override val isValid: Boolean

True if status of the measurement is Status.VALID

Link copied to clipboard
open override val status: Measurement.Status

of the measurement

Link copied to clipboard

Type of given measurement.

Link copied to clipboard
open override val value: Int

in mA

Functions

Link copied to clipboard
open override fun toString(): String