1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-10-27 00:57:47 +08:00

sync the versions

This commit is contained in:
Joel Bender
2017-09-05 11:59:02 -04:00
parent 97212596ba
commit 3242556a12
3 changed files with 10 additions and 7 deletions

View File

@@ -304,7 +304,8 @@ class COVIncrementCriteria(COVDetection):
# continue
COVDetection.send_cov_notifications(self)
bacpypes_debugging(COVDetection)
bacpypes_debugging(COVIncrementCriteria)
class AccessDoorCriteria(COVDetection):
@@ -319,6 +320,7 @@ class AccessDoorCriteria(COVDetection):
'doorAlarmState',
)
class AccessPointCriteria(COVDetection):
properties_tracked = (
@@ -335,6 +337,7 @@ class AccessPointCriteria(COVDetection):
)
monitored_property_reference = 'accessEvent'
class CredentialDataInputCriteria(COVDetection):
properties_tracked = (
@@ -347,6 +350,7 @@ class CredentialDataInputCriteria(COVDetection):
'updateTime',
)
class LoadControlCriteria(COVDetection):
properties_tracked = (
@@ -366,6 +370,7 @@ class LoadControlCriteria(COVDetection):
'dutyWindow',
)
class PulseConverterCriteria(COVDetection):
properties_tracked = (
@@ -377,6 +382,7 @@ class PulseConverterCriteria(COVDetection):
'statusFlags',
)
# mapping from object type to appropriate criteria class
criteria_type_map = {
'accessPoint': AccessPointCriteria,
@@ -481,6 +487,7 @@ class ActiveCOVSubscriptions(Property):
bacpypes_debugging(ActiveCOVSubscriptions)
#
# ChangeOfValueServices
#
@@ -491,9 +498,6 @@ class ChangeOfValueServices(Capability):
if _debug: ChangeOfValueServices._debug("__init__")
Capability.__init__(self)
# list of active subscriptions
self.active_cov_subscriptions = []
# map from an object to its detection algorithm
self.cov_detections = {}
@@ -648,3 +652,4 @@ class ChangeOfValueServices(Capability):
self.response(response)
bacpypes_debugging(ChangeOfValueServices)