FlowsheetSolver2CalculateObjectAsync Method

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

Definition

Namespace: DWSIM.FlowsheetSolver
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 10.0.0.0
public void CalculateObjectAsync(
	Object fobj,
	CalculationArgs objArgs,
	CancellationToken ct
)

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