Hi,
   I'm doing some work about threshold and event using java api(1.1.6),and confused about the usage
        
public class Threshold
{
        private long id;
	private int fireEvent;
	private int rearmEvent;
	private int arg1;//?
	private int arg2;//?
	private int function;
	private int operation;
	private int repeatInterval;
	private String value;//?
	private boolean active;
}
      
What I want to know is the meaning of "arg1","arg2","value".
Also,when a threshold is added to a dci,does it work immediately(any other work need to do,like setting event policy?)?
Best regards,
Yan
			
			
			
				Hi!
Arg2 currently is not used, and arg1 is a number of polls for last, average, min, max, and error functions. Value is a threshold value.
When threshold is added, it is effective immediately.
Best regards,
Victor
			
			
			
				Thank you very much! ;D