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

#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 EDAD_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"

//752协议头
//COM
#define DTM752_CONF "CONF/"
#define DTM752_CONF182 "CONF/182"
#define DTM752_CONF136 "CONF/136"
#define DTM752_CONF137 "CONF/137"
#define DTM752_GET "GET//WI13"
#define DTM752_CCL "CODE/CONF/LIST"
#define DTM752_JCL "JOB/CONF/LIST"
#define DTM752_FCL "FORM/CONF/LIST"
#define DTM752_HCL "HAL/CONF/LIST"
#define DTM752_VCL "VAL/CONF/LIST"
//save
#define DTM752_FS "FORM/SET/"//后面还需要加点文件类型序号 见FORM/CONF/LIST
#define DTM752_JRC "JOB/RCV/COORDS/" //FP 后面还需要加点文件序号
#define DTM752_JRO "JOB/RCV/OBSERV/" //MP 后面还需要加点文件序号
//SUBTREE TEXT
#define DTM752_SUBTREETITLE_JOB "JOB"
#define DTM752_SUBTREETITLE_JOBLIST "JobList"
#define DTM752_SUBTREETITLE_FIXPOINTS "FixPoints"
#define DTM752_SUBTREETITLE_MEASUREMENTPOINTS "MeasurementPoints"

#endif // PLATFORMDEFINE_H
