Fixed Time in Milkingdataset to have leading 0
This commit is contained in:
@@ -371,7 +371,10 @@ class TAURUS:
|
||||
if datatype == 'AN':
|
||||
ds += data[item].rjust (int (length))
|
||||
elif datatype == 'N':
|
||||
_v = "%d" % (int (data[item] * (10**int (resolution))))
|
||||
if item == '00202513':
|
||||
_v = data [item]
|
||||
else:
|
||||
_v = "%d" % (int (data[item] * (10**int (resolution))))
|
||||
ds += _v.rjust (int (length))
|
||||
else:
|
||||
ds += '?' * length
|
||||
|
||||
Reference in New Issue
Block a user