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

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

?? degreesminutesseconds.cs

?? C#開發(fā)GPS源碼。 其中可以獲得時(shí)間和經(jīng)緯度。
?? CS
字號:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
#region Using directives

using System;

#endregion

namespace Microsoft.WindowsMobile.Samples.Location
{
    /// <summary>
    /// class that represents a gps coordinate in degrees, minutes, and seconds.  
    /// </summary>
    public class DegreesMinutesSeconds
    {

        bool isPositive;
        /// <summary>
        /// Returns true if the degrees, minutes and seconds refer to a positive value,
        /// false otherwise.
        /// </summary>
        public bool IsPositive
        {
            get { return isPositive; }
        }

        uint degrees;
        /// <summary>
        /// The degrees unit of the coordinate
        /// </summary>
        public uint Degrees
        {
            get { return degrees; }
        }

        uint minutes;
        /// <summary>
        /// The minutes unit of the coordinate
        /// </summary>
        public uint Minutes
        {
            get { return minutes; }
        }

        double seconds;
        /// <summary>
        /// The seconds unit of the coordinate
        /// </summary>
        public double Seconds
        {
            get { return seconds; }
        }

        /// <summary>
        /// Constructs a new instance of DegreesMinutesSeconds converting 
        /// from decimal degrees
        /// </summary>
        /// <param name="decimalDegrees">Initial value as decimal degrees</param>
        public DegreesMinutesSeconds(double decimalDegrees)
        {
            isPositive = (decimalDegrees > 0);
            
            degrees = (uint) Math.Abs(decimalDegrees);
            
            double doubleMinutes = (Math.Abs(decimalDegrees) - Math.Abs((double)degrees)) * 60.0;
            minutes = (uint) doubleMinutes;

            seconds = (doubleMinutes - (double)minutes) * 60.0;
        }

        /// <summary>
        /// Constructs a new instance of DegreesMinutesSeconds
        /// </summary>
        /// <param name="isPositive">True if the coordinates are positive coordinate, false if they
        /// are negative coordinates.</param>
        /// <param name="degrees">Degrees unit of the coordinate</param>
        /// <param name="minutes">Minutes unit of the coordinate</param>
        /// <param name="seconds">Seconds unit of the coordinate. This should be a positive value.</param>
        public DegreesMinutesSeconds(bool isPositive, uint degrees, uint minutes, double seconds)
        {
            this.isPositive = isPositive;
            this.degrees = degrees;
            this.minutes = minutes;
            this.seconds = seconds;
        }

        /// <summary>
        /// Converts the decimal, minutes, seconds coordinate to 
        /// decimal degrees
        /// </summary>
        /// <returns></returns>
        public double ToDecimalDegrees()
        {
            double val = (double)degrees + ((double)minutes / 60.0) + ((double)seconds / 3600.0);
            val = isPositive ? val : val * -1;
            return val;
        }

        /// <summary>
        /// Converts the instance to a string in format: D M' S"
        /// </summary>
        /// <returns>string representation of degrees, minutes, seconds</returns>
        public override string ToString()
        {
            return degrees + "d " + minutes + "' " + seconds + "\"";
        }
    }
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区三区免费| 国产网站一区二区| 亚洲成av人片在线| 欧美年轻男男videosbes| 亚洲综合免费观看高清在线观看 | 青青草91视频| 日韩一级完整毛片| 国产自产视频一区二区三区| 国产日产欧美一区二区三区| 99久久国产综合色|国产精品| 亚洲日本成人在线观看| 欧美日韩亚洲高清一区二区| 免播放器亚洲一区| 国产亚洲1区2区3区| 99精品久久只有精品| 亚洲h在线观看| 久久精品一二三| 91久久精品国产91性色tv| 日韩电影在线观看一区| 久久久99精品免费观看| 91久久国产最好的精华液| 日本aⅴ亚洲精品中文乱码| 国产亚洲欧美日韩在线一区| 日本黄色一区二区| 激情图片小说一区| 一区二区三区久久| 久久综合九色综合久久久精品综合| 成人av电影在线网| 青青草国产成人av片免费| 国产精品美日韩| 欧美一区二区在线免费播放| 成人一区二区三区在线观看| 婷婷亚洲久悠悠色悠在线播放 | 日本一区免费视频| 欧美日韩免费观看一区二区三区| 久久福利资源站| 亚洲男帅同性gay1069| 日韩精品专区在线影院观看| 91亚洲国产成人精品一区二区三 | 国产精品免费视频一区| 欧美日本韩国一区| 97精品视频在线观看自产线路二| 麻豆精品视频在线观看视频| 亚洲精品美腿丝袜| 久久久www免费人成精品| 欧美日韩中文国产| av午夜精品一区二区三区| 麻豆精品精品国产自在97香蕉| 亚洲女厕所小便bbb| 国产欧美一区二区精品性色 | 99视频精品免费视频| 久久精品国产77777蜜臀| 夜夜亚洲天天久久| 亚洲欧美一区二区视频| 久久蜜桃一区二区| 日韩区在线观看| 欧美久久久一区| 在线免费一区三区| 91一区在线观看| 成人国产免费视频| 国产一区二区看久久| 蜜桃视频免费观看一区| 日本少妇一区二区| 亚洲小说欧美激情另类| 亚洲欧美二区三区| 亚洲另类一区二区| 亚洲男人的天堂在线观看| 国产精品蜜臀av| 国产精品嫩草久久久久| 国产视频一区二区在线| 精品嫩草影院久久| 精品乱人伦小说| 欧美岛国在线观看| 精品国产乱码久久久久久1区2区| 91麻豆精品国产自产在线| 欧美日韩高清一区二区不卡| 欧美亚洲日本国产| 欧美美女网站色| 在线91免费看| 日韩午夜三级在线| 日韩精品一区二区三区三区免费| 欧美一级欧美三级在线观看| 3atv一区二区三区| 欧美不卡一区二区| 久久精品水蜜桃av综合天堂| 国产午夜精品理论片a级大结局| 国产天堂亚洲国产碰碰| 欧美国产激情一区二区三区蜜月| 欧美高清在线一区二区| 偷拍一区二区三区四区| 婷婷中文字幕一区三区| 蜜臀精品久久久久久蜜臀| 精品一区二区三区在线观看 | 亚洲第一狼人社区| 日日夜夜免费精品| 久久疯狂做爰流白浆xx| 国产精品亚洲а∨天堂免在线| 欧美日韩高清在线播放| 91精品国产综合久久香蕉麻豆| 欧美一二三区在线观看| 久久久影视传媒| 亚洲欧美另类综合偷拍| 午夜av区久久| 国产酒店精品激情| 91婷婷韩国欧美一区二区| 欧洲在线/亚洲| 欧美不卡123| 国产精品久久久久7777按摩| 亚洲午夜激情av| 美腿丝袜在线亚洲一区 | 国产精品色眯眯| 依依成人综合视频| 久久国产尿小便嘘嘘| 大陆成人av片| 欧美日韩二区三区| 国产欧美日韩另类一区| 一区二区三区国产精华| 久久99久久精品| 99免费精品在线| 91精品国产乱| 日韩一区日韩二区| 九一久久久久久| 在线精品视频免费播放| 亚洲精品一区二区三区99| 亚洲人成在线播放网站岛国| 日韩精品国产欧美| av在线不卡电影| 欧美xxxxxxxxx| 亚洲一区二区三区三| 国产成人在线影院 | 日韩一级完整毛片| 亚洲欧洲综合另类| 国产精品 欧美精品| 欧美日韩高清一区二区不卡| 国产欧美日韩精品a在线观看| 亚州成人在线电影| 不卡av电影在线播放| 精品久久久久久最新网址| 亚洲国产成人av网| 91亚洲大成网污www| 国产色爱av资源综合区| 蜜乳av一区二区| 欧美日韩亚洲综合在线| 亚洲色图制服丝袜| 丁香天五香天堂综合| 欧美成人vr18sexvr| 天天操天天色综合| 91亚洲大成网污www| 亚洲国产精华液网站w| 国产一区二区免费在线| 日韩精品影音先锋| 日韩精品成人一区二区三区 | 亚洲国产欧美日韩另类综合| 99久久亚洲一区二区三区青草| wwwwww.欧美系列| 久久国产精品区| 日韩免费视频一区二区| 日本欧美一区二区三区乱码| 欧美三级视频在线观看| 一区二区三区蜜桃网| 色综合久久久久综合99| 中文字幕亚洲成人| av电影天堂一区二区在线 | 欧美精品在线视频| 艳妇臀荡乳欲伦亚洲一区| 波多野结衣在线aⅴ中文字幕不卡| 久久久精品中文字幕麻豆发布| 精品一区二区久久久| 欧美tickling网站挠脚心| 久久国内精品自在自线400部| 91精品国产欧美一区二区成人| 三级在线观看一区二区| 91精品综合久久久久久| 日产欧产美韩系列久久99| 这里只有精品电影| 狠狠久久亚洲欧美| 国产精品美日韩| 91蜜桃网址入口| 亚洲国产精品精华液网站| 欧美军同video69gay| 美女在线观看视频一区二区| 亚洲精品一区二区精华| 成人精品在线视频观看| ...中文天堂在线一区| 在线中文字幕不卡| 日本最新不卡在线| 久久久久国产精品厨房| 91在线国产观看| 午夜成人免费电影| 久久中文字幕电影| 99精品欧美一区二区三区综合在线| 一区二区三区免费在线观看| 666欧美在线视频| 激情五月婷婷综合网| 中文字幕一区在线观看视频| 色噜噜狠狠色综合欧洲selulu| 日韩高清不卡一区二区三区| 久久一夜天堂av一区二区三区| 不卡av在线免费观看| 午夜视频一区二区|