add:设备基础信息

This commit is contained in:
zhangzq
2026-02-24 15:27:56 +08:00
parent 898d67422c
commit 69cd7bf476
15 changed files with 778 additions and 129 deletions

View File

@@ -1,20 +0,0 @@
package org.nl.common.util;
import java.io.Serializable;
import java.util.HashMap;
/*
* @author ZZQ
* @Date 2022/11/29 2:55 下午
*/
public class MapOf implements Serializable {
public static <K> HashMap of(K... key) {
HashMap map = new HashMap<>();
for (int i = 0; i < (key.length & ~1); i = i + 2) {
map.put(key[i], key[i + 1]);
}
return map;
}
}