|
@@ -824,7 +824,11 @@ char * makeJson()
|
|
|
else if (device_status.version_type==42) { //测报灯低端款
|
|
else if (device_status.version_type==42) { //测报灯低端款
|
|
|
rt_sprintf(utos,"42");
|
|
rt_sprintf(utos,"42");
|
|
|
cJSON_AddStringToObject(pSubJson,"vtype",utos);
|
|
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)
|
|
if(device_status.version_type!=6&&device_status.dtype!=7)
|
|
|
{
|
|
{
|
|
|
//光控定时
|
|
//光控定时
|