IControllable Interface

If an entity implements the IControllable interface it can be controlled by the ControlModule.

Definition

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

Methods

GetActionInfos List of control action infos, i.e. available control action Id's, their type and unit.
GetControlAction Get control action for the specified id. It always returns one of the ActionControl delegates. It will return null if controlActionId is not valid.
GetCurrentValue Get the current value of the control for the specified id.
ResetControlledState Reset internal state (if any) used by controlling class. Called after a controlling class has performed a control sequence, and simulation is restarted.
SetControlStrategyId Set control strategy id manually

Extension Methods

GetControlActionInfo Get control action info for the specified id. It will return null if controlActionId is not valid.
(Defined by StructureExtensions)

See Also