|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Logic.Engine Namespace > InputPortInstance Class > InputPortInstance Methods > InputPortInstance.SetValue Method |
Sets the value of the port, handling both alarm and value ports.
Namespace: BNCS.Logic.Engine
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public void SetValue(
Object value
)
value
Type: Object
The new value to set for the port.
If the port type implements IAlarmState, it is treated as an alarm port. Otherwise, it is treated as a value port. The method logs the value change and updates the port's value.