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