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

bring samples branch up-to-date with stage

This commit is contained in:
Joel Bender
2016-01-27 16:55:53 -05:00
7 changed files with 266 additions and 5 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)