1 Star 5 Fork 5

杰神 / iot-noob

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
reactor.hpp 516 Bytes
一键复制 编辑 原始数据 按行查看 历史
杰神 提交于 2021-11-19 23:27 . 补充
#pragma once
#include "define.hpp"
#include "compare.hpp"
#include "command.hpp"
class ReactorProfile
{
public:
bool enable;
std::vector<CompareProfile> compares;
std::vector<DailyRange> dailyRanges;
WeekRange weekRange;
int delay;
StatusReset reset;
std::vector<InvokeProfile> invokes;
bool Parse(cJSON* json);
};
class Reactor {
public:
ReactorProfile* profile;
time_t start;
bool reported;
unsigned int resetTimes;
};
C++
1
https://gitee.com/god-jason/iot-noob.git
git@gitee.com:god-jason/iot-noob.git
god-jason
iot-noob
iot-noob
main

搜索帮助