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:
@@ -35,6 +35,9 @@ public:
|
||||
Errcode updateStation(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
Errcode deleteStation(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
|
||||
Errcode queryStationInfo(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
Errcode queryStationData(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
|
||||
Errcode queryDeviceList(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
Errcode insertDevice(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
Errcode updateDevice(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
@@ -58,5 +61,8 @@ public:
|
||||
|
||||
Errcode queryStatSystem(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
Errcode queryStatTotal(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
Errcode queryStatStation(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
Errcode queryStatDayList(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
|
||||
Errcode queryEnvironment(const httplib::Request& req, httplib::Response& resp, NJsonNode& json);
|
||||
};
|
||||
Reference in New Issue
Block a user