Flowsheet SolverCalculate Object Async(Object, String, Cancellation Token) Method
Calculates a single object in the Flowsheet.
Definition
Namespace: DWSIM.FlowsheetSolver
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 10.0.0.0
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 10.0.0.0
C#
public static void CalculateObjectAsync(
Object fobj,
string ObjID,
CancellationToken ct
)VB
Public Shared Sub CalculateObjectAsync (
fobj As Object,
ObjID As String,
ct As CancellationToken
)Parameters
- fobj Object
- Flowsheet where the object belongs to.
- ObjID String
- Unique Id of the object ("Name" or "GraphicObject.Name" properties). This is not the object's Flowsheet display name ("Tag" property or its GraphicObject object).
- ct CancellationToken
- The cancellation token, used to listen for calculation cancellation requests from the user.