#ifndef PLATFORMDEFINE_H
#define PLATFORMDEFINE_H
//TYPE
#define TYPE_INSTRUMENT_DTM100 "DTM100"
#define TYPE_INSTRUMENT_DTM600 "DTM600"

#define TYPE_COORDINATEFORMAT_NEZ "NEZ"
#define TYPE_COORDINATEFORMAT_ENZ "ENZ"

#define TYPE_VALUE "value" //
#define TYPE_STATUS "status" //

#define MONITOR_TABLE_ROWCOUNT 17

//路径配置
#define PROJ_PATH "/project" //用户工程路径
#define USER_PATH "/user" //用户路径
#define FUNCTION_PATH "/function" //功能路径
#define EXE_PATH "/exe" //可执行文件路径
#define RECORD_PATH "/record" //记录文件路径
#define CONFIG_PATH "/config" //记录文件路径

//文件
#define LOGO_PNG "/logo.png" //LOGO图片文件
#define INFO_XML "/info.xml" //信息文件
#define COMM_XML "/comm.xml" //通讯文件
#define BASEFUNCTION_XML "/function/function.xml" //基本功能文件
#define BASEFUNCTIONDETAILS_XML "/function/functionaldetails.xml" //基本功能细节文件
#define EXE_FILE "/INT_GCMP.exe"
#define EXEUPDATE_FILE "/INTGCMPUpdate.exe"
#define CONFIG_FILE "/config.xml"
#define PARAMETER_FILE "/parameter.xml"

//文件后缀
#define NDAD_FILEEXTENSION "ndad" //大地格式(NEZ)
#define ZDAD_FILEEXTENSION "edad" //大地格式(ENZ)
#define DXF_FILEEXTENSION "dxf" //CAD格式(ENZ)
#define NDAT_FILEEXTENSION "ndat" //南方开思
#define GDAT_FILEEXTENSION "gdat" //广州开思
#define SVF_FILEEXTENSION "svf" //SV300格式
#define PTS_FILEEXTENSION "pts" //拓普康格式
#define TXT_FILEEXTENSION "txt" //文本文档
#define CSV_FILEEXTENSION "csv" //CSV(逗号分隔)

//标志
#define START_FLAG "start" //开始
#define END_FLAG "end" //结束
#define LANGUAGE_FLAG "language"
#define IP_FLAG "ip"
#define PORT_FLAG "port"

//串口来源
#define PORT_FROM_BLUETOOTH "Bluetooth"
#define PORT_FROM_USB "USB"
#define PORT_FROM_COM "COM"

#endif // PLATFORMDEFINE_H
