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

    Constructors
    Constructor
    Description
    Constructor for JDoocsValueProcessor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    void
    configure(org.scictrl.csshell.epics.server.Record record, org.apache.commons.configuration.HierarchicalConfiguration config)
    void
    void
    static final String
    toErrorDesc(ttf.doocs.clnt.EqData data)
    toErrorDesc.
    void
    valueUpdate(double value)
    valueUpdate.
    void
    valueUpdate(float[] value)
    valueUpdate.
    void
    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

    Methods inherited from class java.lang.Object

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

    • JDoocsValueProcessor

      public JDoocsValueProcessor()

      Constructor for JDoocsValueProcessor.

  • Method Details

    • toErrorDesc

      public static final String toErrorDesc(ttf.doocs.clnt.EqData data)

      toErrorDesc.

      Parameters:
      data - a EqData 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 interface org.scictrl.csshell.epics.server.ValueProcessor
      Overrides:
      configure in class org.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 of
      invalid reference
      float
      objects
    • valueUpdateFail

      public void valueUpdateFail(String string)

      valueUpdateFail.

      Parameters:
      string - a String object
    • 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
    • process

      public void process()
      Specified by:
      process in interface org.scictrl.csshell.epics.server.ValueProcessor
      Overrides:
      process in class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
    • setValue

      public void setValue(Object value)
      Specified by:
      setValue in interface org.scictrl.csshell.epics.server.ValueProcessor
      Overrides:
      setValue in class org.scictrl.csshell.epics.server.processor.MemoryValueProcessor