-
我在学习GPS编程时写的DELPHI源码 ,比较简单.希望大虾不要见笑.多多指教.
procedure TfrmMain.DrawSatInfo(gps: TGPSInfo; pbx: TPaintBox);
var
i: integer;
r: integer;
dx,dy: integer;
begin
r := pbx.Width div 2;
for i:= 1 to 12 do begin
if gps.SatInfo[i].PRN 0 then begin
dx := r + Round(r*(90-gps.SatInfo[i].EL)*sin((gps.SatInfo[i].AZ - 90)*Pi/180)/90);
dy := r + Round(r*(90-gps.SatInfo[i].EL)*cos((gps.SatInfo[i].AZ - 90)*Pi/180)/90);
dx := dx - 8;
if dx < 0 then dx := 0;
if gps.SatInfo[i].SN > 20 then begin
pbx.Canvas.Font.Color := clBlue;
pbx.Canvas.TextOut(dx,dy,inttostr(gps.SatInfo[i].PRN));
end else begin
- 2023-01-18 12:20:03下载
- 积分:1
-
gm862 gsm uploader for telit
gm862 gsm uploader for telit
- 2022-10-14 19:00:03下载
- 积分:1
-
Powerful and Portable GPS application
Powerful and Portable GPS application -- support Linux, Windows, Windows CE GPS navigation and Map management. -Powerful and Portable GPS application support Linux, Windows, Windows CE GPS navigation and Map management.
- 2022-08-06 22:04:11下载
- 积分:1
-
0183协议的解析程序的源代码,可以用在定位,导航,监控等方面
0183协议的解析程序的源代码,可以用在定位,导航,监控等方面-0183 agreement analytic program"s source code can be used in positioning, navigation, surveillance etc.
- 2022-01-31 06:35:05下载
- 积分:1
-
介绍VB下MAPX实现的二次搜索查询,MapX+VB的源代码和结果图形界面...
介绍VB下MAPX实现的二次搜索查询,MapX+VB的源代码和结果图形界面-introduced VB Connection"s secondary search query, MapX VB source code and the results of a graphical interface
- 2022-07-26 19:02:05下载
- 积分:1
-
测试和接收的通信代码
GPS测试及接收通信程序-Communication code for GPS testing and receiving
- 2022-05-23 04:45:50下载
- 积分:1
-
短信发送实现gprs猫发送短信息,wap push,push load,免提短信源代码....
短信发送实现gprs猫发送短信息,wap push,push load,免提短信源代码.-gprs cat achieve this short message, WAP push, push load. Handsfree SMS source code-Send message to achieve gprs cat send text messages, wap push, push load, hands-free source code message .- gprs cat achieve this short message, WAP push, push load. Handsfree SMS source code
- 2022-10-22 22:45:03下载
- 积分:1
-
使用GSM传递卫星定位信息的源代码,适用于C51系列单片机.
使用GSM传递卫星定位信息的源代码,适用于C51系列单片机.-The use of GSM transmit satellite positioning information of the source code for C51 MCU.
- 2022-01-21 21:49:00下载
- 积分:1
-
GPS positioning system, a good introduction. GPS can understand only
GPS 定位系统,不错的介绍。可以了解GPS的只是-GPS positioning system, a good introduction. GPS can understand only
- 2022-02-20 03:20:13下载
- 积分:1
-
guGPS提供一个自由而升级为基于位置的服务移动客户端,它就像一个RSS阅读器基于GPS localization...
guGPS提供一个自由而升级为基于位置的服务移动客户端,它就像一个RSS阅读器基于GPS localization-guGPS provide a free and upgradable mobile client for Location Based Services, it is like a RSS-reader based on gps localization.
- 2022-10-08 14:05:03下载
- 积分:1