Class DataPointValue<T>
Provides a data point value with source and time
Inherited Members
Namespace: IAI.DT.DataModel
Assembly: IAI.DT.DataModel.dll
Syntax
public class DataPointValue<T> : DataPointValueMetadata
Type Parameters
| Name | Description |
|---|---|
| T | The type of the underlying data point which can exhibit multiple values, e.g. string, int, float, Address etc |
Constructors
DataPointValue(T, Sources, DateTime, DateTime?, string?)
Constructor
Declaration
public DataPointValue(T value, Sources dataSource, DateTime fetchDateTime, DateTime? valueDateTime = null, string? user = null)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The value of this data point value instance |
| Sources | dataSource | The source from which the data value was obtained |
| DateTime | fetchDateTime | The date and time at which the data value was fetched from the source |
| DateTime? | valueDateTime | The data and time at which the data value was created by the source (Where available) |
| string | user | The user that produced the given value |
Properties
Value
The value of the datapoint, using the type provided
Declaration
public T Value { get; set; }
Property Value
| Type | Description |
|---|---|
| T |