|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Logic.Engine Namespace > LogicEngine Class > LogicEngine Methods > SetModelInputPortValue Method > LogicEngine.SetModelInputPortValue Method (Guid, Guid, Int32) |
Sets the value of a specified input port for a given model instance.
Namespace: BNCS.Logic.Engine
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static bool SetModelInputPortValue(
Guid modelId,
Guid inputId,
int value
)
modelId
Type: Guid
The unique identifier of the model instance.
inputId
Type: Guid
The unique identifier of the input port within the model instance.
value
Type: Int32
The integer value to set for the specified input port.
Returns true if the input port value is successfully set.
Condition |
|
|---|---|
[KeyNotFoundException] |
Thrown when the specified model or input port is not found. |
SetModelInputPortValue Overload