feat: Z-Park branding, data collection fix, buyoff pass (v1.3.0)
Branding: - Replace all Tianpu text/colors with Z-Park (green #52c41a) - Update login, sidebar, BigScreen, localStorage keys Data collection: - Populate ps_id for all 10 inverters (Phase1: 2226182, Phase2: 2226188) - Fix docker-compose volume mount for customer config.yaml Buyoff warning fixes: - Installed capacity: 2200 kW / 10 Sungrow inverters (was wrong Huawei data) - Feature flags: hide charging menu when features.charging=false - Device total count: compute client-side from stats - Device groups: enrich group names from metadata Buyoff result: CONDITIONAL PASS (21/21 critical, 54/63 total) Data accuracy: <3% deviation from iSolarCloud reference Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@ interface Props {
|
||||
|
||||
export default function PowerGeneration({ realtime, energyToday }: Props) {
|
||||
const pvPower = realtime?.pv_power || 0;
|
||||
const ratedPower = 375.035; // 总装机容量 kW
|
||||
const ratedPower = 2200; // 总装机容量 kW (10台阳光电源逆变器)
|
||||
const utilization = ratedPower > 0 ? (pvPower / ratedPower) * 100 : 0;
|
||||
const generation = energyToday?.generation || 0;
|
||||
const selfUseRate = energyToday && energyToday.generation > 0
|
||||
@@ -37,7 +37,7 @@ export default function PowerGeneration({ realtime, energyToday }: Props) {
|
||||
</div>
|
||||
<div style={{ marginTop: 8 }}>
|
||||
<Text type="secondary" style={{ fontSize: 12 }}>
|
||||
装机容量: {ratedPower} kW | 3台华为SUN2000-110KTL-M0
|
||||
装机容量: {ratedPower} kW | 10台阳光电源组串式逆变器
|
||||
</Text>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user