Class WicaChannelValueCreator

java.lang.Object
ch.psi.wica.controlsystem.epics.channel.WicaChannelValueCreator

@Immutable @Component public class WicaChannelValueCreator extends Object
Provides the functionality to build a WicaChannelValue object using raw channel value data.
  • Constructor Details

    • WicaChannelValueCreator

      public WicaChannelValueCreator()
  • Method Details

    • build

      public WicaChannelValue build(ControlSystemName controlSystemName, org.epics.ca.data.Timestamped<Object> epicsValueObject)
      Returns a WicaChannelValue object based on the supplied data obtained from the EPICS channel.
      Parameters:
      controlSystemName - the name of the control system channel (needed for logging purposes only). Not Null.
      epicsValueObject - the EPICS CA library Timestamped object. Not Null.
      Returns:
      the constructed value object.
      Throws:
      NullPointerException - if the controlSystemName argument was null.
      NullPointerException - if the epicsValueObject argument was null.