Commit 3807fb34 by 杨林龙

优化调频

1 parent de0cb0df
......@@ -1763,7 +1763,8 @@ public class VehicleService extends AbstractCommonService {
//闹钟模式
df.setFreqType(1);
df.setTimer(model.getTimer());
String transTimer = model.getTimer().replace(":", "");
String timer = Arrays.stream(model.getTimer().split(",")).filter(s -> !"NA".equals(s)).collect(Collectors.joining(","));
String transTimer = timer.replace(":", "");
value = "R:" + transTimer;
} else {
//星期模式
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!