diff --git a/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/BaseDrawer.java b/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/BaseDrawer.java index b41a5c2613..dd4f233938 100644 --- a/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/BaseDrawer.java +++ b/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/BaseDrawer.java @@ -226,15 +226,15 @@ class BaseDrawer { // 他车车速和自车车速对比速度策略 // 自车速度 >= 50% 危险 // 10% < 自车速度 < 50% 警告 - double curSpeed = getCurSpeed(); - if (curSpeed > 0 && speed > curSpeed) { - double rate = ((speed - curSpeed) / curSpeed) * 100; - if (rate >= 50) { - return Car3DModelColor.Dangerous.color; - } else if (rate > 10 && rate < 50) { - return Car3DModelColor.Warming.color; - } - } +// double curSpeed = getCurSpeed(); +// if (curSpeed > 0 && speed > curSpeed) { +// double rate = ((speed - curSpeed) / curSpeed) * 100; +// if (rate >= 50) { +// return Car3DModelColor.Dangerous.color; +// } else if (rate > 10 && rate < 50) { +// return Car3DModelColor.Warming.color; +// } +// } // 默认颜色 return Car3DModelColor.Normal.color;