You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
742 B
C

#ifndef FLY_LINE_DATA_STRUCT_H
#define FLY_LINE_DATA_STRUCT_H
//无人直升机飞行航线的航点数据结构体
#if defined (_WIN32_WCE) || defined (WIN32)
#pragma pack( push, VMF)
#endif//defined (_WIN32_WCE) || defined (WIN32)
#pragma pack(1)
typedef struct _PTSTRUCT
{
BYTE lineID; //航线号
BYTE ptID; //航点号
double lon; //经度
double lat; //纬度
short alt; //高度
BYTE speed; //速度
char taskCharacter; //任务特征字
char lineCharacter; //航路特征字
}PtStruct;
#if defined (_WIN32_WCE) || defined (WIN32)
#pragma pack( pop,VMF)
#else
#pragma pack()
#endif//defined (_WIN32_WCE) || defined (WIN32)
#endif