public override bool Fit(VAEntitySnapshot snapshot)
 {
     return(snapshot is RegionMotionAlarmSnapshot &&
            ((RegionMotionAlarmSnapshot)snapshot).Rule == this.Rule &&
            ((RegionMotionAlarmSnapshot)snapshot).ObjectId == this.ObjectId);
 }
Beispiel #2
0
 public override bool Fit(VAEntitySnapshot snapshot)
 {
     return(snapshot is TripwireAlarmSnapshot &&
            ((TripwireAlarmSnapshot)snapshot).Rule == this.Rule &&
            ((TripwireAlarmSnapshot)snapshot).ObjectId == this.ObjectId);
 }
 public override bool Fit(VAEntitySnapshot snapshot)
 {
     return(snapshot is TamperingDetectorAlarmSnapshot &&
            ((TamperingDetectorAlarmSnapshot)snapshot).Type == this.Type);
 }
 public override bool Fit(VAEntitySnapshot snapshot)
 {
     return(snapshot is VAObjectSnapshot &&
            ((VAObjectSnapshot)snapshot).Id == this.Id);
 }
 public override bool Fit(VAEntitySnapshot snapshot)
 {
     return(snapshot is LoiteringAlarmSnapshot &&
            ((LoiteringAlarmSnapshot)snapshot).Rule == this.Rule &&
            ((LoiteringAlarmSnapshot)snapshot).ObjectId == this.ObjectId);
 }
 public override bool Fit(VAEntitySnapshot snapshot)
 {
     return(snapshot is AbandonedItemAlarmSnapshot &&
            ((AbandonedItemAlarmSnapshot)snapshot).Rule == this.Rule &&
            ((AbandonedItemAlarmSnapshot)snapshot).ObjectId == this.ObjectId);
 }
Beispiel #7
0
 public abstract void Update(VAEntitySnapshot snapshot, Func <double, double> scaleX, Func <double, double> scaleY);
Beispiel #8
0
 public abstract bool Fit(VAEntitySnapshot snapshot);
Beispiel #9
0
 public override bool Fit(VAEntitySnapshot snapshot)
 {
     return(snapshot is MotionAlarmSnapshot);
 }