📄 def.h
字号:
/*************************************************************************** def.h - Types & other definitions ------------------- begin : So Mär 21 17:50:31 CET 2004 copyright : (C) 2004 by Dennis Real email : dev-null@users.sourceforge.net ***************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/#ifndef DEF_H#define DEF_H#define pi 3.14159265359879323846#define ANZSAT 40typedef unsigned char BYTE;typedef struct { long lat; /* latitude in semicircles */ long lon; /* longitude in semicircles */ } Semicircle_Type;typedef unsigned int word; /* longword: 32-bit unsigned integers */typedef unsigned long longword;/* boolean: true (non-zero) or false (zero) */typedef unsigned char boolean;typedef struct { double lat; /* latitude in radians */ double lon; /* longitude in radians */} Radian_Type;typedef int Symbol_Type;enum{ pvt=0, waypoints=1, tracks=2, routes=3, sats=4, gps=5};typedef struct{ int product_ID; int software_version; char product_description[255]; int player; /* e.g. P000 */ int llayer; /* e.g. L001 */ int appcommand; /* e.g. A010 */ int appwaypoint; /* e.g. A100 */ int datawaypoint; /* e.g. D108 */ int approute; /* e.g. A201 */ int datarouteheader; /* e.g. D202 */ int dataroutewpt; /* e.g. D108 */ int dataroutelink; /* e.g. D210 */ int apptrack; /* e.g. A301 */ int datatrackheader; /* e.g. D310 */ int datatrackpoint; /* e.g. D301 */ int appproxwpt; /* e.g. A400 */ int dataproxwpt; /* e.g. D400 */ int appalmanac; /* e.g. A500 */ int dataalmanac; /* e.g. D501 */ int appdatetimeinit; /* e.g. A600 */ int datadatetimeinit; /* e.g. D600 */ int apppositioninit; /* e.g. A700 */ int datapositioninit; /* e.g. D700 */ int apppvt; /* e.g. A800 */ int datapvt; /* e.g. D800 */ } DeviceInfo; #endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -