|
|
@@ -474,15 +474,6 @@ static void HMI_Decode(void)
|
|
|
LOG_I("散热风机已关闭!");
|
|
|
}
|
|
|
|
|
|
- //开始对焦拍照
|
|
|
- else if(strstr(rx_buffer,"putTest.switchAutopic=1")!=NULL){
|
|
|
- device_status.autotakepic=1;
|
|
|
- rt_kprintf("开始对焦拍照!\n");
|
|
|
- }
|
|
|
- //停止对焦拍照
|
|
|
- else if(strstr(rx_buffer,"putTest.switchAutopic=0")!=NULL){
|
|
|
- device_status.autotakepic=0;
|
|
|
- }
|
|
|
//粘附测试-开
|
|
|
else if(strstr(rx_buffer,"putTest.switchFsl=1")!=NULL){
|
|
|
rt_kprintf("粘附测试开!\n");
|
|
|
@@ -1588,7 +1579,7 @@ void Check_ParamConfig(void)
|
|
|
device_status.iSave=FLASH_FLAG;
|
|
|
/*设备类型,7孢子仪,3测报灯,默认设置测报灯*/
|
|
|
device_status.dtype = 3;
|
|
|
- device_status.version_type = 4; //4.0
|
|
|
+ device_status.version_type = 5; //4.0
|
|
|
device_status.Power_Type = 0; //0-交流供电;1-直流供电
|
|
|
device_status.clt_time = 10; //收集时间
|
|
|
device_status.heattime = 10; //加热时间
|
|
|
@@ -1617,7 +1608,7 @@ void Check_ParamConfig(void)
|
|
|
device_status.cul_time = 1;
|
|
|
device_status.run_sta = 0;
|
|
|
device_status.handle_bugger = 0; //默认排虫
|
|
|
- sprintf(device_status.driver, "%s",VERSION_HK);
|
|
|
+ sprintf(device_status.driver, "%s",VERSION_V5);
|
|
|
sprintf(device_status.deviceId,"0");
|
|
|
rt_sprintf(device_status.tempture, "-15");
|
|
|
rt_sprintf(device_status.humidity, "31");
|