Click or drag to resize

ActionWith2Setters Class

Control action with two setters. The second setter, ValueSetter2, is secondary in the sense that ValueSetter can depend on the values that are set by ValueSetter2. In other words ValueSetter2 is called first. The thinking is that ValueSetter is still the main control function.
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 class ActionWith2Setters : ActionSet

The ActionWith2Setters type exposes the following members.

Constructors
  NameDescription
Public methodActionWith2Setters
Create new action
Top
Properties
  NameDescription
Public propertyActivationTime
Time when action was activated
(Inherited from Action.)
Public propertyControl
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.
(Inherited from ActionSetBase.)
Public propertyId
Id of action
(Inherited from Action.)
Public propertyIsActive
Boolean indicating if action is active
(Inherited from Action.)
Public propertyUnit (Inherited from ActionSetBase.)
Public propertyValueExpression
Expression value used when action is implemented
(Inherited from ActionSet.)
Public propertyValueExpression2
Expression value used when action is implemented
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
(Inherited from ActionSetBase.)
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.
(Overrides ActionSetImplement(DateTime, DateTime, Int32).)
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
(Inherited from ActionSetBase.)
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 (Overrides ActionSetValidate.)
Public methodWriteState (Inherited from Action.)
Top
Fields
  NameDescription
Protected field_activationTime (Inherited from Action.)
Protected field_control (Inherited from ActionSetBase.)
Protected field_currentControlValueGetter (Inherited from ActionSetBase.)
Protected field_id (Inherited from Action.)
Protected field_isActive (Inherited from Action.)
Protected field_toSIFactor (Inherited from ActionSetBase.)
Protected field_toSIOffset (Inherited from ActionSetBase.)
Protected field_unit (Inherited from ActionSetBase.)
Protected field_valueExpression (Inherited from ActionSet.)
Protected field_valueExpression2
Protected field_valueSetter2
Top
See Also