Ejemplo n.º 1
0
 public UrlOptions(string url, int waitTime, int coolDown, int biFlags)
 {
     ID       = Guid.NewGuid();
     Url      = url;
     CoolDown = new UrlCooldown(coolDown);
     WaitTime = waitTime;
     BIFlags  = biFlags;
 }
Ejemplo n.º 2
0
 public MQTTCoolDown(UrlCooldown src)
 {
     CooldownTime = src.CooldownTime;
     LastSent     = src.LastSent - TimeSpan.FromHours(2); // make it far in the past to ensure the first trigger
 }
Ejemplo n.º 3
0
 public UrlCooldown(UrlCooldown src)
 {
     CooldownTime = src.CooldownTime;
     LastSent     = src.LastSent; // make it far in the past to ensure the first trigger
 }