mcu_hi3321_watch/tjd/ui/app/battery_saver/TjdUiAppBatterySaverModel.h
2025-05-26 20:15:20 +08:00

40 lines
871 B
C++

/*----------------------------------------------------------------------------
* Copyright (c) TJD Technologies Co., Ltd. 2024. All rights reserved.
*
* Description: TjdUiAppPowerSavingDialModel.h
*
* Author: luziquan@ss-tjd.com
*
* Create: 2024-11-18
*--------------------------------------------------------------------------*/
#ifndef TJD_UI_APP_BATTERY_SAVER_MODEL_H
#define TJD_UI_APP_BATTERY_SAVER_MODEL_H
namespace TJD {
struct BatterySaverData {
int month;
int day;
int hour;
int minute;
int second;
int week;
int step;
};
class TjdUiAppBatterySaverModel
{
public:
static TjdUiAppBatterySaverModel &GetInstance(void);
struct BatterySaverData GetCurrentData(void);
void SetLcdIdleMode(bool enable);
private:
TjdUiAppBatterySaverModel() {};
~TjdUiAppBatterySaverModel() {};
};
} // namespace TJD
#endif