#ifndef __DEVICEGASV3_HPP_ #define __DEVICEGASV3_HPP_ #include #include "UtilBase.hpp" #include "PlayerControl.h" #include "PlayerDeviceList.h" #include "PlayerLogin.h" #include "PlayerLogout.h" #include "PlayerStatus.h" #include "ExpelDevice.h" #include namespace gsd{ class DevicePlayerV3:public ContorlHttplBase { private: std::string did = ""; std::string cname = ""; std::string dtype = "全向声波 R360XS2"; public: DevicePlayerV3(): ContorlHttplBase(){ this->DeviceInfo = "深圳机场派尔云控制协议"; this->tool = DeviceTools::http; } ~DevicePlayerV3() {} bool serialization(){} bool deserialization(){} bool Consumer(uint8_t *data, int len, int &msg_id){return true;} bool getStatusMsg(int &msg_id){ return false;}; int8_t Open(std::string DeviceId,uint8_t* data, int& length); int8_t Close(std::string DeviceId, uint8_t* data, int&length); int8_t Fire(std::string DeviceId, uint8_t* data, int& length); int8_t Status(std::string DeviceId, uint8_t* data, int& length); /** * @description: getUrl * @return {*} */ std::string getUrl(); }; } #endif