|
|
@@ -1795,9 +1795,9 @@ void Check_ParamConfig(void)
|
|
|
device_status.dtype = 3;
|
|
|
device_status.version_type = 4; //4.0
|
|
|
device_status.Power_Type = 0; //0-交流供电;1-直流供电
|
|
|
- device_status.clt_time = 10; //收集时间
|
|
|
- device_status.heattime = 10; //加热时间
|
|
|
- device_status.heatvalue=100;//加热温度
|
|
|
+ device_status.clt_time = 6; //收集时间
|
|
|
+ device_status.heattime = 8; //加热时间
|
|
|
+ device_status.heatvalue=100; //加热温度
|
|
|
device_status.thsp = 300; //默认熄屏时间5分钟
|
|
|
device_status.sunBar = 9; //光控定时时长
|
|
|
device_status.startBar = 20; //定时开始时间
|
|
|
@@ -1812,7 +1812,7 @@ void Check_ParamConfig(void)
|
|
|
#endif
|
|
|
device_status.vol = 7; //音量
|
|
|
device_status.timeSwitch = 0; //工作模式:光控
|
|
|
- device_status.passWord = 8888; //屏幕密码
|
|
|
+ device_status.passWord = 8888; //屏幕密码
|
|
|
device_status.dattim = 10; //数据上传间隔
|
|
|
device_status.ds = 1; //设备状态
|
|
|
device_status.update_flag = 0;
|
|
|
@@ -2102,12 +2102,12 @@ void ResetParamDefault(void)
|
|
|
ef_set_env_blob("dattim",&device_status.dattim,sizeof(device_status.dattim)); //上传时间
|
|
|
if(device_status.dtype==3)
|
|
|
{
|
|
|
- device_status.clt_time = 10; //收集时间
|
|
|
+ device_status.clt_time = 6; //收集时间
|
|
|
#if LAMP_EN == 0
|
|
|
device_status.startBar = 20; //定时开始时间
|
|
|
device_status.stopBar = 5; //定时结束时间
|
|
|
#endif
|
|
|
- device_status.heattime = 10; //加热时间
|
|
|
+ device_status.heattime = 8; //加热时间
|
|
|
device_status.shake_ws = 1; //针对开关
|
|
|
#if TG_MODULE == 0
|
|
|
device_status.shake_sec = 1; //震动时间,s
|
|
|
@@ -2161,13 +2161,13 @@ void ResetParamDefault_DC(void)
|
|
|
{
|
|
|
//将温度数据设置为-15摄氏度,以便上传的数据中包含温控数据
|
|
|
rt_sprintf(device_status.tempture,"%d",-15);
|
|
|
- device_status.clt_time = 10; //收集时间
|
|
|
+ device_status.clt_time = 6; //收集时间
|
|
|
device_status.dattim = 10; //数据上传间隔
|
|
|
#if LAMP_EN == 0
|
|
|
device_status.startBar = 20; //定时开始时间
|
|
|
device_status.stopBar = 0; //定时结束时间
|
|
|
#endif
|
|
|
- device_status.heattime = 10; //加热时间
|
|
|
+ device_status.heattime = 8; //加热时间
|
|
|
device_status.shake_ws = 1; //针对开关
|
|
|
#if TG_MODULE == 0
|
|
|
device_status.shake_sec = 1; //震动时间,s
|