Class SpELUtils

java.lang.Object
gda.spring.spel.SpELUtils

public class SpELUtils extends Object
Utility class defines function to be used to extend Spring SpEL expression. The function is registered with the Spring StandardEvaluationContext using the method that can be called within the expression string. This provides a way to handle complex algorithm!
Since:
9.16
  • Method Details

    • updateAcquirePeriodWhenAcquireTimeChanges

      public static void updateAcquirePeriodWhenAcquireTimeChanges(Scannable acquireTime, Scannable acquirePeriod, Scannable idleTime, Double time)
      keep detector Idle time same when change exposure time
      Parameters:
      acquireTime -
      acquirePeriod -
      time -
    • updateNumFilterInProc

      public static void updateNumFilterInProc(Scannable enableFilter, Scannable resetFilter, Scannable numFilter, Integer num)