Object <- Server <- BatteryServer <- BackupBatteryServer |
|
|
InitAtoDChannel InitializeBatteryFields ResetClass |
|
Charging |
| Field | Type | |
|---|---|---|
| Server: | enabled: | Boolean |
| BatteryServer: | monitorPeriod: | Unsigned |
| batteryType: | Signed | |
| chargeable: | Boolean | |
| numberOfCells: | Unsigned | |
| atodChannel: | Unsigned | |
| batteryLevelRemaining: | Fixed | |
| batteryLevelVariance: | Fixed | |
| rawLevelAtLastMeterChange: | Fixed | |
| fullToHalfThreshold: | Fixed | |
| halfToLowThreshold: | Fixed | |
| lowToVeryLowThreshold: | Fixed | |
| veryLowToEmptyThreshold: | Fixed | |
| atodFullReading: | Unsigned | |
| atodEmptyReading: | Unsigned | |
| atodInstalledReading: | Unsigned | |
| lastBatteryAtoDReading: | Unsigned | |
| lastBatteryAtoDReadingTime: | Unsigned | |
| alwaysReportBatteryFull: | Boolean |
instance BackupBatteryServer tag; enabled: false; monitorPeriod: 0; batteryType: 0; chargeable: false; numberOfCells: 0; atodChannel: 0; batteryLevelRemaining: 0; batteryLevelVariance: 0; rawLevelAtLastMeterChange: 0; fullToHalfThreshold: 0; halfToLowThreshold: 0; lowToVeryLowThreshold: 0; veryLowToEmptyThreshold: 0; atodFullReading: 0; atodEmptyReading: 0; atodInstalledReading: 0; lastBatteryAtoDReading: 0; lastBatteryAtoDReadingTime: 0; alwaysReportBatteryFull: false; end instance;
#endif /* BACKLIGHT_TIMER */ #endif /* BACKLIGHT */ Define Class BackupBatteryServer; inherits from BatteryServer; overrides ResetClass; overrides Charging; #ifndef STUB_BATTERIES overrides InitializeBatteryFields; overrides InitAtoDChannel; #endif end class;