|
@@ -578,24 +578,8 @@ void Task_Usart2_Collector(void const *argument)
|
|
|
//DS1302_get_all();
|
|
|
}
|
|
|
|
|
|
- //if(1==10)
|
|
|
- if (En_XieYouFa_OverSample && (tmrForRemoteCali == 0))
|
|
|
- { ///针对0x13数据帧特殊处理 解决加油站采样1L左右的油品不破封的问题---开始
|
|
|
- //按照老的格式读取之前的阀门状态----多个阀门状态或运算之后进行铅封业务运算
|
|
|
- ReadCollect_ValveState_64Byte(0x000003, Collector_Get_Valve_OldFormat, 0x0002, 0x0000, 0x0000);
|
|
|
- //HAL_GPIO_TogglePin(GPIOC, DWI_Pin); //复位看门狗sp706
|
|
|
- //HAL_Delay(SPAN_ControllerAndCollector_INTERVAL);
|
|
|
- //osDelay(SPAN_ControllerAndCollector_INTERVAL_100);
|
|
|
- xEventGroupSetBits(xCreatedEventGroup, TASK_BIT_1);
|
|
|
- Parse_0x0013_Data();
|
|
|
-
|
|
|
- Test_get_state(); //
|
|
|
-
|
|
|
- Break_Seal(); //破封检测 Elect_cover();////电子铅封系统处理
|
|
|
-
|
|
|
- } ///针对0x13数据帧特殊处理 解决加油站采样1L左右的油品不破封的问题---结束
|
|
|
xEventGroupSetBits(xCreatedEventGroup, TASK_BIT_1);
|
|
|
- osDelay(20); //阻塞时间
|
|
|
+ osDelay(100); //阻塞时间
|
|
|
}
|
|
|
/* USER CODE END Task_Usart2_Collector */
|
|
|
}
|