1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-10-27 00:57:47 +08:00
This commit is contained in:
Joel Bender
2015-12-16 14:34:22 -05:00
parent 210163b519
commit ac4cb8bd99
3 changed files with 9 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ _log = ModuleLogger(globals())
#
class Tag(object):
applicationTagClass = 0
contextTagClass = 1
openingTagClass = 2
@@ -1155,6 +1156,8 @@ _date_patterns = [
class Date(Atomic):
_app_tag = Tag.dateAppTag
def __init__(self, arg=None, year=255, month=255, day=255, day_of_week=255):
self.value = (year, month, day, day_of_week)