Commit cec2ac78 authored by liyuanhong's avatar liyuanhong

M500模拟器修改了轨迹跑完熄火失败的bug

parent 6f33a0ec
......@@ -447,8 +447,8 @@ class ProtocolSimulaterService():
OBDMsg = self.genOBDMsg(self.OBDdata["fireStatus"], self.OBDdata["ACCStatus"], self.OBDdata["engineSpeed"], \
self.OBDdata["speed"], self.OBDdata["meterMileage"], self.OBDdata["totailMileage"], \
self.OBDdata["totalOilExpen"], self.OBDdata["totalRunTime"])
latitude = self.gpsLine[self.gpsLineIndex]["lat"]
longitude = self.gpsLine[self.gpsLineIndex]["lng"]
latitude = self.gpsLine[gpsLineIndex]["lat"]
longitude = self.gpsLine[gpsLineIndex]["lng"]
gpsMsg = self.genGPSMsg(latitude, longitude)
if OBDMsg != "":
self.sendMsg(OBDMsg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment