|
@@ -140,7 +140,7 @@ namespace gsd
|
|
|
int8_t DevicePlayerV4::Open(std::string DeviceId, uint8_t* data, int& length){
|
|
|
ControlerMsg gasControl;
|
|
|
gasControl.deviceId = atoi(DeviceId.c_str());
|
|
|
- if(gasControl.deviceId == 3) gasControl.deviceId = 0;
|
|
|
+ //if(gasControl.deviceId == 3) gasControl.deviceId = 0;
|
|
|
gasControl.msgId = DEVICEGASV3_COMMAND_PLAY_NOW;
|
|
|
gasControl.data = 0x00;
|
|
|
length = 10;
|
|
@@ -157,7 +157,7 @@ namespace gsd
|
|
|
int8_t DevicePlayerV4::Close(std::string DeviceId, uint8_t* data, int& length){
|
|
|
ControlerMsg gasControl;
|
|
|
gasControl.deviceId = atoi(DeviceId.c_str());
|
|
|
- if(gasControl.deviceId == 3) gasControl.deviceId = 0;
|
|
|
+ //if(gasControl.deviceId == 3) gasControl.deviceId = 0;
|
|
|
gasControl.msgId = DEVICEGASV3_COMMAND_STOP;
|
|
|
gasControl.data = 0x00;
|
|
|
length = 10;
|
|
@@ -173,7 +173,7 @@ namespace gsd
|
|
|
int8_t DevicePlayerV4::Fire(std::string DeviceId, uint8_t* data, int& length){
|
|
|
ControlerMsg gasControl;
|
|
|
gasControl.deviceId = atoi(DeviceId.c_str());
|
|
|
- if(gasControl.deviceId == 3) gasControl.deviceId = 0;
|
|
|
+ //if(gasControl.deviceId == 3) gasControl.deviceId = 0;
|
|
|
gasControl.msgId = DEVICEGASV3_COMMAND_PLAY_NOW;
|
|
|
gasControl.data = 0x00;
|
|
|
length = 10;
|