BncsFramework.SetDeviceCommsState Method (DeviceCommsStates, Boolean)

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > SetDeviceCommsState Method  >

BncsFramework.SetDeviceCommsState Method (DeviceCommsStates, Boolean)

Sets the communication state of a device and invokes an event when the state changes.

Namespace: BNCS.Core.DriverFramework
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public static void SetDeviceCommsState(
 Enums.DeviceCommsStates deviceCommsState,
 bool setBncsState
)

Parameters

deviceCommsState

Type: BNCS.Core.DriverFramework.Classes.Enums.DeviceCommsStates
The communication state of the device.

setBncsState

Type: Boolean
A boolean value indicating whether to set the BNCS driver state to match.

 

See Also


BncsFramework Class

SetDeviceCommsState Overload

BNCS.Core.DriverFramework Namespace