Class JDoocsValueProcessor
java.lang.Object
org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
org.scictrl.csshell.epics.server.jdoocs.JDoocsValueProcessor
- All Implemented Interfaces:
org.scictrl.csshell.epics.server.ValueProcessor
public class JDoocsValueProcessor
extends org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
JDoocsValueProcessor class, two directional gateway that translates JDOOCS control system remote property values to EPICS PV values. Connects to JDOCS remote channel and exports corresponding EPICS channel with configured PV. EPICS PV can be read-only or writable.
ENSHOST property value must be set either as system property on level of system environment or system properties in order to find JDOOCS values.
- 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
Modifier and TypeMethodDescriptionvoid
activate()
void
configure
(org.scictrl.csshell.epics.server.Record record, org.apache.commons.configuration.HierarchicalConfiguration config) void
process()
void
static final String
toErrorDesc
(ttf.doocs.clnt.EqData data) toErrorDesc.void
valueUpdate
(double value) valueUpdate.void
valueUpdate
(float[] value) valueUpdate.void
valueUpdateFail
(String string) valueUpdateFail.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
Methods inherited from class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
getName, getRecord, getTrigger, getType, toString
-
Constructor Details
-
JDoocsValueProcessor
public JDoocsValueProcessor()Constructor for JDoocsValueProcessor.
-
-
Method Details
-
toErrorDesc
toErrorDesc.
- Parameters:
data
- aEqData
object- Returns:
- a
String
object
-
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
-
valueUpdate
public void valueUpdate(double value) valueUpdate.
- Parameters:
value
- a double
-
valueUpdate
public void valueUpdate(float[] value) valueUpdate.
- Parameters:
value
- an array ofinvalid reference
float
-
valueUpdateFail
valueUpdateFail.
- Parameters:
string
- aString
object
-
activate
public void activate()- Specified by:
activate
in interfaceorg.scictrl.csshell.epics.server.ValueProcessor
- Overrides:
activate
in classorg.scictrl.csshell.epics.server.processor.MemoryValueProcessor
-
process
public void process()- Specified by:
process
in interfaceorg.scictrl.csshell.epics.server.ValueProcessor
- Overrides:
process
in classorg.scictrl.csshell.epics.server.processor.AbstractValueProcessor
-
setValue
- Specified by:
setValue
in interfaceorg.scictrl.csshell.epics.server.ValueProcessor
- Overrides:
setValue
in classorg.scictrl.csshell.epics.server.processor.MemoryValueProcessor
-