实现MQTT功能, 修改HTTP接口

This commit is contained in:
lixiaoyuan
2025-09-04 19:31:04 +08:00
parent 61ed4f355f
commit d81bcd9983
30 changed files with 2029 additions and 697 deletions

View File

@@ -89,8 +89,10 @@ namespace DMStation
const string TEL = "tel";
const string CAPACITY = "capacity";
const string STATUS = "status";
const string WORK_MODE_ID = "work_mode_id";
const string WORK_MODE = "work_mode";
const string POLICY_ID = "policy_id";
const string CODE = "code";
const string ATTR = "attr";
}
namespace DMDefDeviceType
@@ -178,4 +180,14 @@ namespace DMStatStation
const string CHARGE_ELECT = "charge_elect";
const string CHARGE_NUM = "charge_num";
const string CHARGE_NUM_ERR = "charge_num_err";
}
}
namespace DMHistory1
{
const string TABLENAME = "history1";
const string DT = "dt";
const string STATION_ID = "station_id";
const string DEVICE_ID = "device_id";
const string DATATYPE = "datatype";
const string VALUE = "value";
}