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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sw_design.tex

?? gps數據顯示軟件
?? 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,

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产激情精品久久久第一区二区 | 麻豆精品在线观看| 精品视频色一区| 香蕉久久一区二区不卡无毒影院| 欧美日韩精品综合在线| 石原莉奈一区二区三区在线观看 | 日韩欧美在线观看一区二区三区| 石原莉奈一区二区三区在线观看| 日韩免费看的电影| 国产乱国产乱300精品| 国产精品乱子久久久久| 99re热视频精品| 五月天一区二区| 亚洲精品一区二区三区在线观看 | 欧美无砖专区一中文字| 日韩精品久久理论片| 精品国产凹凸成av人导航| 国产aⅴ综合色| 一区二区三区色| 欧美成人aa大片| 99久久国产综合精品女不卡| 亚洲高清视频中文字幕| 欧美精品一区在线观看| 成人av电影免费观看| 午夜在线电影亚洲一区| 国产亚洲婷婷免费| 欧美性色黄大片| 韩国理伦片一区二区三区在线播放| 国产欧美日韩激情| 3751色影院一区二区三区| 国产河南妇女毛片精品久久久| 亚洲伦理在线免费看| 欧美岛国在线观看| 欧美无砖砖区免费| 懂色av中文一区二区三区| 亚洲国产视频a| 国产精品国产a级| 欧美哺乳videos| 欧美色精品在线视频| 风间由美性色一区二区三区| 日韩精品三区四区| 亚洲欧美日韩一区二区三区在线观看 | 日韩精品一区二区三区四区视频| av在线播放不卡| 国产伦精品一区二区三区视频青涩 | 欧美性生活久久| 成人高清免费观看| 狠狠网亚洲精品| 性久久久久久久| 一区二区三区欧美| 欧美国产视频在线| 欧美精品一区二区不卡| 欧美三级韩国三级日本三斤| www.亚洲精品| 国产一区二区剧情av在线| 麻豆精品一区二区av白丝在线| 伊人一区二区三区| 椎名由奈av一区二区三区| 精品电影一区二区| 欧美成人vr18sexvr| 欧美乱妇15p| 欧美亚洲禁片免费| 91官网在线免费观看| 99riav一区二区三区| 国产成人av一区二区三区在线| 久久国产精品99久久人人澡| 天堂一区二区在线免费观看| 亚洲一区二区三区影院| 一区二区三区在线免费播放| 国产精品久久久久一区 | 欧美一级欧美三级在线观看| 欧美日韩在线综合| 欧美亚洲综合另类| 在线视频国内一区二区| 色94色欧美sute亚洲线路一久| www.日本不卡| 91免费观看视频| 色婷婷一区二区三区四区| 91国产成人在线| 欧美性xxxxx极品少妇| 欧美日韩视频不卡| 欧美一区二区网站| 欧美成人精品1314www| 久久久久久久精| 国产视频亚洲色图| 欧美韩国日本不卡| 亚洲蜜臀av乱码久久精品| 一二三四社区欧美黄| 婷婷综合另类小说色区| 蜜臀av一区二区| 国产麻豆一精品一av一免费| 高清在线观看日韩| 91麻豆精品视频| 欧美日韩高清一区| 日韩精品一区二区三区四区视频| 久久精品人人做人人综合| 中文字幕在线不卡一区| 亚洲自拍偷拍欧美| 精品在线播放免费| 国产精品一区二区免费不卡| 成人免费高清在线| 欧美午夜在线一二页| 日韩欧美国产综合一区| 国产精品妹子av| 午夜精品视频一区| 国产成人日日夜夜| 在线看国产一区二区| 日韩美一区二区三区| 国产欧美精品区一区二区三区 | 中文一区在线播放| 亚洲国产欧美另类丝袜| 精品一区二区三区免费| 99亚偷拍自图区亚洲| 欧美一区三区四区| 国产欧美一区二区精品性 | 日本免费在线视频不卡一不卡二| 国产综合久久久久影院| 色婷婷av一区| 欧美精品一区二区三区四区| 自拍偷拍亚洲综合| 紧缚捆绑精品一区二区| 91美女片黄在线观看| 精品捆绑美女sm三区| 一区二区三区四区视频精品免费 | 蜜桃视频一区二区三区在线观看| 国产成人精品在线看| 欧美午夜片在线观看| 久久久高清一区二区三区| 亚洲电影一区二区三区| 岛国精品一区二区| 日韩精品一区二区三区视频在线观看| 亚洲人妖av一区二区| 久久97超碰国产精品超碰| 欧美午夜精品久久久久久孕妇| 国产午夜精品久久久久久久| 午夜精品视频一区| 91麻豆产精品久久久久久| 国产亚洲午夜高清国产拍精品 | 91麻豆精品国产91| 亚洲欧美视频在线观看| 国产成人在线看| 久久久www成人免费毛片麻豆| 日韩电影在线观看网站| 欧美性大战久久久久久久蜜臀| 国产精品久久久一区麻豆最新章节| 美国精品在线观看| 欧美精品自拍偷拍| 一区二区久久久| 99久久国产综合色|国产精品| 国产欧美日韩亚州综合| 久久99国产精品久久| 欧美一级片在线| 日日夜夜一区二区| 欧美日韩大陆在线| 亚洲国产成人av网| 在线观看免费一区| 一区二区三区 在线观看视频 | 国产成人8x视频一区二区| 精品免费日韩av| 久久精品国产在热久久| 日韩亚洲欧美在线观看| 日韩高清不卡一区二区| 51精品国自产在线| 日本强好片久久久久久aaa| 欧美日本不卡视频| 日日欢夜夜爽一区| 欧美丝袜自拍制服另类| 午夜国产精品一区| 日韩一区二区在线免费观看| 秋霞成人午夜伦在线观看| 欧美一级精品大片| 狠狠色狠狠色综合日日91app| 日韩欧美国产一二三区| 国内精品第一页| 久久久久久毛片| 成人亚洲精品久久久久软件| 国产视频一区二区在线观看| caoporen国产精品视频| 成人免费小视频| 欧美三级在线播放| 天堂蜜桃一区二区三区| 欧美一区二区三区婷婷月色| 久99久精品视频免费观看| 国产三级一区二区| av激情综合网| 亚洲高清免费视频| 精品动漫一区二区三区在线观看| 国产91精品精华液一区二区三区| 国产精品久久久久久久久晋中 | 亚洲视频一区在线| 精品视频在线看| 精品一区二区日韩| 中文成人综合网| 欧洲精品一区二区| 蜜桃免费网站一区二区三区| 欧美国产一区二区在线观看| 色成人在线视频| 久久9热精品视频| 亚洲男人的天堂一区二区| 欧美电影在哪看比较好|