ControlStateMachineCreateState Method |
Create a new state, add it to the state machine and
return it.
Namespace:
DHI.Mike1D.ControlModule
Assembly:
DHI.Mike1D.ControlModule (in DHI.Mike1D.ControlModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public State CreateState(
IAction action
)
Public Function CreateState (
action As IAction
) As State
public:
State^ CreateState(
IAction^ action
)
Parameters
- action
- Type: DHI.Mike1D.ControlModuleIAction
Action to set to the state
Return Value
Type:
StateReturns the newly created state
See Also