|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > BncsFramework.SetParameterValue Method |
Sets the value of a specified instance parameter and publishes a change notification.
Namespace: BNCS.Core.DriverFramework
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static bool SetParameterValue(
IBNCSInstanceParameter param,
Boolean preApproved,
Enums.BNCSChangeSources changeSource
)
param
Type: BNCS.Interfaces.IBNCSInstanceParameter
The instance parameter whose value is to be set.
preApproved
Type: Boolean
Indicates whether the change is pre-approved. Default is true.
changeSource
Type: BNCS.Core.DriverFramework.Models.Enums.BNCSChangeSources
The source of the change. Default is Device.
Returns true if the parameter value is successfully set and the change notification is published.
BNCS.Core.DriverFramework Namespace