diff --git a/docs/deploy/das.md b/docs/deploy/das.md index 74f0068a..51469e3b 100644 --- a/docs/deploy/das.md +++ b/docs/deploy/das.md @@ -75,6 +75,8 @@ cd patch ``` > PS. 此脚本会更改TDEngine的默认数据目录为/das/data/tddata +> +> ### TDEngine3启动顺序 @@ -85,6 +87,17 @@ systemctl start taosd systemctl start taosadapter ``` +### 数据库创建 + +执行taos进入命令行,执行sql创建数据库 + +```sql +create DATABASE `das` BUFFER 64 CACHESIZE 8 CACHEMODEL 'both' COMP 2 KEEP 1098 +PAGES 512 PAGESIZE 8 VGROUPS 16 +``` + + + ### TDEngine3停止顺序 ```shell @@ -340,6 +353,13 @@ systemctl start nginx systemctl enable nginx ``` +### 防火墙配置 + +```shell +firewall-cmd --zone=public --add-port=80/tcp --permanent +firewall-cmd --reload +``` + ## DAS程序部署 @@ -398,6 +418,12 @@ tdengine: password: taosdata url: jdbc:TAOS-RS://127.0.0.1:6041/das username: root +#minio配置 +minio: + url: http://127.0.0.1:9000 + bucket: das + accessKey: das + secretKey: zaq12WSX ``` @@ -429,3 +455,15 @@ systemctl start das systemctl enable das ``` +## DAS-DN部署 + +### 程序部署 + +```shell +mkdir -p /das/app +cd /das/app +wget https://oss.jsspisoft.com/ +``` + + + diff --git a/ui/dasadmin/src/views/backend/dashboard.vue b/ui/dasadmin/src/views/backend/dashboard.vue index d2d58e44..eab68704 100644 --- a/ui/dasadmin/src/views/backend/dashboard.vue +++ b/ui/dasadmin/src/views/backend/dashboard.vue @@ -5,7 +5,66 @@
- + +
+
+
+ {{realData.attributeMap.windfarmavgwindspeed}} + m/s +
+
平均风速
+
+
+
+
+
+ {{realData.attributeMap.windfarmactivepower}} + kW +
+
实时有功
+
+
+
+
+
+ {{realData.attributeMap.windfarmreactivepower}} + kvar +
+
实时无功
+
+
+
+
+ +
+ {{realData.attributeMap.windfarmdayprodenergy}} + 万kWh +
+
日发电量
+
+
+
+
+ +
+ {{realData.attributeMap.windfarmmonthprodenergy}} + 万kWh +
+
本月发电量
+
+
+
+
+ +
+ {{realData.attributeMap.windfarmyearprodenergy}} + 万kWh +
+
年发电量
+
+
+ +
@@ -602,6 +661,7 @@ $labelHeight: 30px; margin: 5px; align-items: center; color: #4E5969; + justify-content: space-between; .small-panel-pic{ width: 80px; height: 80px; @@ -610,6 +670,14 @@ $labelHeight: 30px; text-align: center; border-right: 1px #eeeeee solid; } + .smallBox{ + width: 18%; + .small-base{ + text-align: center; + border-right: 1px #eeeeee solid; + } + } + } }