Rev 2313 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2313 | Rev 2356 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | 11 | ||
12 | public 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 |
17 | FS = 2 |
Line 17... | Line 18... | ||
17 | } |
18 | } |
18 | 19 | ||
19 | public enum status |
20 | public enum status |
Line 39... | Line 40... | ||
39 | { |
40 | { |
40 | if (iVal == 0) |
41 | if (iVal == 0) |
41 | return "MAX"; |
42 | return "MAX"; |
42 | if (iVal > 0 && iVal < 248) |
43 | if (iVal > 0 && iVal < 248) |
43 | return ((double)iVal * 0.1).ToString("0.0 m/s"); |
44 | return ((double)iVal * 0.1).ToString("0.0 m/s"); |
44 | if (iVal < 247) |
45 | if (iVal > 247) |
45 | return "Poti" + (256 - iVal).ToString(); |
46 | return "Poti" + (256 - iVal).ToString(); |
Line 46... | Line 47... | ||
46 | 47 | ||
47 | return iVal.ToString(); |
48 | return iVal.ToString(); |