OpcVariableValue<T> Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcVariableValue<T> type exposes the following members.

OpcVariableValue(T)

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.

OpcVariableValue(T, DateTime)

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.

OpcVariableValue(T, DateTime, OpcStatus)

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.

OpcVariableValue(T, DateTime, OpcStatusCode)

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.

Status

Gets the status information associated with the variable value.

C#

public OpcStatus Status { get; }


Property Value

OpcStatus

An instance of the OpcStatus class containing the status information associated with the variable value.

Timestamp

Gets the time stamp of the variable value.

C#

public DateTime? Timestamp { get; }


Property Value

Nullable<DateTime>

The DateTime identifying the time stamp of the value or a null reference (Nothing in Visual Basic) in case there is no time stamp associated with the variable value.

ToString()

Returns a string that represents the current OpcVariableValue´1.

C#

public override string ToString()


Returns

String

A string that represents the current OpcVariableValue´1 including the Status, Timestamp (if available), Attribute and Value.