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
-
Method Summary
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
-
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 interfaceorg.scictrl.csshell.epics.server.ValueProcessor
- Overrides:
configure
in classorg.scictrl.csshell.epics.server.processor.MemoryValueProcessor
-
activate
public void activate()- Specified by:
activate
in interfaceorg.scictrl.csshell.epics.server.ValueProcessor
- Overrides:
activate
in classorg.scictrl.csshell.epics.server.processor.MemoryValueProcessor
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-