|
@@ -1413,7 +1413,7 @@ void ResetInit(void)
|
|
|
{
|
|
{
|
|
|
//1.打开路由器供电
|
|
//1.打开路由器供电
|
|
|
#if MATCH_DEVICE ==0
|
|
#if MATCH_DEVICE ==0
|
|
|
- ctr_router(ON);
|
|
|
|
|
|
|
+ ctr_router(ON);
|
|
|
#endif
|
|
#endif
|
|
|
ctr_RTU_DTU(ON);
|
|
ctr_RTU_DTU(ON);
|
|
|
//2.打开相机供电
|
|
//2.打开相机供电
|
|
@@ -1834,9 +1834,6 @@ void WorkTask(void)
|
|
|
if(device_status.work_done==0&&device_status.work_status==0)
|
|
if(device_status.work_done==0&&device_status.work_status==0)
|
|
|
{
|
|
{
|
|
|
DTU_Write("workdone");
|
|
DTU_Write("workdone");
|
|
|
- if (device_status.version_type==1) {
|
|
|
|
|
- turnzp(); //2024-03-21 :开机不再转仓
|
|
|
|
|
- }
|
|
|
|
|
ResetInit();
|
|
ResetInit();
|
|
|
clt_time = 0;
|
|
clt_time = 0;
|
|
|
}
|
|
}
|