--- a/graphics/DebugDataConsumer.py Mon Aug 14 22:30:41 2017 +0300
+++ b/graphics/DebugDataConsumer.py Mon Aug 14 23:27:15 2017 +0300
@@ -36,6 +36,7 @@
# Date corresponding to Epoch (1970 January the first)
DATE_ORIGIN = datetime.datetime(1970, 1, 1)
+
def get_microseconds(value):
"""
Function converting time duration expressed in day, second and microseconds
@@ -48,6 +49,7 @@
value.microseconds)
return
+
def generate_time(value):
"""
Function converting time duration expressed in day, second and microseconds
@@ -90,6 +92,7 @@
return data
+
def generate_date(value):
"""
Function converting time duration expressed in day, second and microseconds
@@ -99,6 +102,7 @@
"""
return (DATE_ORIGIN + value).strftime("DATE#%Y-%m-%d")
+
def generate_datetime(value):
"""
Function converting time duration expressed in day, second and microseconds
@@ -108,6 +112,7 @@
"""
return (DATE_ORIGIN + value).strftime("DT#%Y-%m-%d-%H:%M:%S.%f")
+
def generate_timeofday(value):
"""
Function converting time duration expressed in day, second and microseconds
@@ -147,13 +152,13 @@
# Debug Data Consumer Class
#-------------------------------------------------------------------------------
-"""
-Class that implements an element that consumes debug values
-Value update can be inhibited during the time the associated Debug Viewer is
-refreshing
-"""
class DebugDataConsumer:
+ """
+ Class that implements an element that consumes debug values
+ Value update can be inhibited during the time the associated Debug Viewer is
+ refreshing
+ """
def __init__(self):
"""