Subversion Repositories Projects

Rev

Rev 2289 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2289 Rev 2312
Line 7... Line 7...
7
namespace MKLiveView
7
namespace MKLiveView
8
{
8
{
9
    static class Waypoints
9
    static class Waypoints
10
    {
10
    {
Line 11... Line 11...
11
 
11
 
12
        enum pointType
12
        public enum pointType
13
        {
13
        {
14
            INVALID= 255,
14
            INVALID= 255,
15
            WP =  0,
15
            WP =  0,
16
            POI = 1
16
            POI = 1
Line 17... Line 17...
17
        }
17
        }
18
 
18
 
19
        enum status
19
        public enum status
20
        {
20
        {
21
            INVALID= 255,
21
            INVALID= 255,
22
            NEW =  0,
22
            NEW =  0,
Line 23... Line 23...
23
            DONE = 1
23
            DONE = 1
24
        }
24
        }
25
 
25
 
26
        static string CAMAngle(int iVal)
26
        public static string CAMAngle(int iVal)
27
        {
27
        {
28
            if (iVal == 255)
28
            if (iVal == 255)
Line 33... Line 33...
33
                return "- - -";
33
                return "- - -";
Line 34... Line 34...
34
 
34
 
35
            return iVal.ToString();
35
            return iVal.ToString();
Line 36... Line 36...
36
        }
36
        }
37
 
37
 
38
        static string WPSpeed(int iVal)
38
        public static string WPSpeed(int iVal)
39
        {
39
        {
40
            if (iVal == 0)
40
            if (iVal == 0)
41
                return "MAX";
41
                return "MAX";
Line 116... Line 116...
116
 
116
 
Line -... Line 117...
-
 
117
 
117
 
118
        }
118
        }
119