/********************************************************************* * * overview: * subscribe to FDAA define * * * copyright: Shanghai Baosight Software Co., Ltd. * * Version history * 1.0 2020-05-21 zoufuzhou create * *********************************************************************/ #pragma once #include #include #include using namespace std; #define BUFF_SIZE 204800 #define CACHE_SIZE 21 #define CS_SPLIT 20 struct TCACHE{ char buff[BUFF_SIZE]; int length; }; typedef queue QT_CACHE; struct SUB_ADDR{ short mode; char addr[20]; short addrbit; }; class SU_MODE{ public: static const short NORMAL = 0; static const short UNKNOW = 1; static const short BINARY = 2; }; typedef map MP_ADDR;