StateTransitionTableNextState Method |
Get the State from the first active StateTransition with an active Logical Condition
Namespace:
DHI.Mike1D.ControlModule
Assembly:
DHI.Mike1D.ControlModule (in DHI.Mike1D.ControlModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public int NextState(
DateTime timeN,
DateTime timeNp1
)
Public Function NextState (
timeN As DateTime,
timeNp1 As DateTime
) As Integer
public:
int NextState(
DateTime timeN,
DateTime timeNp1
)
Parameters
- timeN
- Type: SystemDateTime
[Missing <param name="timeN"/> documentation for "M:DHI.Mike1D.ControlModule.StateTransitionTable.NextState(System.DateTime,System.DateTime)"]
- timeNp1
- Type: SystemDateTime
[Missing <param name="timeNp1"/> documentation for "M:DHI.Mike1D.ControlModule.StateTransitionTable.NextState(System.DateTime,System.DateTime)"]
Return Value
Type:
Int32Index of next state, or -1 if no transition has been found.
See Also