set threshold todo param threshold threshold compar set threshold threshold critic threshold threshold 