mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
merging issue #65
This commit is contained in:
commit
76ed0e10d8
|
@ -23,6 +23,7 @@ _log = ModuleLogger(globals())
|
||||||
#
|
#
|
||||||
|
|
||||||
class Tag(object):
|
class Tag(object):
|
||||||
|
|
||||||
applicationTagClass = 0
|
applicationTagClass = 0
|
||||||
contextTagClass = 1
|
contextTagClass = 1
|
||||||
openingTagClass = 2
|
openingTagClass = 2
|
||||||
|
@ -1155,6 +1156,8 @@ _date_patterns = [
|
||||||
|
|
||||||
class Date(Atomic):
|
class Date(Atomic):
|
||||||
|
|
||||||
|
_app_tag = Tag.dateAppTag
|
||||||
|
|
||||||
def __init__(self, arg=None, year=255, month=255, day=255, day_of_week=255):
|
def __init__(self, arg=None, year=255, month=255, day=255, day_of_week=255):
|
||||||
self.value = (year, month, day, day_of_week)
|
self.value = (year, month, day, day_of_week)
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ _log = ModuleLogger(globals())
|
||||||
#
|
#
|
||||||
|
|
||||||
class Tag(object):
|
class Tag(object):
|
||||||
|
|
||||||
applicationTagClass = 0
|
applicationTagClass = 0
|
||||||
contextTagClass = 1
|
contextTagClass = 1
|
||||||
openingTagClass = 2
|
openingTagClass = 2
|
||||||
|
@ -1161,6 +1162,8 @@ _date_patterns = [
|
||||||
|
|
||||||
class Date(Atomic):
|
class Date(Atomic):
|
||||||
|
|
||||||
|
_app_tag = Tag.dateAppTag
|
||||||
|
|
||||||
def __init__(self, arg=None, year=255, month=255, day=255, day_of_week=255):
|
def __init__(self, arg=None, year=255, month=255, day=255, day_of_week=255):
|
||||||
self.value = (year, month, day, day_of_week)
|
self.value = (year, month, day, day_of_week)
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ _log = ModuleLogger(globals())
|
||||||
#
|
#
|
||||||
|
|
||||||
class Tag(object):
|
class Tag(object):
|
||||||
|
|
||||||
applicationTagClass = 0
|
applicationTagClass = 0
|
||||||
contextTagClass = 1
|
contextTagClass = 1
|
||||||
openingTagClass = 2
|
openingTagClass = 2
|
||||||
|
@ -1169,6 +1170,8 @@ _date_patterns = [
|
||||||
|
|
||||||
class Date(Atomic):
|
class Date(Atomic):
|
||||||
|
|
||||||
|
_app_tag = Tag.dateAppTag
|
||||||
|
|
||||||
def __init__(self, arg=None, year=255, month=255, day=255, day_of_week=255):
|
def __init__(self, arg=None, year=255, month=255, day=255, day_of_week=255):
|
||||||
self.value = (year, month, day, day_of_week)
|
self.value = (year, month, day, day_of_week)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user