|
LevelMeter-Display
2.0
An ultrasonic Level Meter for Stormwater Cisterns
|
Holds all values used for Display Purposes. More...
Data Fields | |
| char | checksumErrorChar |
| Character to appear on Position "Checksum Error". More... | |
| char * | error |
| Pointer to a string describing the most urgent error. More... | |
| LITERS_T | liters |
| The current volume in liters. More... | |
| LITERS_T | litersLastHour |
| The volume for the last hour. More... | |
| double | litersPerCent |
| Filling of the cistern in percent. More... | |
| LITERS_T | litersPerHour |
| The volume change for the running hour. More... | |
| LITERS_T | litersTemp |
| For averaging. More... | |
| LITERS_T | litersToday |
| The volume change for today. More... | |
| LITERS_T | litersYesterday |
| The volume at last midnight. More... | |
| uint8_t | literUnitChar |
| Holds a small or capital letter 'L'. More... | |
| uint8_t | nlitersTemp |
| Number of values added to liters_temp. More... | |
| char | not10ErrorChar |
| Character to appear on Position "More or less than 10 Values received". More... | |
| char | parityErrorChar |
| Character to appear on Position "Parity Error". More... | |
| char | sensorDeadChar |
| Character to appear on Position "SensorDead". More... | |
| int8_t | tempSemi |
| The temperature in 0.5°C-units. More... | |
Holds all values used for Display Purposes.
Display routines should only use values of this struct and every value you want to be displayed should be placed here. By this mechanism we can decouple updating values from displaying values.
Exceptions are e.g. the ADC-values for the display sensors as it does not make sense to duplicate them here.
There are some char-values for error flags. They contain the character value to be displayed on the corresponding position (i.e. SPACE if no error persists). They are set asynchronously but if the current page needs them, it takes them from here (just like all the other values).
| char checksumErrorChar |
Character to appear on Position "Checksum Error".
Referenced by DoCflags(), ResetDisplayFlags(), and ShowScreen().
| char* error |
Pointer to a string describing the most urgent error.
Referenced by CmdStat(), main(), ResetDisplayFlags(), and ShowScreen().
| LITERS_T liters |
The current volume in liters.
Referenced by CmdGetSensorValues(), CmdStat(), DoCflags(), DoTflags(), and ShowScreen().
| LITERS_T litersLastHour |
The volume for the last hour.
Referenced by DoTflags(), and ShowScreen().
| double litersPerCent |
Filling of the cistern in percent.
Referenced by DoCflags(), HBarGraphPerCent(), and VBarGraphPrepare().
| LITERS_T litersPerHour |
The volume change for the running hour.
Referenced by DoTflags(), and ShowScreen().
| LITERS_T litersTemp |
For averaging.
Referenced by DoCflags(), and DoTflags().
| LITERS_T litersToday |
The volume change for today.
Referenced by DoTflags(), and ShowScreen().
| LITERS_T litersYesterday |
The volume at last midnight.
Referenced by DoTflags(), and ShowScreen().
| uint8_t literUnitChar |
Holds a small or capital letter 'L'.
Referenced by CmdDistance(), CmdGetSensorValues(), CmdStat(), DoCflags(), DoTflags(), ResetDisplayFlags(), and ShowScreen().
| uint8_t nlitersTemp |
Number of values added to liters_temp.
Referenced by DoCflags(), and DoTflags().
| char not10ErrorChar |
Character to appear on Position "More or less than 10 Values received".
Referenced by DoTflags(), ResetDisplayFlags(), and ShowScreen().
| char parityErrorChar |
Character to appear on Position "Parity Error".
Referenced by DoCflags(), ResetDisplayFlags(), and ShowScreen().
| char sensorDeadChar |
Character to appear on Position "SensorDead".
Referenced by DoCflags(), DoTflags(), ResetDisplayFlags(), and ShowScreen().
| int8_t tempSemi |
The temperature in 0.5°C-units.
Referenced by CmdGetSensorValues(), CmdStat(), DoCflags(), DoTflags(), Init(), ISR(), and ShowScreen().
1.8.15