⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testmanage.h

📁 基于嵌入式QT和DBstar SQL关系数据库的应用软件
💻 H
字号:
#ifndef TESTMANAGE_H#define TESTMANAGE_H/* db.* 1.0.0 *//* database testManage record/key structure declarations */struct info {   char name[21];   char commPhone[12];   char overTelphone[9];   char seriesNo[21];   char equipment[9];   char portNo[9];   char zhiLie[9];   char zhuGan[9];   char jiaoJieXiang[9];   char fenXianXiang[9];   char address[81];   int USConRate;   int DSConRate;   char TrainedPath[31];   char TrainedMode[31];   int vci_vpi_val;   char atucVendorId[31];   int usTxPower;   int dsTxPower;   int usLineAttn;   int dsLineAttn;   int usMargin;   int dsMargin;   int usMaxRate;   int dsMaxRate;   int LOS_errors;   int SEF_errors;   int coLosErrors;   int coRdiErrors;   int usICRC_errors;   int usFCRC_errors;   int dsICRC_errors;   int dsFCRC_errors;   int usIFEC_errors;   int usFFEC_errors;   int dsIFEC_errors;   int dsFFEC_errors;   int usIHEC_errors;   int usFHEC_errors;   int dsIHEC_errors;   int dsFHEC_errors;   int usAtm_count;   int usIdle_count;   int usPdu_count;   int dsGood_count;   int dsIdle_count;   int dsBadHec_count;   int dsOVFDrop_count;   int dsPdu_count;   short dsBitAllocTbl[512];   short usBitAllocTbl[32];   char capacitance[15];   char s_resistor[15];   char l_resistor[15];   char dc_voltage[15];   char ac_voltage[15];};/* record, field and set table entry definitions *//* File Id Constants *//* Record Name Constants */#define INFO 10000/* Field Name Constants */#define NAME 0L#define COMMPHONE 1L#define OVERTELPHONE 2L#define SERIESNO 3L#define EQUIPMENT 4L#define PORTNO 5L#define ZHILIE 6L#define ZHUGAN 7L#define JIAOJIEXIANG 8L#define FENXIANXIANG 9L#define ADDRESS 10L#define USCONRATE 11L#define DSCONRATE 12L#define TRAINEDPATH 13L#define TRAINEDMODE 14L#define VCI_VPI_VAL 15L#define ATUCVENDORID 16L#define USTXPOWER 17L#define DSTXPOWER 18L#define USLINEATTN 19L#define DSLINEATTN 20L#define USMARGIN 21L#define DSMARGIN 22L#define USMAXRATE 23L#define DSMAXRATE 24L#define LOS_ERRORS 25L#define SEF_ERRORS 26L#define COLOSERRORS 27L#define CORDIERRORS 28L#define USICRC_ERRORS 29L#define USFCRC_ERRORS 30L#define DSICRC_ERRORS 31L#define DSFCRC_ERRORS 32L#define USIFEC_ERRORS 33L#define USFFEC_ERRORS 34L#define DSIFEC_ERRORS 35L#define DSFFEC_ERRORS 36L#define USIHEC_ERRORS 37L#define USFHEC_ERRORS 38L#define DSIHEC_ERRORS 39L#define DSFHEC_ERRORS 40L#define USATM_COUNT 41L#define USIDLE_COUNT 42L#define USPDU_COUNT 43L#define DSGOOD_COUNT 44L#define DSIDLE_COUNT 45L#define DSBADHEC_COUNT 46L#define DSOVFDROP_COUNT 47L#define DSPDU_COUNT 48L#define DSBITALLOCTBL 49L#define USBITALLOCTBL 50L#define CAPACITANCE 51L#define S_RESISTOR 52L#define L_RESISTOR 53L#define DC_VOLTAGE 54L#define AC_VOLTAGE 55L/* Set Name Constants *//* Field Sizes */#define SIZEOF_NAME 21#define SIZEOF_COMMPHONE 12#define SIZEOF_OVERTELPHONE 9#define SIZEOF_SERIESNO 21#define SIZEOF_EQUIPMENT 9#define SIZEOF_PORTNO 9#define SIZEOF_ZHILIE 9#define SIZEOF_ZHUGAN 9#define SIZEOF_JIAOJIEXIANG 9#define SIZEOF_FENXIANXIANG 9#define SIZEOF_ADDRESS 81#define SIZEOF_USCONRATE 4#define SIZEOF_DSCONRATE 4#define SIZEOF_TRAINEDPATH 31#define SIZEOF_TRAINEDMODE 31#define SIZEOF_VCI_VPI_VAL 4#define SIZEOF_ATUCVENDORID 31#define SIZEOF_USTXPOWER 4#define SIZEOF_DSTXPOWER 4#define SIZEOF_USLINEATTN 4#define SIZEOF_DSLINEATTN 4#define SIZEOF_USMARGIN 4#define SIZEOF_DSMARGIN 4#define SIZEOF_USMAXRATE 4#define SIZEOF_DSMAXRATE 4#define SIZEOF_LOS_ERRORS 4#define SIZEOF_SEF_ERRORS 4#define SIZEOF_COLOSERRORS 4#define SIZEOF_CORDIERRORS 4#define SIZEOF_USICRC_ERRORS 4#define SIZEOF_USFCRC_ERRORS 4#define SIZEOF_DSICRC_ERRORS 4#define SIZEOF_DSFCRC_ERRORS 4#define SIZEOF_USIFEC_ERRORS 4#define SIZEOF_USFFEC_ERRORS 4#define SIZEOF_DSIFEC_ERRORS 4#define SIZEOF_DSFFEC_ERRORS 4#define SIZEOF_USIHEC_ERRORS 4#define SIZEOF_USFHEC_ERRORS 4#define SIZEOF_DSIHEC_ERRORS 4#define SIZEOF_DSFHEC_ERRORS 4#define SIZEOF_USATM_COUNT 4#define SIZEOF_USIDLE_COUNT 4#define SIZEOF_USPDU_COUNT 4#define SIZEOF_DSGOOD_COUNT 4#define SIZEOF_DSIDLE_COUNT 4#define SIZEOF_DSBADHEC_COUNT 4#define SIZEOF_DSOVFDROP_COUNT 4#define SIZEOF_DSPDU_COUNT 4#define SIZEOF_DSBITALLOCTBL 1024#define SIZEOF_USBITALLOCTBL 64#define SIZEOF_CAPACITANCE 15#define SIZEOF_S_RESISTOR 15#define SIZEOF_L_RESISTOR 15#define SIZEOF_DC_VOLTAGE 15#define SIZEOF_AC_VOLTAGE 15#endif    /* TESTMANAGE_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -