|
|
@@ -1556,8 +1556,8 @@ void Check_ParamConfig(void)
|
|
|
device_status.sunBar = 9; //光控定时时长
|
|
|
device_status.startBar = 20; //定时开始时间
|
|
|
device_status.stopBar = 0; //定时结束时间
|
|
|
- device_status.tph = 70; //高温保护阈值
|
|
|
- device_status.tpl = 5; //低温保护阈值
|
|
|
+ device_status.tph = 60; //高温保护阈值
|
|
|
+ device_status.tpl = 10; //低温保护阈值
|
|
|
device_status.shake_ws = 1; //震动开关,默认开
|
|
|
device_status.shake_sec = 1; //震动时间,s
|
|
|
device_status.vol = 7; //音量
|
|
|
@@ -1819,6 +1819,10 @@ void ResetParamDefault(void)
|
|
|
device_status.collt_min_sh3 = 0;
|
|
|
device_status.collt_min_eh3 = 0;
|
|
|
device_status.Power_Type = 0;
|
|
|
+ device_status.tph = 70; //高温保护阈值
|
|
|
+ device_status.tpl = 10; //低温保护阈值
|
|
|
+ ef_set_env_blob("tph", &device_status.tph, sizeof(device_status.tph));
|
|
|
+ ef_set_env_blob("tpl", &device_status.tpl, sizeof(device_status.tpl));
|
|
|
ef_set_env_blob("Power_Type", &device_status.Power_Type, sizeof(device_status.Power_Type));
|
|
|
|
|
|
ef_set_env_blob("dattim",&device_status.dattim,sizeof(device_status.dattim)); //上传时间
|
|
|
@@ -1854,7 +1858,7 @@ void ResetParamDefault_DC(void)
|
|
|
device_status.shake_sec = 1; //震动时间1-100ms
|
|
|
|
|
|
device_status.tph = 70; //高温保护阈值
|
|
|
- device_status.tpl = -5; //低温保护阈值
|
|
|
+ device_status.tpl = 10; //低温保护阈值
|
|
|
device_status.timeSwitch = 0; //定时模式
|
|
|
device_status.heatvalue=100;
|
|
|
device_status.ds = 1; //设备状态开机
|