BncsFramework.AddNmosDevice Method

<< Click to Display Table of Contents >>

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

BncsFramework.AddNmosDevice Method

Adds a new NMOS device to the system.

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

 

Syntax


public static Guid AddNmosDevice(
 string deviceId,
 string deviceType,
 string deviceDescription,
 string id,
 string altId,
 string parentId,
 bool deviceComposite,
 int deviceNumber,
 int deviceOffset,
 string manufacturerTag,
 string productTag,
 string applicationTag,
 string instanceTag,
 bool sendToRegistry
)

Parameters

deviceId

Type: String
The unique identifier for the device.

deviceType

Type: String
The type of the device.

deviceDescription

Type: String
The description of the device.

id

Type: String
Optional parameter for the device ID.

altId

Type: String
Optional parameter for an alternative ID.

parentId

Type: String
Optional parameter for the parent ID of the device.

deviceComposite

Type: Boolean
Optional parameter indicating if the device is composite.

deviceNumber

Type: Int32
Optional parameter for the device number.

deviceOffset

Type: Int32
Optional parameter for the device offset.

manufacturerTag

Type: String
Optional parameter for the manufacturer tag.

productTag

Type: String
Optional parameter for the product tag.

applicationTag

Type: String
Optional parameter for the application tag.

instanceTag

Type: String
Optional parameter for the instance tag.

sendToRegistry

Type: Boolean
Optional parameter that determines whether the device should be sent to the NMOS registry or just generates a persistent ID. Default is false

Return Value

The unique identifier of the added NMOS device.

 

See Also


BncsFramework Class

BNCS.Core.DriverFramework Namespace