PlcDeviceConnectionStateChangedEventArgs Members

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcDeviceConnectionStateChangedEventArgs type exposes the following members.

PlcDeviceConnectionStateChangedEventArgs(PlcDeviceConnectionState, PlcDeviceConnectionState)

Initializes a new instance of the PlcDeviceConnectionStateChangedEventArgs class using the specified oldState and newState.

C#

public PlcDeviceConnectionStateChangedEventArgs(PlcDeviceConnectionState oldState, PlcDeviceConnectionState newState)


Parameters

oldState PlcDeviceConnectionState

The state before the change.

newState PlcDeviceConnectionState

The state after the change.

NewState

Gets the state after the change.

C#

public PlcDeviceConnectionState NewState { get; }


Property Value

PlcDeviceConnectionState

The PlcDeviceConnectionState after the change.

OldState

Gets the state before the change.

C#

public PlcDeviceConnectionState OldState { get; }


Property Value

PlcDeviceConnectionState

The PlcDeviceConnectionState before the change.