Rev 391 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 391 | Rev 394 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | 59 | ||
60 | void cQMK_Server::NewPosition(sNaviString Pos) |
60 | void cQMK_Server::NewPosition(sNaviString Pos) |
61 | { |
61 | { |
62 | if (1==1) |
62 | if (1==1) |
63 | { |
63 | { |
- | 64 | QString data = QString::number(Pos.Longitude).toAscii() + ":" + |
|
- | 65 | QString::number(Pos.Latitude).toAscii() + ":" + |
|
- | 66 | QString::number(Pos.Altitude).toAscii(); |
|
64 | SendData(100, QString(Pos.Longitude + ":" + Pos.Latitude + ":" + Pos.Altitude)); |
67 | SendData(100, data); |
65 | } |
68 | } |
Line 66... | Line 69... | ||
66 | } |
69 | } |
67 | 70 |