1 Star 5 Fork 5

杰神 / iot-noob

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
job.hpp 478 Bytes
一键复制 编辑 原始数据 按行查看 历史
#pragma once
#include "define.hpp"
#include "command.hpp"
class JobProfile
{
public:
bool enable;
std::string type; //daily, crontab
uint16_t daily; //daily 零点起分钟数
WeekRange weekRange; //daily 每周生效日
std::string crontab; //crontab
std::vector<InvokeProfile> invokes;
bool Parse(cJSON* json);
};
class Job
{
private:
JobProfile* profile;
public:
Job(/* args */);
~Job();
};
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

搜索帮助