Interface StateDatapointWrite

A data point to insert into a time series with type state. Set numericValue, stringValue, or both (they must refer to the same state in the state set). Both may be omitted only if the data point has Bad status.

interface StateDatapointWrite {
    numericValue?: number;
    status?: DatapointStatusWrite;
    stringValue?: string;
    timestamp: Timestamp;
    value?: undefined;
}

Properties

numericValue?: number
stringValue?: string
timestamp: Timestamp
value?: undefined

Not used for state time series, set numericValue and/or stringValue instead.