Class GroupedObservation.GroupedObservationObsValue
Represents an observed value within a grouped observation, pairing a value with an optional timestamp and status type.
public class GroupedObservation.GroupedObservationObsValue
- Inheritance
-
GroupedObservation.GroupedObservationObsValue
- Inherited Members
- Extension Methods
Constructors
GroupedObservationObsValue(object, DateTime?, Type)
Represents an observed value within a grouped observation, pairing a value with an optional timestamp and status type.
public GroupedObservationObsValue(object value, DateTime? time, StatusEnum.Type type = Type.Ok)
Parameters
valueobjecttimeDateTime?typeStatusEnum.Type
Properties
Time
public DateTime? Time { get; set; }
Property Value
Type
public StatusEnum.Type Type { get; set; }
Property Value
Value
public object Value { get; set; }
Property Value
Methods
ToString()
Returns a formatted string representation of the object, including its value, time, and type/status fields.
public override string ToString()
Returns
- string
A string containing the value, time, and type of the object.