亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? sw_design.tex

?? gps數(shù)據(jù)顯示軟件
?? TEX
?? 第 1 頁 / 共 2 頁
字號:
%% Template for an article following the Dino Documentation%% Guidelines.%%%% Please read the Dino Documentation Guidelines first before writing%% any Dino document as it is mandatory to fully make use of the dino.sty%% document style. This especially applies for the macros in there%% that define images, references, etc...\documentclass[a4paper]{article} %% never change options or the%% document class!!!\usepackage[dinodraft]{dino}                %% never change this line!!!%% insert necessary additional packages here - please keep in mind%% that dino.sty itself already includes the necessary standard%% packages like graphicx, etc... please read the Dino%% Documentation Guidelines for details.%% never change any latex variables like pagestyle, baselineskip,%% etc... here!!!\begin{document}\begin{Form}\end{Form}%% ======================================== start document header\title{Software Design of the GPSTool Package}                     %% insert title here\author{(Christof Dallermassl)\\                         %% insert names of authors here in  %% Dino Document Style form,  %% e.g. \cdaller, \hhaub  $Revision: 1.5 $}                      %% never change this line!!!\maketitle\vspace{1cm}\begin{abstract}This document describes the rough design of the modules in the\packagename{org.dinopolis.gpstool} package and the modules of the\classname{GPSylon} application.\end{abstract}\newpage\tableofcontents\newpage%######################################################################%######################################################################\section{Architectural Design}\label{SoftwareDesignOfTheGpstoolPackage-ArchitecturalDesign}This section describes the modules contained in the\packagename{org.dinopolis.gpstool} package and explains the structureof the \classname{GPSylon} application.%######################################################################\subsection{GPS Data Sources}\label{SoftwareDesignOfTheGpstoolPackage-GpsDataSources}One of the major modules in the \packagename{org.dinopolis.gpstool}package is the one that reads and interprets data from a gpsdevice. This module is named\packagename{org.dinopolis.gpstool.gpsinput}.The module was designed to be independent of the format of the dataand of the source of the data. An example for different formats of thedata could be NMEA or the proprietary Garmin protocol, the sourcecould either be the serial port, a file or a network server thatprovides any clients with gps data (like\externalref{gpsd}{http://freshmeat.net/projects/gpsd/} does).So to be able to get gps information (like position, altitude, speed,etc.), the source in the form of a \classname{GPSDevice} has to bechosen and a way to interpret the data coming from the device, in theform of a \classname{GPSDataProcessor}.These two classes are connected and from this moment on, gpsinformation can be obtained. This information is delivered in the formof events, anyone can register for. The listener can register for allgps events or just for a specific one. In\stdref{tab:SoftwareDesignOfTheGpstoolPackage-EventsFiredFromTheGpsdataprocessor}are the events and its value types listed.\begin{table}[ht]  \begin{center}    \begin{tabular}{|l|l|}      \hline      Event Type & Value of Event \\      \hline      Location & \classname{GPSPosition}\\      Heading & \classname{Float}\\      Speed & \classname{Float}\\      Number of Satellites & \classname{Integer}\\      Altitude (in meters)& \classname{Float}\\      Satellite Info & \classname{SatelliteInfo}\\      Depth & \classname{Float}\\      Estimated Pos Error (EPE) & \classname{GPSPositionError}\\      \hline    \end{tabular}  \end{center}  \caption{Events fired from the GPSDataProcessor}  \label{tab:SoftwareDesignOfTheGpstoolPackage-EventsFiredFromTheGpsdataprocessor}\end{table}A short code snipped shows how to read NMEA data from a serial device:\begin{lstlisting}{Read gps data from the serial device.}// create processor for NMEA data:  GPSDataProcessor gps_data_processor = new GPSNmeaDataProcessor();// create gps device for serial port:  Hashtable environment = new Hashtable();  environment.put(GPSSerialDevice.PORT_NAME_KEY,"/dev/ttyS1");  environment.put(GPSSerialDevice.PORT_SPEED_KEY,new Integer(4800));  GPSDevice gps_device = new GPSSerialDevice();  gps_device.init(environment);// connect processor with device and open it:  gps_data_processor.setGPSDevice(gps_device);  gps_data_processor.open();// create property change listener for gps events:PropertyChangeListener listener = new ProperyChangeListener(){  public void propertyChange(PropertyChangeEvent event)  {    Object value = event.getNewValue();    String name = event.getPropertyName();    if(name.equals(GPSDataProcessor.LOCATION))    {       System.out.println("The new location is"       +(GPSPosition)value.getLatitude() + "/"       +(GPSPosition)value.getLongitude());    }  }};// register as listener for location events:  gps_data_processor.addGPSDataChangeListener(GPSDataProcessor.LOCATION,listener);\end{lstlisting}A little example that demonstrates the features of this module is thejava application\classname{org.dinopolis.gpstool.gpsinput.GPSTool}. It shows how toread from a file or from the serial interface and how to register forgps events. As a matter of fact, this application was the beginning ofthe whole module.%######################################################################\subsection{GPSylon Application}\label{SoftwareDesignOfTheGpstoolPackage-GpsmapApplication}GPSylon is the main application of the \packagename{org.dinopolis.gpstool}package. It is a moving map application that is able to show thecurrent position on maps that may be downloaded from the internet, atrack of the positions in the past, location markers for points ofinterest, etc.GPSylon uses some parts of the open source\externalref{openmap}{http://openmap.bbn.com} framework. Although theopenmap framework provides a lot of functionality, some was not reusedbut re-implemented to keep the dependencies to the library low.Nevertheless, GPSylon uses openmap's \classname{MapBean} class as itscentral component. A MapBean consists of layers that hold geographicinformation to be drawn for a specific area and scale. The main class of the GPSylon application is\classname{org.dinopolis.gpstool.GPSylon}.%----------------------------------------------------------------------%----------------------------------------------------------------------\subsubsection{Resources}\label{SoftwareDesignOfTheGpstoolPackage-Resources}GPSylon reads some command line parameters, but most if theconfiguration is read from a properties file(\texttt{Gpsylon.properties}). This file must be in the classpath ofthe application and is read via the\classname{org.dinopolis.util.Resources} class. Any changes of theconfiguration are saved into a file into the directory\texttt{.gpsylon} under the user' home directory. Not all resources canbe edited via the ``Preferences'' dialog, so if you are missing somescrews to turn, try the file itself.The resources also hold the information for the resource editor(title, description, type).%----------------------------------------------------------------------%----------------------------------------------------------------------\subsubsection{User Interface}\label{SoftwareDesignOfTheGpstoolPackage-UserInterface}The user interface is widely configured in the resource files. Thestructure of the menu is completely defined in the resource file andthe actions that are executed by selecting a menu entry are named inthe resource file as well.Localization can be done by creating a localized version of theresource file.%----------------------------------------------------------------------%----------------------------------------------------------------------\subsubsection{Projection}\label{SoftwareDesignOfTheGpstoolPackage-Projection}This data is projected from the geoid coordinates (latitude,longitude) to screen coordinates. As the projections provided byopenmap did not work for the maps of\externalref{mapblast}{http://www.mapblast.com} or\externalref{expedia}{http://www.expedia.com}, a new projection wasdeveloped. The maths was taken from the\externalref{gpsdrive}{http://www.gpsdrive.de} project of FritzGanter.This projection provides the calculation from latitude/longitude toscreen (\methodname{forward} methods) and from screen coordinates tolatitude/longitude (\methodname{inverse} methods).The class that implements the projection is\classname{org.dinopolis.gpstool.projection.FlatProjection}. For a full understanding of this class it is necessary to read thedocumentation of the projections of the openmap framework.%----------------------------------------------------------------------%----------------------------------------------------------------------\subsubsection{Layers}\label{SoftwareDesignOfTheGpstoolPackage-Layers}GPSylon organizes its data in layers that are administered by a\classname{com.bbn.openmap.MapBean}. Whenever the projection changes(scale or center is changed), the map bean informs all layers aboutthis change (\methodname{projectionChanged} method). The layers haveto recalculate (project) their data from latitude/longitude to thescreen coordinates and paint them. As the calculation may take itstime, this is usually done in a different task by a\classname{SwingWorker}. As soon as the calculation is done, the datais painted on the screen (\methodname{paintComponent} method).The usage of background tasks also explains the behavior of GPSylon,that after panning the map, other elements (in other layers) are drawnslightly later at their correct position.If one wants to add geographic information (e.g.~position offriends/cars, etc.) the best solution is to add a new layer thatimplements the \methodname{projectionChanged} and the\methodname{paintComponent} methods. That's all! Using the projectionpassed in the \methodname{projectionChanged} method, the conversion ofgeographical to screen coordinates is easy. Lengthy calculationsshould use a \classname{SwingWorker}, so the user interface is notblocked. In the following, some detailed information about different layers isgiven.%----------------------------------------------------------------------%----------------------------------------------------------------------\subsubsection{Map Layer}\label{SoftwareDesignOfTheGpstoolPackage-Map-Layer}The map layer is probably the most important layer at the moment. Itdisplays raster maps that were previously downloaded form expedia ormapblast and stored locally on the hard disk (directory\path{<home>/.gpsylon/maps}). The informations about the files is keptin the file \path{<home>/.gpsylon/maps.txt} (name of file,

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产盗摄视频一区二区三区| 欧美手机在线视频| 国产河南妇女毛片精品久久久| 亚洲欧洲成人精品av97| 91精品国产乱码| 99国产精品一区| 免费在线观看视频一区| 成人免费小视频| 欧美不卡一区二区三区四区| 99久久伊人精品| 国产麻豆午夜三级精品| 午夜精品久久久久久久99樱桃 | 日韩免费视频一区| av在线不卡电影| 精品综合免费视频观看| 亚洲在线一区二区三区| 国产欧美精品国产国产专区| 日韩亚洲欧美在线| 在线观看免费视频综合| 成人免费av在线| 国产毛片一区二区| 蜜桃精品视频在线| 亚洲高清视频的网址| 亚洲精品视频免费看| 欧美激情一区二区三区四区| 精品久久免费看| 欧美丰满高潮xxxx喷水动漫| 成人黄页在线观看| av在线不卡电影| 亚洲一区免费在线观看| 日本高清免费不卡视频| 国产成人综合自拍| 极品少妇xxxx偷拍精品少妇| 性感美女极品91精品| 亚洲色图另类专区| 国产精品久久久久久亚洲伦| 久久久另类综合| 久久亚洲一区二区三区四区| 国产成人在线视频网站| 在线日韩国产精品| 在线观看欧美日本| 在线视频国内自拍亚洲视频| 91官网在线免费观看| 色嗨嗨av一区二区三区| 色偷偷88欧美精品久久久| 成人国产一区二区三区精品| 成人一级黄色片| 粉嫩高潮美女一区二区三区 | 图片区小说区区亚洲影院| 亚洲一区二区在线视频| 亚洲乱码国产乱码精品精可以看 | 国产精品黄色在线观看| 亚洲国产激情av| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 丝袜亚洲精品中文字幕一区| 亚洲一区二区综合| 日韩国产精品久久| 狠狠色狠狠色综合| 成人激情视频网站| 色婷婷激情综合| 欧美年轻男男videosbes| 欧美一区二区女人| 久久久久久麻豆| 国产精品成人免费在线| 亚洲一区二区五区| 九色porny丨国产精品| 国产福利一区二区三区视频| 色综合中文综合网| 亚洲欧美日韩精品久久久久| 一区二区视频免费在线观看| 亚洲国产欧美另类丝袜| 天使萌一区二区三区免费观看| 日本不卡中文字幕| 国产自产高清不卡| 97久久超碰国产精品电影| 欧美影院一区二区三区| 正在播放亚洲一区| 欧美激情综合五月色丁香| 一区二区三区国产| 蜜桃一区二区三区在线观看| 国产一区二区电影| 91亚洲国产成人精品一区二区三 | 亚洲欧美综合在线精品| 亚洲国产日韩一区二区| 久热成人在线视频| jiyouzz国产精品久久| 欧美猛男gaygay网站| 久久久久一区二区三区四区| 一区二区三区四区在线免费观看 | 免费人成精品欧美精品| 国产乱子轮精品视频| 99久久精品国产毛片| 在线播放一区二区三区| 中文字幕巨乱亚洲| 亚洲成人免费视频| 丁香一区二区三区| 7777精品伊人久久久大香线蕉的 | 精品成人在线观看| 亚洲黄色尤物视频| 精品一区二区三区日韩| 色伊人久久综合中文字幕| 欧美va在线播放| 亚洲人吸女人奶水| 久久99精品网久久| 欧美羞羞免费网站| 国产精品青草综合久久久久99| 日日夜夜一区二区| av激情成人网| 26uuu成人网一区二区三区| 一区二区三区在线观看动漫 | 91麻豆精品国产91久久久更新时间| 国产性色一区二区| 免费人成在线不卡| 欧美日韩在线亚洲一区蜜芽| 国产精品的网站| 国产精品资源在线看| 在线不卡免费av| 亚洲第一主播视频| 色88888久久久久久影院野外| 国产日韩欧美高清在线| 精品在线视频一区| 欧美一二三四区在线| 亚洲国产视频a| 欧美亚洲一区三区| 亚洲人精品一区| 成人黄色片在线观看| 久久精品人人做人人爽人人| 九九九久久久精品| 日韩视频中午一区| 日韩精品成人一区二区三区| 欧美亚日韩国产aⅴ精品中极品| 成人欧美一区二区三区1314| 国产精品一区二区免费不卡 | 亚洲激情自拍视频| 91麻豆福利精品推荐| 国产精品国产自产拍在线| 国产在线一区观看| 亚洲精品一区二区三区蜜桃下载 | 麻豆一区二区三区| 欧美美女一区二区在线观看| 午夜激情久久久| 欧美色图片你懂的| 亚洲综合色婷婷| 在线观看欧美精品| 午夜不卡av在线| 欧美精品在线视频| 日韩精品久久久久久| 日韩欧美国产精品一区| 蜜臀av一区二区三区| 日韩免费看的电影| 麻豆精品一区二区综合av| 日韩欧美电影一区| 国产在线一区观看| 国产欧美日韩在线看| 99久久久免费精品国产一区二区| 亚洲精品乱码久久久久久| 欧美亚洲尤物久久| 日本aⅴ免费视频一区二区三区| 日韩精品中午字幕| 国产一区二区免费在线| 5858s免费视频成人| 不卡的av网站| 日韩一区精品视频| 午夜精品福利一区二区三区av| 亚洲精品亚洲人成人网| 狠狠色综合播放一区二区| 中文字幕欧美日本乱码一线二线 | 亚洲国产裸拍裸体视频在线观看乱了| 色婷婷av一区| 免费成人美女在线观看| 精品国产欧美一区二区| 成人的网站免费观看| 亚洲综合一区在线| 日韩美女主播在线视频一区二区三区| 国产在线麻豆精品观看| 综合色天天鬼久久鬼色| 欧美日韩国产一区| 狠狠色丁香久久婷婷综| 中文幕一区二区三区久久蜜桃| 一本久久a久久精品亚洲| 丝袜诱惑制服诱惑色一区在线观看 | 国产精品久久久久aaaa樱花| 欧美日韩中文一区| 精品一区二区三区在线观看国产 | 久久99精品久久久久| 国产欧美日韩精品一区| 在线观看亚洲一区| 欧美日韩国产成人在线91| 国产一区二区电影| 亚洲黄色性网站| 精品成人免费观看| 欧美综合天天夜夜久久| 国产麻豆精品在线| 五月综合激情婷婷六月色窝| 久久精品亚洲麻豆av一区二区| 在线观看国产一区二区| 国产成人精品免费在线| 午夜伊人狠狠久久| 国产精品久久久久久久久动漫| 91精品国产色综合久久不卡蜜臀|