Flowsheet Solver 2Calculate Object Async 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
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 10.0.0.0
C#
public void CalculateObjectAsync(
Object fobj,
CalculationArgs objArgs,
CancellationToken ct
)VB
Public Sub CalculateObjectAsync (
fobj As Object,
objArgs As CalculationArgs,
ct As CancellationToken
)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.