Class ThresholdCondition