|
@@ -111,7 +111,7 @@ namespace gsd
|
|
|
// 同步数据
|
|
|
for(auto iter = nettyHttpResultMsg.datas.begin(); iter != nettyHttpResultMsg.datas.end(); iter++){
|
|
|
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:
|
|
|
// 上海民航1
|
|
@@ -141,8 +141,8 @@ namespace gsd
|
|
|
expelDevice.deviceType = DeviceType::DeviceGasV2;
|
|
|
break;
|
|
|
|
|
|
- case 8:
|
|
|
- //sanya
|
|
|
+ case 9:
|
|
|
+ //diustou
|
|
|
expelDevice.deviceType = DeviceType::DevicePlayerV5;
|
|
|
break;
|
|
|
default:
|