mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
实现MQTT功能, 修改HTTP接口
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user