Package org.yamcs.mdb

Class ParameterTypeProcessor

java.lang.Object
org.yamcs.mdb.ParameterTypeProcessor

public class ParameterTypeProcessor extends Object
Responsible for converting between raw and engineering value by usage of calibrators or by simple type conversions.
  • Constructor Details

    • ParameterTypeProcessor

      public ParameterTypeProcessor(ProcessorData pdata)
  • Method Details

    • calibrate

      public void calibrate(ProcessingData processingData, ParameterValue pval)
      Sets the value of a pval, based on the raw value, the applicable calibrator and the expected parameter type

      Also checks the validity if a ValidRange is defined for the parameter type

      Parameters:
      pval -
    • calibrate

      public void calibrate(ParameterValue pval)