diff --git a/.gitignore b/.gitignore
index 399ac3e..61636bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,7 @@ docs/
*.ear
*.tar.gz
*.rar
+!tools/parse-pqdif/lib/pqdif-native-basic-bridge-1.0.0-jar-with-dependencies.jar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
diff --git a/README.md b/README.md
index 3fedf8d..126d534 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ CN_Tool 是一个基于 Spring Boot 的多模块后端聚合工程,当前仓
- `activate-tool`
- `add-data`
- `add-ledger`
+- `device-types`
- `mms-mapping`
- `parse-pqdif`
- `wave-tool`
@@ -44,7 +45,7 @@ CN_Tool 是一个基于 Spring Boot 的多模块后端聚合工程,当前仓
- `entrance/src/main/java/com/njcn/gather/EntranceApplication.java`
-`entrance` 模块聚合了 `system`、`disk-monitor`、`dbms`、`deploy`、`user`、`detection`、`activate-tool`、`add-data`、`add-ledger`、`wave-tool`、`mms-mapping`、`parse-pqdif`,是当前运行时主入口。
+`entrance` 模块聚合了 `system`、`disk-monitor`、`dbms`、`deploy`、`user`、`detection`、`activate-tool`、`add-data`、`add-ledger`、`wave-tool`、`device-types`、`mms-mapping`、`parse-pqdif`,是当前运行时主入口。
## 技术基线
@@ -99,6 +100,8 @@ P0 已补齐基线文档,建议按以下顺序阅读:
- 当前提供电能质量 13 张表批量补数、任务状态查询和模板规则查询能力
- `tools/add-ledger`
- 当前为数据台账工具预留空模块
+- `tools/device-types`
+ - 负责设备类型维护、ICD 校验结果保存和 PQDIF 校验预留入口
- `tools/mms-mapping`
- 负责 ICD 文件解析与 MMS 映射数据生成能力
- `tools/parse-pqdif`
diff --git a/entrance/pom.xml b/entrance/pom.xml
index c11af63..d19bd7b 100644
--- a/entrance/pom.xml
+++ b/entrance/pom.xml
@@ -53,6 +53,11 @@
wave-tool
1.0.0
+
+ com.njcn.gather
+ device-types
+ 1.0.0
+
com.njcn.gather
mms-mapping
@@ -80,7 +85,12 @@
com.njcn.gather
- steady-DataView
+ steady-dataView
+ 1.0.0
+
+
+ com.njcn.gather
+ check-square
1.0.0
diff --git a/steady/check-square/pom.xml b/steady/check-square/pom.xml
new file mode 100644
index 0000000..75567eb
--- /dev/null
+++ b/steady/check-square/pom.xml
@@ -0,0 +1,45 @@
+
+
+ 4.0.0
+
+ com.njcn.gather
+ steady
+ 1.0.0
+
+
+ check-square
+
+
+
+ com.njcn.gather
+ steady-dataView
+ 1.0.0
+
+
+
+ com.njcn
+ njcn-common
+ 0.0.1
+
+
+
+ com.njcn
+ mybatis-plus
+ 0.0.1
+
+
+
+ com.njcn
+ spingboot2.3.12
+ 2.3.12
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
diff --git a/steady/steady-DataView/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareCalculator.java b/steady/check-square/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareCalculator.java
similarity index 100%
rename from steady/steady-DataView/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareCalculator.java
rename to steady/check-square/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareCalculator.java
diff --git a/steady/steady-DataView/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareHarmonicParityRuleComponent.java b/steady/check-square/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareHarmonicParityRuleComponent.java
similarity index 100%
rename from steady/steady-DataView/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareHarmonicParityRuleComponent.java
rename to steady/check-square/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareHarmonicParityRuleComponent.java
diff --git a/steady/steady-DataView/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareInfluxQueryComponent.java b/steady/check-square/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareInfluxQueryComponent.java
similarity index 85%
rename from steady/steady-DataView/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareInfluxQueryComponent.java
rename to steady/check-square/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareInfluxQueryComponent.java
index c3841d1..a53352d 100644
--- a/steady/steady-DataView/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareInfluxQueryComponent.java
+++ b/steady/check-square/src/main/java/com/njcn/gather/steady/checksquare/component/SteadyChecksquareInfluxQueryComponent.java
@@ -41,6 +41,7 @@ public class SteadyChecksquareInfluxQueryComponent {
private static final DateTimeFormatter INFLUX_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss'Z'");
private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper();
+ private static final int QUERY_WINDOW_DAYS = 1;
private static final ThreadLocal