示例#1
0
 public AppTimers()
 {
     this.EventsHdlr = new SiRFLiveEvent();
     this._appTimer = new Timer();
     this._appTimerInterval = 0x3e8;
     this._appTimer.Elapsed += new ElapsedEventHandler(this.AppTimerHdlr);
     this._appTimer.Enabled = false;
     this._appTimer.Interval = this._appTimerInterval;
 }
示例#2
0
 public AppTimers()
 {
     this.EventsHdlr         = new SiRFLiveEvent();
     this._appTimer          = new Timer();
     this._appTimerInterval  = 0x3e8;
     this._appTimer.Elapsed += new ElapsedEventHandler(this.AppTimerHdlr);
     this._appTimer.Enabled  = false;
     this._appTimer.Interval = this._appTimerInterval;
 }
示例#3
0
 public AppTimers(int interval, bool isContinous)
 {
     this.EventsHdlr = new SiRFLiveEvent();
     this._appTimer = new Timer();
     this._appTimerInterval = 0x3e8;
     this._appTimer.Elapsed += new ElapsedEventHandler(this.AppTimerHdlr);
     this._appTimerInterval = interval * 0x3e8;
     this._appTimer.Interval = interval;
     this._appTimer.AutoReset = isContinous;
 }
示例#4
0
 public AppTimers(int interval, bool isContinous)
 {
     this.EventsHdlr          = new SiRFLiveEvent();
     this._appTimer           = new Timer();
     this._appTimerInterval   = 0x3e8;
     this._appTimer.Elapsed  += new ElapsedEventHandler(this.AppTimerHdlr);
     this._appTimerInterval   = interval * 0x3e8;
     this._appTimer.Interval  = interval;
     this._appTimer.AutoReset = isContinous;
 }