diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2019-05-31 17:40:56 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2019-05-31 17:40:56 +0900 |
commit | 61a91b68c0c895714ea8d612fc752ad4b5cf56ef (patch) | |
tree | 25886f519a10e32fbb1014dbfec8a63665ea6abc /app | |
parent | 946f0be3137195ce1fef644f1ec9f97026a3b289 (diff) |
delete log
Diffstat (limited to 'app')
-rw-r--r-- | app/qml/Main.qml | 8 | ||||
-rw-r--r-- | app/qml/MapWindow.qml | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/qml/Main.qml b/app/qml/Main.qml index 2162e2e..7b99ca5 100644 --- a/app/qml/Main.qml +++ b/app/qml/Main.qml @@ -45,7 +45,7 @@ ApplicationWindow { } onTextMessageReceived: { - console.log("tbtnavi:onTextMessageReceived: " + message) + //console.log("tbtnavi:onTextMessageReceived: " + message) var message_json = JSON.parse(message) //analyse the infomation from the naviapi service @@ -58,7 +58,7 @@ ApplicationWindow { var longitude = message_json[2].data[0].DemoLongitude var distance = message_json[2].data[0].DemoDistance var direction = message_json[2].data[0].DemoDirection - console.log("tbtnavi: distance = " + distance + "direction = " + direction) + //console.log("tbtnavi: distance = " + distance + "direction = " + direction) mapwindow.do_setDirection(direction) mapwindow.do_setNextCrossDistance(distance) } @@ -83,10 +83,10 @@ ApplicationWindow { mapwindow.do_setdest(allroutes,destlat,destlon) } else if(message_json[2].event === event_gps){ - console.log ("tbt:Receive Event======event_gps") + //console.log ("tbt:Receive Event======event_gps") var lat = message_json[2].data.latitude var lon = message_json[2].data.longitude - console.log ("tbt:Receive Event lat====== " + lat+" "+"lon======"+lon) + //console.log ("tbt:Receive Event lat====== " + lat+" "+"lon======"+lon) mapwindow.do_setCoordinate(lat,lon) } diff --git a/app/qml/MapWindow.qml b/app/qml/MapWindow.qml index 8321515..efb4bcf 100644 --- a/app/qml/MapWindow.qml +++ b/app/qml/MapWindow.qml @@ -185,7 +185,7 @@ Item { } var dis = (total - ruler.currentDistance).toFixed(1); - console.log("tbtnavi:dis = " + dis) + //console.log("tbtnavi:dis = " + dis) // Set distance tbt_board.do_setDistance(dis) @@ -289,7 +289,7 @@ Item { function do_setNextCrossDistance(distance) { var dis = distance; - console.log("tbtnavi:dis = " + dis) + //console.log("tbtnavi:dis = " + dis) // Set distance tbt_board.do_setDistance(dis) |