Flowsheet Solver 2Calculate Material Stream Async Method
Calculates a material stream object 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 CalculateMaterialStreamAsync(
Object fobj,
ISimulationObject ms,
CancellationToken ct
)VB
Public Sub CalculateMaterialStreamAsync (
fobj As Object,
ms As ISimulationObject,
ct As CancellationToken
)Parameters
- 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.