FlowsheetSolverCalculateMaterialStreamAsync Method |
Calculates a material stream object asynchronously. This function is always called from a task or a different thread other than UI's.
Namespace: DWSIM.FlowsheetSolverAssembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 8.8.1.0
Syntax public static void CalculateMaterialStreamAsync(
Object fobj,
ISimulationObject ms,
CancellationToken ct
)
Public Shared Sub CalculateMaterialStreamAsync (
fobj As Object,
ms As ISimulationObject,
ct As CancellationToken
)
Request Example
View SourceParameters
- fobj Object
- Flowsheet to what the stream belongs to.
- ms ISimulationObject
- Material Stream object to be calculated.
- ct CancellationToken
- The cancellation token, used to listen for calculation cancellation requests from the user.
See Also