export const HEAD_ROW_LENGTH=10; export enum DataType { Bool='bool', Byte='byte',//8位无符号整型,0到255 Char='char',//16位Unicode字符 U +0000 到 U +ffff Decimal='decimal',//128位精确的十进制值,28-29有效位数 (-7.9 x 1028 到 7.9 x 1028) / 100 到 28 Double='double',//64位双精度浮点型 (+/-)5.0 x 10-324 到 (+/-)1.7 x 10308 float='float',//32位单精度浮点型 -3.4 x 1038 到 + 3.4 x 1038 int='int',//32位有符号整数类型 -2,147,483,648 到 2,147,483,647 long='long',//64位有符号整数类型 -9,223,372,036,854,775,808 到 9,223,372,036,854,775,807 sbyte='sbyte',//8位有符号整数类型 -128 到 127 short='short',//16位有符号整数类型 -32,768 到 32,767 uint='uint',//32位无符号整数类型 0 到 4,294,967,295 ulong='ulong',//64位无符号整数类型 0 到 18,446,744,073,709,551,615 ushort='ushort',//16 位无符号整数类型 0 到 65,535 string='string'//字符串 } export enum ExportType{ Front=1, Back=2, All=3 } export class Header { name: string; exportType:ExportType; description:string; type: DataType; verifications: string; split:string;//数组分隔符 } export class Table { name: string;//表名 headers: Array
;//表头 data: Array>;//数据 constructor(name:string){ this.name=name; this.data=new Array>(); this.headers=new Array
(); } }