Sage Modeling and Simulation Library

StateMachine..::..GenericStates Enumeration

Generic states are states that all state machines should support, and in declaring their states, set equality from appropriate states to these states. This will support interoperability of many libraries into state machines declared differently for different solutions, but with some of the same states defined in their lifecycles.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


public enum GenericStates

Members


Member nameDescription
Idle The model is idle. It has been built, perhaps not completely, but has not gone through any validation.
Validated The model is structurally valid.
Initialized The model has been properly initialized, and is ready to be run.
Running The model is currently running.
Finished The model has completed running. The executive will read the last event time, or DateTime.MaxValue. Post-run data may be available, and a call to Reset() is probably necessary to run it again.