Interface LogicAction

All Known Implementing Classes:
ActivateBlowdownAction, AdvancedProcessLogicExample.SimpleAction, CloseValveAction, ConditionalAction, EnergizeESDValveAction, IntegratedSafetySystemWithLogicExample.CloseValveAction, IntegratedSafetySystemWithLogicExample.SetSeparatorModeAction, OpenValveAction, ParallelActionGroup, SetSeparatorModeAction, SetSplitterAction, SetValveOpeningAction, TripValveAction

public interface LogicAction
Represents an action that can be executed as part of process logic.

Actions encapsulate specific operations on process equipment such as:

  • Opening or closing valves
  • Starting or stopping pumps/compressors
  • Setting controller setpoints
  • Switching equipment modes
  • Raising alarms
Version:
1.0
Author:
ESOL
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes the action.
    Gets a human-readable description of the action.
    Gets the name of the target equipment.
    boolean
    Checks if the action has completed.
  • Method Details

    • execute

      void execute()
      Executes the action.

      This method performs the actual operation on the target equipment.

    • getDescription

      String getDescription()
      Gets a human-readable description of the action.
      Returns:
      action description
    • isComplete

      boolean isComplete()
      Checks if the action has completed.

      Some actions are instantaneous (return true immediately), while others may take time to complete (e.g., valve stroke).

      Returns:
      true if action is complete
    • getTargetName

      String getTargetName()
      Gets the name of the target equipment.
      Returns:
      equipment name