#ifndef WORK_H #define WORK_H #include "OsSample.h" #define LISTEN_PORT 12345 //监听端口 #define SEND_PORT 54321 //发送端口 typedef struct { uint8_t canFd; //是否CAN_FD uint8_t status; //开关状态 uint8_t product; //当前厂商 uint8_t chnlNum; //通道个数 }WORK_STATUS,*WORK_STATUS_PTR; extern WORK_STATUS work; #endif