Package jisa.control

Class Asynch


  • public class Asynch
    extends java.lang.Object
    • Constructor Detail

      • Asynch

        public Asynch()
    • Method Detail

      • onConditionMet

        public static void onConditionMet​(ICondition condition,
                                          int checkInterval,
                                          SRunnable onMet,
                                          ERunnable onException)
      • onParamWithinError

        public static void onParamWithinError​(DoubleReturn valueToCheck,
                                              double targetValue,
                                              double percError,
                                              long duration,
                                              int interval,
                                              SRunnable onStable,
                                              ERunnable onException)
      • onParamWithinRange

        public static void onParamWithinRange​(DoubleReturn valueToCheck,
                                              double minValue,
                                              double maxValue,
                                              long duration,
                                              int interval,
                                              SRunnable onStable,
                                              ERunnable onException)
      • onParamStable

        public static void onParamStable​(DoubleReturn valueToCheck,
                                         double percentage,
                                         long duration,
                                         int interval,
                                         SRunnable onStable,
                                         ERunnable onException)