From 3b5ac96f1ceed41851ec60dd6c3bc5330e1445ff Mon Sep 17 00:00:00 2001 From: Lemon Date: Mon, 11 Sep 2023 08:29:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E7=94=B5=E8=81=94=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zhongdianlian/service/ZDLService.java | 27 +++++++++++++++ .../service/impl/ZDLServiceImpl.java | 33 +++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/ZDLService.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/ZDLService.java index 549554a88..bc3b028a5 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/ZDLService.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/ZDLService.java @@ -34,4 +34,31 @@ public interface ZDLService { * @return */ Map queryStationStats(QueryStationInfoDTO dto); + + + /** + * 设备接口状态查询 + * 此接口用于批量查询设备实时状态 + * + * @param dto + * @return + */ + Map queryStationStatus(QueryStationInfoDTO dto); + + + /** + * 设备状态变化推送 + * @param pileConnectorCode + * @param status + * @return + */ + String notificationStationStatus(String pileConnectorCode, String status); + + + /** + * 推送充电订单信息 + * @param orderCode + * @return + */ + String pushChargeOrderInfo(String orderCode); } diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/impl/ZDLServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/impl/ZDLServiceImpl.java index fcd8af959..0a40064aa 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/impl/ZDLServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/zhongdianlian/service/impl/ZDLServiceImpl.java @@ -157,6 +157,39 @@ public class ZDLServiceImpl implements ZDLService { return lianLianService.query_station_stats(dto); } + /** + * 设备接口状态查询 + * 此接口用于批量查询设备实时状态 + * + * @param dto + * @return + */ + @Override + public Map queryStationStatus(QueryStationInfoDTO dto) { + return lianLianService.query_station_status(dto); + } + + /** + * 设备状态变化推送 + * @param pileConnectorCode + * @param status + * @return + */ + @Override + public String notificationStationStatus(String pileConnectorCode, String status) { + return lianLianService.pushConnectorStatus(pileConnectorCode, status); + } + + /** + * 推送充电订单信息 + * @param orderCode + * @return + */ + @Override + public String pushChargeOrderInfo(String orderCode) { + return lianLianService.pushChargeOrderInfo(orderCode); + } + /** * 获取桩列表信息 *