Use StateDatapointWrite for time series with type state, and DatapointWrite otherwise.
StateDatapointWrite
state
DatapointWrite
Use
StateDatapointWritefor time series with typestate, andDatapointWriteotherwise.