You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef APP_TASK_485_CONTROL
|
|
|
|
#define APP_TASK_485_CONTROL
|
|
|
|
|
|
|
|
#include "../ctask/task.h"
|
|
|
|
#include "../tpc/tpc_modbus.h"
|
|
|
|
#include "app_common.h"
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
TS_task task;
|
|
|
|
S32 total_weight_pool;
|
|
|
|
U16 rfid_pool;
|
|
|
|
U32 sendstmp;
|
|
|
|
U8 sendflag;
|
|
|
|
}TS_485_control;
|
|
|
|
|
|
|
|
extern TS_485_control ts_485_control;
|
|
|
|
|
|
|
|
extern void L3_task_485_control_init();
|
|
|
|
extern void L3_task_485_control_handle(TS_485_control *s);
|
|
|
|
|
|
|
|
#endif
|