From e6a0ff5475e271a6b126ab27de6cf9f230b67512 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 23 四月 2025 15:29:29 +0800 Subject: [PATCH] 2025年04月23日15:29:27 --- app/src/main/java/com/hdl/photovoltaic/ui/bean/CloudInverterDeviceBean.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/ui/bean/CloudInverterDeviceBean.java b/app/src/main/java/com/hdl/photovoltaic/ui/bean/CloudInverterDeviceBean.java index dcc800f..142dedb 100644 --- a/app/src/main/java/com/hdl/photovoltaic/ui/bean/CloudInverterDeviceBean.java +++ b/app/src/main/java/com/hdl/photovoltaic/ui/bean/CloudInverterDeviceBean.java @@ -278,12 +278,12 @@ */ public String getHomeAddress() { if (this.location == null) { - return this.address; + return this.getAddress(); } - return this.location.getNationName() + " " + this.location.getProvinceName() + " " + this.location.getCityName() + " " + this.address; + return this.location.getNationName() + " " + this.location.getProvinceName() + " " + this.location.getCityName() + " " + this.getAddress(); } public String getHomeNameAndDeviceName() { - return homeName + "_" + this.getName(); + return this.getHomeName() + "_" + this.getName(); } } -- Gitblit v1.8.0