GMap.NET.WindowsMobile/GMap.NET.GPS/GpsPosition.cs

(开头部分) 13KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

//
// 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;
using System.Runtime.InteropServices;
using System.Collections;
using System.Collections.Generic;

#endregion

namespace GMap.NET.GPS
{
   #region Internal Native Structures
   [StructLayout(LayoutKind.Sequential)]
   internal struct SystemTime
   {
      internal short year;
      internal short month;
      internal short dayOfWeek;
      internal short day;
      internal short hour;
      internal short minute;
      internal short second;
      internal short millisecond;
   }

   [StructLayout(LayoutKind.Sequential)]
   internal struct SatelliteArray
   {
      int a, b, c, d, e, f, g, h, i, j, k, l;

      public int Count
      {
         get
         {
            return 12;
         }
      }

      public int this[int value]
      {
         get
         {
            if(value == 0)
               return a;
            else if(value == 1)
               return b;
            else if(value == 2)
               return c;
后面还有 417 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。