123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #ifndef __DEVICEGASV3_HPP_
- #define __DEVICEGASV3_HPP_
- #include <iostream>
- #include "UtilBase.hpp"
- #include "PlayerControl.h"
- #include "PlayerDeviceList.h"
- #include "PlayerLogin.h"
- #include "PlayerLogout.h"
- #include "PlayerStatus.h"
- #include "ExpelDevice.h"
- #include <vector>
- 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
|