|
@@ -111,7 +111,7 @@ namespace gsd
|
|
// 同步数据
|
|
// 同步数据
|
|
for(auto iter = nettyHttpResultMsg.datas.begin(); iter != nettyHttpResultMsg.datas.end(); iter++){
|
|
for(auto iter = nettyHttpResultMsg.datas.begin(); iter != nettyHttpResultMsg.datas.end(); iter++){
|
|
expelDevice.DeviceId = iter->birdDeviceCode;
|
|
expelDevice.DeviceId = iter->birdDeviceCode;
|
|
- switch ((int)iter->deviceControlType)
|
|
|
|
|
|
+ switch ((int)iter->deviceControlType) // device type defined by the netty. Not applied in config.ini
|
|
{
|
|
{
|
|
case 2:
|
|
case 2:
|
|
// 上海民航1
|
|
// 上海民航1
|
|
@@ -141,8 +141,8 @@ namespace gsd
|
|
expelDevice.deviceType = DeviceType::DeviceGasV2;
|
|
expelDevice.deviceType = DeviceType::DeviceGasV2;
|
|
break;
|
|
break;
|
|
|
|
|
|
- case 8:
|
|
|
|
- //sanya
|
|
|
|
|
|
+ case 9:
|
|
|
|
+ //diustou
|
|
expelDevice.deviceType = DeviceType::DevicePlayerV5;
|
|
expelDevice.deviceType = DeviceType::DevicePlayerV5;
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|