Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcDeviceConnectionStateChangedEventArgs type exposes the following members.
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.
Gets the state after the change.
C#
public PlcDeviceConnectionState NewState { get; }
Property Value
The PlcDeviceConnectionState after the change.
Gets the state before the change.
C#
public PlcDeviceConnectionState OldState { get; }
Property Value
The PlcDeviceConnectionState before the change.