mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
add addtional object type enumerations
This commit is contained in:
parent
332fd4b739
commit
f7eb6de93e
|
@ -1612,7 +1612,8 @@ class Time(Atomic):
|
||||||
class ObjectType(Enumerated):
|
class ObjectType(Enumerated):
|
||||||
vendor_range = (128, 1023)
|
vendor_range = (128, 1023)
|
||||||
enumerations = \
|
enumerations = \
|
||||||
{ 'accessDoor':30
|
{ 'accessCredential':32
|
||||||
|
, 'accessDoor':30
|
||||||
, 'accessPoint':33
|
, 'accessPoint':33
|
||||||
, 'accessRights':34
|
, 'accessRights':34
|
||||||
, 'accessUser':35
|
, 'accessUser':35
|
||||||
|
@ -1622,8 +1623,11 @@ class ObjectType(Enumerated):
|
||||||
, 'analogInput':0
|
, 'analogInput':0
|
||||||
, 'analogOutput':1
|
, 'analogOutput':1
|
||||||
, 'analogValue':2
|
, 'analogValue':2
|
||||||
|
, 'auditLog':61
|
||||||
|
, 'auditReporter':62
|
||||||
, 'averaging':18
|
, 'averaging':18
|
||||||
, 'binaryInput':3
|
, 'binaryInput':3
|
||||||
|
, 'binaryLightingOutput':55
|
||||||
, 'binaryOutput':4
|
, 'binaryOutput':4
|
||||||
, 'binaryValue':5
|
, 'binaryValue':5
|
||||||
, 'bitstringValue':39
|
, 'bitstringValue':39
|
||||||
|
@ -1637,6 +1641,8 @@ class ObjectType(Enumerated):
|
||||||
, 'datetimePatternValue':43
|
, 'datetimePatternValue':43
|
||||||
, 'datetimeValue':44
|
, 'datetimeValue':44
|
||||||
, 'device':8
|
, 'device':8
|
||||||
|
, 'elevatorGroup':57
|
||||||
|
, 'escalator':58
|
||||||
, 'eventEnrollment':9
|
, 'eventEnrollment':9
|
||||||
, 'eventLog':25
|
, 'eventLog':25
|
||||||
, 'file':10
|
, 'file':10
|
||||||
|
@ -1646,6 +1652,7 @@ class ObjectType(Enumerated):
|
||||||
, 'largeAnalogValue':46
|
, 'largeAnalogValue':46
|
||||||
, 'lifeSafetyPoint':21
|
, 'lifeSafetyPoint':21
|
||||||
, 'lifeSafetyZone':22
|
, 'lifeSafetyZone':22
|
||||||
|
, 'lift':59
|
||||||
, 'lightingOutput':54
|
, 'lightingOutput':54
|
||||||
, 'loadControl':28
|
, 'loadControl':28
|
||||||
, 'loop':12
|
, 'loop':12
|
||||||
|
@ -1653,6 +1660,7 @@ class ObjectType(Enumerated):
|
||||||
, 'multiStateOutput':14
|
, 'multiStateOutput':14
|
||||||
, 'multiStateValue':19
|
, 'multiStateValue':19
|
||||||
, 'networkSecurity':38
|
, 'networkSecurity':38
|
||||||
|
, 'networkPort':56
|
||||||
, 'notificationClass':15
|
, 'notificationClass':15
|
||||||
, 'notificationForwarder':51
|
, 'notificationForwarder':51
|
||||||
, 'octetstringValue':47
|
, 'octetstringValue':47
|
||||||
|
@ -1663,9 +1671,9 @@ class ObjectType(Enumerated):
|
||||||
, 'structuredView':29
|
, 'structuredView':29
|
||||||
, 'timePatternValue':49
|
, 'timePatternValue':49
|
||||||
, 'timeValue':50
|
, 'timeValue':50
|
||||||
|
, 'timer':31
|
||||||
, 'trendLog':20
|
, 'trendLog':20
|
||||||
, 'trendLogMultiple':27
|
, 'trendLogMultiple':27
|
||||||
, 'networkPort':56
|
|
||||||
}
|
}
|
||||||
|
|
||||||
expand_enumerations(ObjectType)
|
expand_enumerations(ObjectType)
|
||||||
|
|
|
@ -1629,7 +1629,8 @@ class Time(Atomic):
|
||||||
class ObjectType(Enumerated):
|
class ObjectType(Enumerated):
|
||||||
vendor_range = (128, 1023)
|
vendor_range = (128, 1023)
|
||||||
enumerations = \
|
enumerations = \
|
||||||
{ 'accessDoor':30
|
{ 'accessCredential':32
|
||||||
|
, 'accessDoor':30
|
||||||
, 'accessPoint':33
|
, 'accessPoint':33
|
||||||
, 'accessRights':34
|
, 'accessRights':34
|
||||||
, 'accessUser':35
|
, 'accessUser':35
|
||||||
|
@ -1639,8 +1640,11 @@ class ObjectType(Enumerated):
|
||||||
, 'analogInput':0
|
, 'analogInput':0
|
||||||
, 'analogOutput':1
|
, 'analogOutput':1
|
||||||
, 'analogValue':2
|
, 'analogValue':2
|
||||||
|
, 'auditLog':61
|
||||||
|
, 'auditReporter':62
|
||||||
, 'averaging':18
|
, 'averaging':18
|
||||||
, 'binaryInput':3
|
, 'binaryInput':3
|
||||||
|
, 'binaryLightingOutput':55
|
||||||
, 'binaryOutput':4
|
, 'binaryOutput':4
|
||||||
, 'binaryValue':5
|
, 'binaryValue':5
|
||||||
, 'bitstringValue':39
|
, 'bitstringValue':39
|
||||||
|
@ -1654,6 +1658,8 @@ class ObjectType(Enumerated):
|
||||||
, 'datetimePatternValue':43
|
, 'datetimePatternValue':43
|
||||||
, 'datetimeValue':44
|
, 'datetimeValue':44
|
||||||
, 'device':8
|
, 'device':8
|
||||||
|
, 'elevatorGroup':57
|
||||||
|
, 'escalator':58
|
||||||
, 'eventEnrollment':9
|
, 'eventEnrollment':9
|
||||||
, 'eventLog':25
|
, 'eventLog':25
|
||||||
, 'file':10
|
, 'file':10
|
||||||
|
@ -1663,6 +1669,7 @@ class ObjectType(Enumerated):
|
||||||
, 'largeAnalogValue':46
|
, 'largeAnalogValue':46
|
||||||
, 'lifeSafetyPoint':21
|
, 'lifeSafetyPoint':21
|
||||||
, 'lifeSafetyZone':22
|
, 'lifeSafetyZone':22
|
||||||
|
, 'lift':59
|
||||||
, 'lightingOutput':54
|
, 'lightingOutput':54
|
||||||
, 'loadControl':28
|
, 'loadControl':28
|
||||||
, 'loop':12
|
, 'loop':12
|
||||||
|
@ -1670,6 +1677,7 @@ class ObjectType(Enumerated):
|
||||||
, 'multiStateOutput':14
|
, 'multiStateOutput':14
|
||||||
, 'multiStateValue':19
|
, 'multiStateValue':19
|
||||||
, 'networkSecurity':38
|
, 'networkSecurity':38
|
||||||
|
, 'networkPort':56
|
||||||
, 'notificationClass':15
|
, 'notificationClass':15
|
||||||
, 'notificationForwarder':51
|
, 'notificationForwarder':51
|
||||||
, 'octetstringValue':47
|
, 'octetstringValue':47
|
||||||
|
@ -1680,9 +1688,9 @@ class ObjectType(Enumerated):
|
||||||
, 'structuredView':29
|
, 'structuredView':29
|
||||||
, 'timePatternValue':49
|
, 'timePatternValue':49
|
||||||
, 'timeValue':50
|
, 'timeValue':50
|
||||||
|
, 'timer':31
|
||||||
, 'trendLog':20
|
, 'trendLog':20
|
||||||
, 'trendLogMultiple':27
|
, 'trendLogMultiple':27
|
||||||
, 'networkPort':56
|
|
||||||
}
|
}
|
||||||
|
|
||||||
expand_enumerations(ObjectType)
|
expand_enumerations(ObjectType)
|
||||||
|
|
|
@ -1611,7 +1611,8 @@ class Time(Atomic):
|
||||||
class ObjectType(Enumerated):
|
class ObjectType(Enumerated):
|
||||||
vendor_range = (128, 1023)
|
vendor_range = (128, 1023)
|
||||||
enumerations = \
|
enumerations = \
|
||||||
{ 'accessDoor':30
|
{ 'accessCredential':32
|
||||||
|
, 'accessDoor':30
|
||||||
, 'accessPoint':33
|
, 'accessPoint':33
|
||||||
, 'accessRights':34
|
, 'accessRights':34
|
||||||
, 'accessUser':35
|
, 'accessUser':35
|
||||||
|
@ -1621,8 +1622,11 @@ class ObjectType(Enumerated):
|
||||||
, 'analogInput':0
|
, 'analogInput':0
|
||||||
, 'analogOutput':1
|
, 'analogOutput':1
|
||||||
, 'analogValue':2
|
, 'analogValue':2
|
||||||
|
, 'auditLog':61
|
||||||
|
, 'auditReporter':62
|
||||||
, 'averaging':18
|
, 'averaging':18
|
||||||
, 'binaryInput':3
|
, 'binaryInput':3
|
||||||
|
, 'binaryLightingOutput':55
|
||||||
, 'binaryOutput':4
|
, 'binaryOutput':4
|
||||||
, 'binaryValue':5
|
, 'binaryValue':5
|
||||||
, 'bitstringValue':39
|
, 'bitstringValue':39
|
||||||
|
@ -1636,6 +1640,8 @@ class ObjectType(Enumerated):
|
||||||
, 'datetimePatternValue':43
|
, 'datetimePatternValue':43
|
||||||
, 'datetimeValue':44
|
, 'datetimeValue':44
|
||||||
, 'device':8
|
, 'device':8
|
||||||
|
, 'elevatorGroup':57
|
||||||
|
, 'escalator':58
|
||||||
, 'eventEnrollment':9
|
, 'eventEnrollment':9
|
||||||
, 'eventLog':25
|
, 'eventLog':25
|
||||||
, 'file':10
|
, 'file':10
|
||||||
|
@ -1645,6 +1651,7 @@ class ObjectType(Enumerated):
|
||||||
, 'largeAnalogValue':46
|
, 'largeAnalogValue':46
|
||||||
, 'lifeSafetyPoint':21
|
, 'lifeSafetyPoint':21
|
||||||
, 'lifeSafetyZone':22
|
, 'lifeSafetyZone':22
|
||||||
|
, 'lift':59
|
||||||
, 'lightingOutput':54
|
, 'lightingOutput':54
|
||||||
, 'loadControl':28
|
, 'loadControl':28
|
||||||
, 'loop':12
|
, 'loop':12
|
||||||
|
@ -1652,6 +1659,7 @@ class ObjectType(Enumerated):
|
||||||
, 'multiStateOutput':14
|
, 'multiStateOutput':14
|
||||||
, 'multiStateValue':19
|
, 'multiStateValue':19
|
||||||
, 'networkSecurity':38
|
, 'networkSecurity':38
|
||||||
|
, 'networkPort':56
|
||||||
, 'notificationClass':15
|
, 'notificationClass':15
|
||||||
, 'notificationForwarder':51
|
, 'notificationForwarder':51
|
||||||
, 'octetstringValue':47
|
, 'octetstringValue':47
|
||||||
|
@ -1662,9 +1670,9 @@ class ObjectType(Enumerated):
|
||||||
, 'structuredView':29
|
, 'structuredView':29
|
||||||
, 'timePatternValue':49
|
, 'timePatternValue':49
|
||||||
, 'timeValue':50
|
, 'timeValue':50
|
||||||
|
, 'timer':31
|
||||||
, 'trendLog':20
|
, 'trendLog':20
|
||||||
, 'trendLogMultiple':27
|
, 'trendLogMultiple':27
|
||||||
, 'networkPort':56
|
|
||||||
}
|
}
|
||||||
|
|
||||||
expand_enumerations(ObjectType)
|
expand_enumerations(ObjectType)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user