gov.sns.tools.transforms
Interface ValueTransform
- public interface ValueTransform
Provides a common interface for defining conversions between raw and physical values.
A raw value might be a value that you get directly from a channel access call. The
end user may want a processed value (e.g. convert current to field). ValueTransform
provides a common interface in XAL for such processing.
noOperationTransform
public static final ValueTransform noOperationTransform
convertFromRaw
public ArrayValue convertFromRaw(ArrayValue rawValue)
- Convert an ArrayValue instance from a raw value to a processed value
convertToRaw
public ArrayValue convertToRaw(ArrayValue physicalValue)
- Convert an ArrayValue instance from a processed value to a raw value