Class SWRValueProcessor

java.lang.Object
org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
org.scictrl.csshell.epics.server.processor.SWRValueProcessor
All Implemented Interfaces:
PropertyChangeListener, EventListener, org.scictrl.csshell.epics.server.ValueProcessor

public class SWRValueProcessor extends org.scictrl.csshell.epics.server.processor.MemoryValueProcessor implements PropertyChangeListener

SWRValueProcessor calculates SWR ratio between forward and reflected power.

Configured by following parameters:

  • fwdPV - PV for record with forward power
  • refPV - PV for record with reflected power
  • minValue - minimal value, when power is below this value, then 0 is returned. Default value 0.01
Author:
igor@scictrl.com
  • Field Summary

    Fields inherited from class org.scictrl.csshell.epics.server.processor.MemoryValueProcessor

    fixed, lastChangeTimestamp, timestamp, value

    Fields inherited from class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor

    record, trigger, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for SWRValueProcessor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    void
    configure(org.scictrl.csshell.epics.server.Record record, org.apache.commons.configuration.HierarchicalConfiguration config)
    void

    Methods inherited from class org.scictrl.csshell.epics.server.processor.MemoryValueProcessor

    _forceValueUpdateEvent, _setValue, _setValue, _setValue, _setValue, convert, getChangeAccessTimestamp, getTimestamp, getValue, getValueAsBoolean, isFixed, newBooleanProcessor, newDoubleProcessor, newProcessor, newProcessor, setFixed, setValue

    Methods inherited from class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor

    getName, getRecord, getTrigger, getType, process, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SWRValueProcessor

      public SWRValueProcessor()

      Constructor for SWRValueProcessor.

  • Method Details

    • configure

      public void configure(org.scictrl.csshell.epics.server.Record record, org.apache.commons.configuration.HierarchicalConfiguration config)
      Specified by:
      configure in interface org.scictrl.csshell.epics.server.ValueProcessor
      Overrides:
      configure in class org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
    • activate

      public void activate()
      Specified by:
      activate in interface org.scictrl.csshell.epics.server.ValueProcessor
      Overrides:
      activate in class org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Specified by:
      propertyChange in interface PropertyChangeListener