Action Class

Base implementation of an IAction, containing the Id and strategyId for the 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 abstract class Action : IAction, 
	IModelStateReadWrite
Inheritance
Object    Action
Derived
Implements
IAction, IModelStateReadWrite

Properties

ActivationTime Time when action was activated
ControllableUpdate 
Id Id of action
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.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Implement Implement action, update value of controlled item.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ReadState Read state and apply to module. Returns true if state was successfully read.
Reset Reset the internal state of the action.
SetActive Set this action as the active one
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate Validate
WriteState Write current state of module

Fields

See Also