Commit 9d0db017 by 王欣伟

去掉速度的判断,只校验状态

1 parent 55638bf0
......@@ -91,7 +91,8 @@ public class DeviceUtils {
}
//否则 在6分钟内并且有速度 则为行驶中
if (deviceLogin.getStayStatus() != null && deviceLogin.getStayStatus() == 2 && deviceLogin.getSpeed() != null && deviceLogin.getSpeed() > 0) {
// 取消速度限制,速度的判定交给大数据计算
if (deviceLogin.getStayStatus() != null && deviceLogin.getStayStatus() == 2) {
//行驶状态
deviceStatus.setStatus(ConstantsDevice.DEVICE_STATUS_DRIVING);
return;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!