Click or drag to resize

FlowsheetSolverCalculateObjectAsync(Object, CalculationArgs, CancellationToken) Method

Calculates the flowsheet objects asynchronously. This function is always called from a task or a different thread other than UI's.

Namespace: DWSIM.FlowsheetSolver
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 8.8.1.0
Syntax
public static void CalculateObjectAsync(
	Object fobj,
	CalculationArgs objArgs,
	CancellationToken ct
)
Request Example View Source

Parameters

fobj  Object
Flowsheet to calculate (FormChild object).
objArgs  CalculationArgs
A CalculationArgs object containing information about the object to be calculated and its current status.
ct  CancellationToken
The cancellation token, used to listen for calculation cancellation requests from the user.
See Also