Ejemplo n.º 1
0
 public static bool IsCamera(this KakuSensor s)
 {
     return(s.Type == KakuSensorType.Camera);
 }
Ejemplo n.º 2
0
 public static bool IsSmoke(this KakuSensor s)
 {
     return(s.Type == KakuSensorType.Smoke);
 }
Ejemplo n.º 3
0
 public static bool IsMotion(this KakuSensor s)
 {
     return(s.Type == KakuSensorType.Motion);
 }
Ejemplo n.º 4
0
 public static bool IsDoorbell(this KakuSensor s)
 {
     return(s.Type == KakuSensorType.Doorbell);
 }
Ejemplo n.º 5
0
 public static bool IsContact(this KakuSensor s)
 {
     return(s.Type == KakuSensorType.Contact || s.Type == KakuSensorType.Contact868);
 }