comparison web/config.py @ 61:62112fc2af21

sort out voltage logging
author Matt Johnston <matt@ucc.asn.au>
date Tue, 26 Jun 2012 08:08:48 +0800
parents 79761ee67134
children 43ec670f1b75
comparison
equal deleted inserted replaced
58:5100e0bdadad 61:62112fc2af21
9 GRAPH_HEIGHT = 400 9 GRAPH_HEIGHT = 400
10 10
11 LINE_WIDTH = 2 11 LINE_WIDTH = 2
12 12
13 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Wort", 13 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Wort",
14 'sensor_28 CC C1 1A 03 00 00 D4': "Board"} 14 'sensor_28 CC C1 1A 03 00 00 D4': "Board",
15 'sensor_voltage': 'Voltage',
16 }
15 17
16 SENSOR_COLOURS = {'Wort': 'e49222', 'Board': '028b3d'} 18 SENSOR_COLOURS = {'Wort': 'e49222',
19 'Board': '028b3d',
20 'Voltage': '7db5d3aa',
21 }
22
17 23
18 GRAPH_FONT = "Courier" 24 GRAPH_FONT = "Courier"