|
|
@@ -576,7 +576,7 @@ static void HMI_Decode(char *cmd,uint8_t cmd_len)
|
|
|
//入口函数-电机控制及
|
|
|
static void Ctr_Mortor_entry(void* parameter)
|
|
|
{
|
|
|
- rt_uint32_t limit_current = 2000; //推杆电击限制电流1A
|
|
|
+ rt_uint32_t limit_current = 3000; //推杆电击限制电流1A
|
|
|
static rt_uint16_t num_up_open = 200; //20s
|
|
|
static rt_uint16_t num_up_close = 200; //
|
|
|
static rt_uint16_t num_down_open = 200; //
|
|
|
@@ -921,14 +921,14 @@ void ResetParamDefault(void)
|
|
|
device_status.startBar = 20; //定时开始时间
|
|
|
device_status.stopBar = 5; //定时结束时间
|
|
|
device_status.heattime = 20; //加热时间
|
|
|
- device_status.shake_ws = 0; //针对开关
|
|
|
+ device_status.shake_ws = 1; //针对开关
|
|
|
device_status.shake_sec = 1; //震动时间1-100ms
|
|
|
device_status.sunBar = 8; //光控定时时长
|
|
|
device_status.tph = 70; //高温保护阈值
|
|
|
device_status.tpl = 5; //低温保护阈值
|
|
|
device_status.timeSwitch = 0; //定时模式
|
|
|
device_status.heatvalue=110;//加热温度
|
|
|
- device_status.ds = 0; //设备状态开机
|
|
|
+ device_status.ds = 1; //设备状态开机
|
|
|
device_status.thsp = 300;
|
|
|
device_status.passWord = 8888;
|
|
|
ef_set_env_blob("ds", &device_status.ds, sizeof(device_status.ds));
|
|
|
@@ -954,14 +954,14 @@ void ResetParamDefault_DC(void)
|
|
|
device_status.startBar = 20; //定时开始时间
|
|
|
device_status.stopBar = 0; //定时结束时间
|
|
|
device_status.heattime = 20; //加热时间
|
|
|
- device_status.shake_ws = 0; //针对开关
|
|
|
+ device_status.shake_ws = 1; //针对开关
|
|
|
device_status.shake_sec = 1; //震动时间1-100ms
|
|
|
device_status.sunBar = 4; //光控定时时长
|
|
|
device_status.tph = 70; //高温保护阈值
|
|
|
device_status.tpl = 5; //低温保护阈值
|
|
|
device_status.timeSwitch = 0; //定时模式
|
|
|
device_status.heatvalue=110;
|
|
|
- device_status.ds = 0; //设备状态开机
|
|
|
+ device_status.ds = 1; //设备状态开机
|
|
|
device_status.thsp = 300;
|
|
|
device_status.passWord = 8888;
|
|
|
device_status.timeSwitch = 0;
|