feat: energy flow, weather, comparison, PWA, alarm subs (v1.5.0)

7 new features inspired by iSolarCloud:

1. Animated Energy Flow Diagram — SVG/CSS animated power flow
   between PV, Load, Grid, HeatPump with real-time values
2. Weather Widget — temperature/condition on dashboard header
3. Curve Template Library — save/load Data Query presets
4. Enhanced Device Comparison — multi-device power overlay chart
5. Dispersion Rate Analysis — statistical variation across inverters
   with outlier detection (new Analysis tab)
6. PWA Support — manifest.json + service worker for mobile install
7. Alarm Subscription UI — configurable notification preferences

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Du Wenbo
2026-04-07 10:35:50 +08:00
parent 93af4bc16b
commit ec3aab28c1
14 changed files with 1234 additions and 80 deletions

View File

@@ -0,0 +1,18 @@
{
"name": "Z-Park EMS",
"short_name": "Z-Park EMS",
"description": "中关村医疗器械园智慧能源管理平台",
"start_url": "/",
"display": "standalone",
"background_color": "#0a1628",
"theme_color": "#52c41a",
"orientation": "any",
"icons": [
{
"src": "/favicon.svg",
"sizes": "any",
"type": "image/svg+xml",
"purpose": "any"
}
]
}