IAction Interface

Base interface for an action.

Definition

Namespace: DHI.Mike1D.ControlModule
Assembly: DHI.Mike1D.ControlModule (in DHI.Mike1D.ControlModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public interface IAction

Properties

ActivationTime Time when action was activated
ControllableUpdate Delegate to call when the action-implement is issued. Can be null. Call with timeN and timeNp1 arguments.
Id Unique id
IsActive Boolean indicating if action is active

Methods

Activate Called when action is first activated. The state of the action should be initialized here.
Deactivate Called when this action is deactivated and another action is activated.
Implement Implement action, update value of controlled item.
Reset Reset the internal state of the action.
Validate Validate

See Also