![]() |
Meditech control panel software
1.0beta
application C++ firmware for control panel ChipKit PI board
|
#include "LCDTemplates.h"
Public Member Functions | |
| LCDTemplates (AlphaLCD myLCD) | |
| Class constructor. More... | |
| int | createDisplay () |
| Create the full display view parameters. More... | |
| void | updateDisplay (String val, int fieldID) |
| Update the variable content field(s) only. More... | |
| void | cleanDisplay () |
| Clean che LCD display area. More... | |
Public Attributes | |
| int | id |
| LCDTemplateField | fields |
Private Attributes | |
| AlphaLCD | mLcd |
Definition at line 144 of file LCDTemplates.h.
| LCDTemplates::LCDTemplates | ( | AlphaLCD | myLCD | ) |
| void LCDTemplates::cleanDisplay | ( | ) |
Clean che LCD display area.
Definition at line 144 of file LCDTemplates.cpp.
References mLcd.
Referenced by parser().
| int LCDTemplates::createDisplay | ( | ) |
Create the full display view parameters.
This method should be called only when the template ID has already been set.
Definition at line 26 of file LCDTemplates.cpp.
References BLOOD_MAX, BLOOD_MAXVAL, BLOOD_MIN, BLOOD_MINVAL, BLOOD_TITLE, BLOOD_WAIT, BLOODPRESS_FIELDS, LCDTemplateField::col, DEFAULT_FIELDS, DEFAULT_STATUS, DEFAULT_TITLE, DEFAULT_VERSION, ECG_FIELDS, ECG_STATUS, ECG_STATUSFLAG, ECG_TITLE, fields, HEARTBEAT_AVERAGE, HEARTBEAT_AVERAGEVAL, HEARTBEAT_FIELDS, HEARTBEAT_SPOT, HEARTBEAT_SPOTVAL, HEARTBEAT_TITLE, INFO_DATE, INFO_FIELDS, INFO_GPS, INFO_RPM, INFO_TIME, INFO_TITLE, LCDTemplateField::row, STET_GAIN, STET_GAINVAL, STET_TITLE, STETHOSCOPE_FIELDS, TEMPERATURE_AVERAGE, TEMPERATURE_AVERAGEVAL, TEMPERATURE_FIELDS, TEMPERATURE_SPOT, TEMPERATURE_SPOTVAL, TEMPERATURE_TITLE, TEST_FIELDS, TEST_STATUS, TEST_TITLE, TID_BLOODPRESS, TID_DEFAULT, TID_ECG, TID_HEARTBEAT, TID_INFO, TID_STETHOSCOPE, TID_TEMPERATURE, and TID_TEST.
Referenced by parser().
| void LCDTemplates::updateDisplay | ( | String | val, |
| int | fieldID | ||
| ) |
Update the variable content field(s) only.
This method should be called every time the field content of a variable is updated. It affects only the data content fields. To recreate the entire display the createDisplay() method should be called. When the method is called, the class field value is updated after the value conversion.
| val | The string to update |
| field | The field ID |
Definition at line 136 of file LCDTemplates.cpp.
References LCDTemplateField::col, fields, mLcd, and LCDTemplateField::row.
Referenced by parser().
| LCDTemplateField LCDTemplates::fields |
Definition at line 151 of file LCDTemplates.h.
Referenced by createDisplay(), and updateDisplay().
| int LCDTemplates::id |
Definition at line 150 of file LCDTemplates.h.
Referenced by parser().
|
private |
Definition at line 153 of file LCDTemplates.h.
Referenced by cleanDisplay(), LCDTemplates(), and updateDisplay().