Click or drag to resize

ActionSetBase Class

Base class for actions using the ActionControl method for implementing an action.

It contains methods for getting values of the controlled item and updating the controlled item.

Inheritance Hierarchy

Namespace:  DHI.Mike1D.ControlModule
Assembly:  DHI.Mike1D.ControlModule (in DHI.Mike1D.ControlModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public abstract class ActionSetBase : Action

The ActionSetBase type exposes the following members.

Constructors
  NameDescription
Protected methodActionSetBase
Initializes a new instance of the ActionSetBase class
Top
Properties
  NameDescription
Public propertyActivationTime
Time when action was activated
(Inherited from Action.)
Public propertyControl
Function called when the action is implemented.
Public propertyControllableUpdate (Inherited from Action.)
Public propertyCurrentControlValueGetter
CurrentControlValueGetter is a getter to access the current value of the controlled structure. For ActionPID and ActionChange, the new control value is calculated as a adjustment of the value of the controlled structure.
Public propertyId
Id of action
(Inherited from Action.)
Public propertyIsActive
Boolean indicating if action is active
(Inherited from Action.)
Public propertyUnit
Top
Methods
  NameDescription
Public methodActivate
Called when action is first activated. The state of the action should be initialized here.
(Inherited from Action.)
Protected methodConvert
Convert value from Unit to SI (engine) units
Public methodDeactivate
Called when this action is deactivated and another action is activated.
(Inherited from Action.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImplement
Implement action, update value of controlled item.
(Inherited from Action.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadState (Inherited from Action.)
Public methodReset
Reset the internal state of the action.
(Inherited from Action.)
Protected methodRevert
Convert value from SI (engine) units to Unit
Protected methodSetActive
Set this action as the active one
(Inherited from Action.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validate
(Inherited from Action.)
Public methodWriteState (Inherited from Action.)
Top
Fields
  NameDescription
Protected field_activationTime (Inherited from Action.)
Protected field_control
Protected field_currentControlValueGetter
Protected field_id (Inherited from Action.)
Protected field_isActive (Inherited from Action.)
Protected field_toSIFactor
Protected field_toSIOffset
Protected field_unit
Top
See Also