Now validates temperatures rather than assuming the data is valid, checking the following:
Checks for 0 in high critical and max.
Copes with missing critical or max min data or partially missing data.
Checks the high critical and max are the right way round
Checks the low critical and min are the right way round
Temperature is displayed in 5 different ways.
White text on blue - temperature with spec. (or no spec available)
Red text on blue - max temperature reached.
White text on red - critical high temperature reached
Black text on blue - minimum temperature reached.
White text on black - critical low temperature reached.
Test code showing temperature cycling between +10 and -10 with critical at +8 and -8 and min/max at -5 & +5.
The colors of the temperature text and background change when those settings are reached. As this is a test, those values are low for test purposes, on a actual disc they are more like critical +65, max +60, min -2 critical min -5
Now validates temperatures rather than assuming the data is valid, checking the following:
Temperature is displayed in 5 different ways.
Test code showing temperature cycling between +10 and -10 with critical at +8 and -8 and min/max at -5 & +5. The colors of the temperature text and background change when those settings are reached. As this is a test, those values are low for test purposes, on a actual disc they are more like critical +65, max +60, min -2 critical min -5