1 Star 5 Fork 5

杰神 / iot-noob

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
instruction.cpp 420 Bytes
一键复制 编辑 原始数据 按行查看 历史
#include "instruction.hpp"
bool InstructionProfile::Parse(cJSON* json)
{
if (!json)
return false;
json_get_string(this, json, device);
json_get_string(this, json, point);
json_get_number(this, json, value);
json_get_string(this, json, expr);
return true;
}
Instruction::Instruction(InstructionProfile* p)
{
profile = p;
//TODO ʽ
}
Instruction::~Instruction()
{
}
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

搜索帮助