Beispiel #1
0
 public ClimbingTimer(string connectionString, TimeSpan rotationInterval, bool isMain = false, bool autoReset = true, bool autoSynchro = true)
     : this(connectionString, autoReset, autoSynchro)
 {
     this.rotationInterval  = rotationInterval;
     this.remainingInterval = this.rotationInterval;
     this.isMain            = isMain;
     if (cn != null)
     {
         AccountForm.CreateQueryData(cn);
     }
     if (isMain)
     {
         OpenListener();
     }
 }