Click or drag to resize

DataValue Structure

A weekly-typed timestamped data value.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Demo3D.PLC.CommsDataValue

Namespace: Demo3D.PLC.Comms
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public readonly struct DataValue : IEquatable<DataValue>

The DataValue type exposes the following members.

Constructors
 NameDescription
Public methodDataValue(DataValue) Constructs a TimestampedValue.
Public methodDataValue(DeltaValue) Constructs a TimestampedValue.
Public methodDataValue(ValueStruct) Constructs a TimestampedValue.
Public methodDataValue(ValueStruct, CommonTime) Constructs a TimestampedValue.
Top
Properties
 NameDescription
Public propertyTypeCode Type code.
Top
Methods
 NameDescription
Public methodStatic memberCreateT(T) Constructs a TimestampedValue.
Public methodStatic memberCreateT(T, CommonTime) Constructs a TimestampedValue.
Public methodEquals(DataValue) Determines whether the specified value equals the current value (ignoring time).
Public methodEquals(Object) Determines whether the specified value equals the current value (ignoring time).
(Overrides ValueTypeEquals(Object))
Public methodGetHashCode Returns a hash code for the current value (excluding time).
(Overrides ValueTypeGetHashCode)
Public methodGetTime Returns the time of the event that produced the value.
Public methodGetValue Returns the actual .Net value.
Public methodGetValueStruct Returns the actual .Net value.
Public methodSetTime Returns a new DeltaValue with the specified time set.
Public methodToString Value as a string.
(Overrides ValueTypeToString)
Public methodValueAsT Returns the actual .Net value.
Top
Remarks
The timestamp is considered meta-data and is ignored in equality, comparison and hashcode operators/functions.
See Also