|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > BncsFramework.AddManagedDeviceAdhocParameterBoolean Method |
Adds a managed device adhoc parameter of type boolean.
Namespace: BNCS.Core.DriverFramework
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static IBNCSInstanceParameter AddManagedDeviceAdhocParameterBoolean(
string instanceId,
string parameterName,
string parameterDescription,
uint slot,
Nullable<Guid> parameterGuid,
bool readOnly,
bool autoRegister
)
instanceId
Type: String
The instance ID.
parameterName
Type: String
The parameter name.
parameterDescription
Type: String
The parameter description.
slot
Type: UInt32
The slot number (default is 0).
parameterGuid
Type: Nullable<Guid>
The parameter GUID (default is null).
readOnly
Type: Boolean
Whether the parameter is read-only (default is false).
autoRegister
Type: Boolean
Automatically register the paramater callback (Default is true)
The IBNCSInstanceParameter object representing the added parameter.
BNCS.Core.DriverFramework Namespace