|
|
@@ -1029,7 +1029,14 @@ char * makeJson()
|
|
|
else if (device_status.version_type==6) { //吸虫塔
|
|
|
rt_sprintf(utos,"6");
|
|
|
cJSON_AddStringToObject(pSubJson,"vtype",utos);
|
|
|
+ }else if (device_status.version_type==42) { //吸虫塔
|
|
|
+ rt_sprintf(utos,"42");
|
|
|
+ cJSON_AddStringToObject(pSubJson,"vtype",utos);
|
|
|
+ }else if (device_status.version_type==43) { //吸虫塔
|
|
|
+ rt_sprintf(utos,"43");
|
|
|
+ cJSON_AddStringToObject(pSubJson,"vtype",utos);
|
|
|
}
|
|
|
+
|
|
|
if(device_status.version_type!=6&&device_status.dtype!=7)
|
|
|
{
|
|
|
//光控定时
|