FormFlowsheetRegisterSnapshot Method

Captures the current flowsheet state as a snapshot of the given scope and pushes it onto the undo stack, then clears the redo stack.

Definition

Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
public void RegisterSnapshot(
	SnapshotType stype,
	ISimulationObject obj = null
)

Parameters

stype  SnapshotType
The scope of the snapshot.
obj  ISimulationObject  (Optional)
When stype is ObjectData, the specific simulation object whose data is captured.

Implements

IFlowsheetRegisterSnapshot(SnapshotType, ISimulationObject)

See Also