Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcVariableValue<T> type exposes the following members.
Initializes a new instance of the OpcVariableValue´1 class using the value
specified.
C#
public OpcVariableValue(T value)
Parameters
value
T
The value of the variable value represented.
Initializes a new instance of the OpcVariableValue´1 class using the value
and timestamp
specified.
C#
public OpcVariableValue(T value, DateTime timestamp)
Parameters
value
T
The value of the variable value represented.
timestamp
DateTime
The time stamp of the variable value.
Initializes a new instance of the OpcVariableValue´1 class using the value
, timestamp
and status
specified.
C#
public OpcVariableValue(T value, DateTime timestamp, OpcStatus status)
Parameters
value
T
The value of the variable value represented.
timestamp
DateTime
The time stamp of the variable value.
status
OpcStatus
The status associated with the variable value.
Initializes a new instance of the OpcVariableValue´1 class using the value
, timestamp
and statusCode
specified.
C#
[CLSCompliant(false)] public OpcVariableValue(T value, DateTime timestamp, OpcStatusCode statusCode)
Parameters
value
T
The value of the variable value represented.
timestamp
DateTime
The time stamp of the variable value.
statusCode
OpcStatusCode
The OpcStatusCode form that the OpcStatus associated with the variable value is derived.
Returns a string that represents the current OpcVariableValue´1.
C#
public override string ToString()
Returns
A string that represents the current OpcVariableValue´1 including the Status, Timestamp (if available), Attribute and Value.