|
@@ -1211,13 +1211,12 @@ void ResetParamDefault(void)
|
|
|
device_status.ds = 1; //设备状态开机
|
|
device_status.ds = 1; //设备状态开机
|
|
|
device_status.thsp = 300;
|
|
device_status.thsp = 300;
|
|
|
device_status.passWord = 8888;
|
|
device_status.passWord = 8888;
|
|
|
- device_status.dattim = 30;
|
|
|
|
|
device_status.Power_Type = 0;
|
|
device_status.Power_Type = 0;
|
|
|
ef_set_env_blob("Power_Type", &device_status.Power_Type, sizeof(device_status.Power_Type));
|
|
ef_set_env_blob("Power_Type", &device_status.Power_Type, sizeof(device_status.Power_Type));
|
|
|
|
|
|
|
|
device_status.cul_time = 60; //收集时间
|
|
device_status.cul_time = 60; //收集时间
|
|
|
ef_set_env_blob("cul_time", &device_status.cul_time, sizeof(device_status.cul_time));
|
|
ef_set_env_blob("cul_time", &device_status.cul_time, sizeof(device_status.cul_time));
|
|
|
- device_status.dattim = 30; //数据上传间隔
|
|
|
|
|
|
|
+ device_status.dattim = 60; //数据上传间隔
|
|
|
ef_set_env_blob("dattim", &device_status.dattim, sizeof(device_status.dattim)); //数据上传间隔
|
|
ef_set_env_blob("dattim", &device_status.dattim, sizeof(device_status.dattim)); //数据上传间隔
|
|
|
|
|
|
|
|
device_status.startBar = 9; //定时开始时间
|
|
device_status.startBar = 9; //定时开始时间
|
|
@@ -1264,17 +1263,17 @@ void ResetParamDefault_DC(void)
|
|
|
rt_sprintf(device_status.tempture,"%d",-15);
|
|
rt_sprintf(device_status.tempture,"%d",-15);
|
|
|
device_status.cul_time = 60; //收集时间
|
|
device_status.cul_time = 60; //收集时间
|
|
|
ef_set_env_blob("cul_time", &device_status.cul_time, sizeof(device_status.cul_time));
|
|
ef_set_env_blob("cul_time", &device_status.cul_time, sizeof(device_status.cul_time));
|
|
|
- device_status.dattim = 30; //数据上传间隔
|
|
|
|
|
|
|
+ device_status.dattim = 60; //数据上传间隔
|
|
|
ef_set_env_blob("dattim", &device_status.dattim, sizeof(device_status.dattim)); //数据上传间隔
|
|
ef_set_env_blob("dattim", &device_status.dattim, sizeof(device_status.dattim)); //数据上传间隔
|
|
|
- device_status.startBar = 9; //定时开始时间
|
|
|
|
|
- device_status.stopBar = 18; //定时结束时间
|
|
|
|
|
|
|
+ device_status.startBar = 10; //定时开始时间
|
|
|
|
|
+ device_status.stopBar = 22; //定时结束时间
|
|
|
device_status.heattime = 10; //加热时间
|
|
device_status.heattime = 10; //加热时间
|
|
|
device_status.shake_ws = 1; //针对开关
|
|
device_status.shake_ws = 1; //针对开关
|
|
|
device_status.shake_sec = 1; //震动时间1-100ms
|
|
device_status.shake_sec = 1; //震动时间1-100ms
|
|
|
device_status.sunBar = 4;
|
|
device_status.sunBar = 4;
|
|
|
device_status.Power_Type = 1;
|
|
device_status.Power_Type = 1;
|
|
|
device_status.tph = 70; //高温保护阈值
|
|
device_status.tph = 70; //高温保护阈值
|
|
|
- device_status.tpl = -5; //低温保护阈值
|
|
|
|
|
|
|
+ device_status.tpl = 5; //低温保护阈值
|
|
|
device_status.timeSwitch = 1; //定时模式
|
|
device_status.timeSwitch = 1; //定时模式
|
|
|
device_status.heatvalue=100;
|
|
device_status.heatvalue=100;
|
|
|
device_status.ds = 1; //设备状态开机
|
|
device_status.ds = 1; //设备状态开机
|