예제 #1
0
 public AreaNotificationOption()
 {
     Urls               = new List <UrlOptions>();
     Email              = new List <string>();
     UseMQTT            = false;
     NoMotionMQTTNotify = false;
     mqttCooldown       = new MQTTCoolDown(Settings.Default.MQTTCoolDown);
 }
예제 #2
0
 public AreaNotificationOption(AreaNotificationOption src)
 {
     Urls               = new List <UrlOptions>(src.Urls);
     Email              = new List <string>(src.Email);
     UseMQTT            = src.UseMQTT;
     NoMotionMQTTNotify = src.NoMotionMQTTNotify;
     mqttCooldown       = new MQTTCoolDown(src.mqttCooldown.CooldownTime);
 }
예제 #3
0
 public AreaNotificationOption()
 {
     Urls               = new List <UrlOptions>();
     Email              = new List <string>();
     UseMQTT            = false;
     NoMotionMQTTNotify = false;
     mqttCooldown       = new MQTTCoolDown(Storage.GetGlobalInt("MQTTCoolDown"));
 }