1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

merging issue #65

This commit is contained in:
Joel Bender 2015-12-16 14:42:25 -05:00
commit 76ed0e10d8
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)

View File

@ -23,6 +23,7 @@ _log = ModuleLogger(globals())
#
class Tag(object):
applicationTagClass = 0
contextTagClass = 1
openingTagClass = 2
@ -1161,6 +1162,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)

View File

@ -23,6 +23,7 @@ _log = ModuleLogger(globals())
#
class Tag(object):
applicationTagClass = 0
contextTagClass = 1
openingTagClass = 2
@ -1169,6 +1170,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)