Data - ParamSamplesDoc

The ParamSamplesDoc document is a data document that contains the properties and values for a collection of data samples for a single data channel.

The ParamSamplesDoc document is used to store raw sample values for user specified intervals. The document contains the field documentInterval that is used to specify the time range that the raw data samples values have sampled from.

Field Data Type Required Default Description
paramDefDocId String Yes - The unique identifier (id) of the ParamDefinitionDoc that holds the properties for the parameter associated with the data values stored in this document.
startTime Int64 Yes - A 64-bit Long timestamp specifying the start time of the data that this document holds. The timestamp represents the number of nanoseconds since the reference time of midnight, 1st January 1970.
endTime Int64 Yes - A 64-bit Long timestamp specifying the end time of the data that this document holds. The timestamp represents the number of nanoseconds since the reference time of midnight, 1st January 1970.
min Double Yes - A 64-bit Double value specifying the minimum value of the data that this document holds.
max Double Yes - A 64-bit Double value specifying the maximum value of the data that this document holds.
Field Data Type Required Default Description