diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..0192f93c --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# IntelliJ IDEA +.idea/ +*.iml + +# Eclipse +.settings/ +.classpath +.project + +# VS Code +.vscode/ + +# Mac +.DS_Store + +# Maven +target/ + +# Node +node_modules/ +npm-debug.log + +# Logs +*.log diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index b6b1ecf1..00000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -# 默认忽略的文件 -/shelf/ -/workspace.xml -# 已忽略包含查询文件的默认文件夹 -/queries/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml -# 基于编辑器的 HTTP 客户端请求 -/httpRequests/ diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index 89f96581..00000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index ae49250d..00000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index c73d2199..00000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml deleted file mode 100644 index 712ab9d9..00000000 --- a/.idea/jarRepositories.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/jsLinters/jshint.xml b/.idea/jsLinters/jshint.xml deleted file mode 100644 index 2dba70ef..00000000 --- a/.idea/jsLinters/jshint.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 97706ed4..00000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1ddf..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 00000000..84dcb122 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['@commitlint/config-conventional'], +}; diff --git a/package.json b/package.json new file mode 100644 index 00000000..acc7d4cf --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "sipaiis-wms-root", + "private": true, + "scripts": { + "prepare": "husky install" + }, + "devDependencies": { + "@commitlint/cli": "^17.6.6", + "@commitlint/config-conventional": "^17.6.6", + "husky": "^8.0.3" + } +} diff --git a/src/main/webapp/IMG/screen2.png b/src/main/webapp/IMG/screen2.png index eba78bd3..b45f9691 100644 Binary files a/src/main/webapp/IMG/screen2.png and b/src/main/webapp/IMG/screen2.png differ diff --git a/src/main/webapp/jsp/bigScreen copy.jsp b/src/main/webapp/jsp/bigScreen copy.jsp new file mode 100644 index 00000000..4970d48a --- /dev/null +++ b/src/main/webapp/jsp/bigScreen copy.jsp @@ -0,0 +1,599 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + + + + + 水厂大屏展示 + + + + + +
+ +
+
上海 ☁️ 大雨 17-28℃
+
金山卫污水厂数据大屏
+
2021.12.02 星期三 15:20:33
+
+ + +
水量趋势
+
+
+
6040
+
今日处理
+
+
+
4197
+
昨日处理
+
+
+
12356
+
本月累计
+
+
+ +
七日水量处理情况
+
+ +
污泥处理指标
+
+
+
0 m³
+
昨日产泥量
+
+
+
253 m³
+
今日产泥量
+
+
+
4.89 m
+
今日泥位
+
+
+ +
+ + +
药耗
+
+
+
+
PAC投加药耗
+
39.54
+
+
+
乙酸钠投加药耗
+
56.98
+
+
+
次氯酸钠投加
+
0
+
+
+
+
厌氧池ORP-370 mV
+
缺氧池溶解氧10.05 mg/L
+
1#好氧池溶解氧0.52 mg/L
+
2#好氧池溶解氧0.40 mg/L
+
污泥浓度MLSS1921 mg/L
+
混合液回流泵8340 mg/L
+
+
+ +
质量指标
+
+ + + + + + + + + + + + + +
参数当前值平均值最高最低指标
COD (mg/L)13.10612.99614.65611.920.000-20.000
TP (mg/L)13.10612.99614.65611.920.000-20.000
NH3-N (mg/L)13.10612.99614.65611.920.000-20.000
TN (mg/L)13.10612.99614.65611.920.000-20.000
PH (mg/L)13.10612.99614.65611.920.000-20.000
SS13.10612.99614.65611.92
温度(°C)13.10612.99614.65611.92
+
+ +
+ + +
+
泵房液位
+
6.13 m
+
+
+
进水泵房1#电流
+
66.6 A
+
+
+
进水泵房2#电流
+
63.1 A
+
+
+
进水泵房3#流量
+
2.84 L/s
+
+
+
外回流泵1#流量
+
13.02 L/s
+
+ +
+
外回流泵2#液位
+
0.75 m
+
+
+
生化池剩余污泥泵
+
0 m
+
+
+
沉淀池剩余污泥泵
+
9.01 L/s
+
+
+
PAC加药流量
+
1.03 L/s
+
+
+
PAC储罐液位
+
4.2 m
+
+ + +
+
+
进水
+
+
进水流量
1360 m³/h
+
进水PH
6.75
+
进水COD
82.4 mg/L
+
进水氨氮
15.30 mg/L
+
进水温度
25.87 °C
+
进水累计流量
1761406 m³
+
+
+ +
+
出水
+
+
出水流量
2451.64 m³/h
+
出水PH
6.95
+
出水COD
62.4 mg/L
+
出水氨氮
15.18 mg/L
+
出水温度
25.87 °C
+
出水总磷
25.87
+
出水总氮
25.87
+
出水累计流量
1761406 m³
+
+
+ +
+
其他
+
+
反冲洗泵1#电流
6.72 m³/h
+
反冲洗泵2#压力
66.67 MPa
+
剩余污泥泵1#流量
71.34 m³/h
+
+
+ +
+
液位
+
+
清水池液位
5.05 m
+
深床滤池液位
4.03 m
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+ +
+ + + + \ No newline at end of file diff --git a/src/main/webapp/jsp/bigScreen.jsp b/src/main/webapp/jsp/bigScreen.jsp index 9e286df2..20d6544b 100644 --- a/src/main/webapp/jsp/bigScreen.jsp +++ b/src/main/webapp/jsp/bigScreen.jsp @@ -20,11 +20,49 @@ background-repeat: no-repeat; position: relative; } + /* Specific Position for Data 6040 */ + .val-6040 { + position: absolute; + top: 335px; + left: 209px; + width: 121px; + height: 62px; + color: rgba(255, 255, 255, 1); + font-family: 'Gilroy', 'DIN Alternate', 'Arial Narrow', sans-serif; + font-weight: 900; + font-size: 50px; + z-index: 10; + text-align: center; + line-height: 62px; + } + .val-4197 { + top: 335px; + left: 592px; + width: fit-content; + height: fit-content; + display: inline-flex; + place-content: flex-start; + place-items: flex-end; + gap: 8px; + } + .val-12356 { + top: 335px; + left: 975px; + width: fit-content; + height: fit-content; + display: inline-flex; + place-content: flex-start; + place-items: flex-end; + gap: 8px; + } +
- +
6040
+
4197
+
12356
diff --git a/src/main/webapp/jsp/bigScreen2.jsp b/src/main/webapp/jsp/bigScreen2.jsp index 9ee5b962..9c3b03aa 100644 --- a/src/main/webapp/jsp/bigScreen2.jsp +++ b/src/main/webapp/jsp/bigScreen2.jsp @@ -4,6 +4,8 @@ 区域管线大屏展示 + +
+
+ +
+
+
辖区排污企业总数
+
0
+
+
+
已接入监控
+
0
+
+
+
正在接入中
+
0
+
+
+ + +
+
+
近30日排污量 TOP 10 (最大)
+
+
+
+
近30日排污量 TOP 10 (最小)
+
+
+
+
+ +