|
|
@@ -96,7 +96,7 @@ public class KwBoxV1Controller extends BaseController { |
|
|
data.put(KwBoxService.PREFIX_SYS_STATUS,record.getRegisterStatus()); |
|
|
data.put(KwBoxService.PREFIX_SYS_STATUS,record.getRegisterStatus()); |
|
|
data.put(KwBoxService.PREFIX_COM_KEY,record.getComKey()); |
|
|
data.put(KwBoxService.PREFIX_COM_KEY,record.getComKey()); |
|
|
if (kwBox.getConfig() != null) |
|
|
if (kwBox.getConfig() != null) |
|
|
data.put(KwBoxService.PREFIX_CONFIG,kwBox.getConfig()); |
|
|
|
|
|
|
|
|
data.put(KwBoxService.PREFIX_CONFIG,JSONObject.parseObject(kwBox.getConfig())); |
|
|
List<String> meters = kwBoxService.findMetersAddress(kwBox); |
|
|
List<String> meters = kwBoxService.findMetersAddress(kwBox); |
|
|
if (!meters.isEmpty()) |
|
|
if (!meters.isEmpty()) |
|
|
data.put(KwBoxService.PREFIX_METERS,meters); |
|
|
data.put(KwBoxService.PREFIX_METERS,meters); |
|
|
|