--- /dev/null
+#ifndef THUNDERBIRD_MODEL_H
+#define THUNDERBIRD_MODEL_H
+
+#include <cstdint>
+#include <map>
+#include <iostream>
+#include <unordered_map>
+#include "AppViewIDs.h"
+#include "UiConfig.h"
+
+namespace OHOS
+{
+ class ThunderBirdModel
+ {
+ public:
+ static ThunderBirdModel *GetInstance(void);
+ std::string GetCurrentTimeStr();
+ void timer_callback_proc();
+ void StopTimer(void);
+ void StartTimer(uint32_t interval = 2 * 1000);//2秒
+
+ private:
+ ThunderBirdModel();
+ virtual ~ThunderBirdModel();
+ ThunderBirdModel(const ThunderBirdModel &) = delete;
+ ThunderBirdModel &operator=(const ThunderBirdModel &) = delete;
+ };
+}
+
+#endif // THUNDERBIRD_MODEL_H
\ No newline at end of file