mcu_hi3321_watch/application/wearable/nativeapp/nativeui/temperature/include/TempModel.h
2025-05-26 20:15:20 +08:00

28 lines
599 B
C++

/*
* Copyright (c) CompanyNameMagicTag 2022-2022. All rights reserved.
* Description: temperature
* Author:
* Create: 2022-02-15
*/
#ifndef TEMP_MODEL_H
#define TEMP_MODEL_H
#include "ohos_types.h"
#include "list.h"
#include "source.h"
#include "ChangeSliceListener.h"
namespace OHOS {
class TempModel {
public:
TempModel();
virtual ~TempModel();
static TempModel *GetInstance(void);
void SetTempInterLis(int16 interListen);
int16 GetTempInterLis(void);
private:
int16 tempInterLis{0}; // 监测是否为首次进入体温应用
};
}
#endif