'''
Rotary encoder message DTO for the queue
'''

class Message(object):

	CCW = "counterclockwise"
	CW = "clockwise"
	BTN = "button"

	def __init__(self, id, msg, timestamp=0):
		self.id = id
		self.msg = msg
		self.timestamp = timestamp

'''
Rotary encoder message DTO for the queue
'''

class Message(object):

	CCW = "counterclockwise"
	CW = "clockwise"
	BTN = "button"

	def __init__(self, id, msg, timestamp=0):
		self.id = id
		self.msg = msg
		self.timestamp = timestamp

Rotary encoder message DTO for the queue