张世豪
2 天以前 1175f5fbe8fd832943880bfc37c0e2a451a0688a
src/set/Setsys.java
@@ -274,6 +274,14 @@
        System.out.println("idleTrailDurationSeconds: " + idleTrailDurationSeconds);
    }
    /**
     * 获取割草机编号
     * @return 割草机编号
     */
    public static String getMowerIdValue() {
        return getPropertyValue("mowerId");
    }
    // 根据set.properties中的键名获取对应的值,没有或为-1时返回null
    public static String getPropertyValue(String key) {
        if (key == null || key.trim().isEmpty()) {