mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 17:40:13 +08:00
update lianlian
This commit is contained in:
153
jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lianlian/service/LianLianService.java
vendored
Normal file
153
jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lianlian/service/LianLianService.java
vendored
Normal file
@@ -0,0 +1,153 @@
|
||||
package com.jsowell.thirdparty.lianlian.service;
|
||||
|
||||
import com.jsowell.pile.dto.*;
|
||||
import com.jsowell.thirdparty.lianlian.domain.StationStatsInfo;
|
||||
import com.jsowell.thirdparty.lianlian.vo.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface LianLianService {
|
||||
|
||||
/**
|
||||
* 根据运营商id,推送运营商信息
|
||||
* @param merchantId
|
||||
*/
|
||||
void pushMerchantInfo(Long merchantId);
|
||||
|
||||
/**
|
||||
* 根据充电站id,推送充电站信息
|
||||
* @param dto
|
||||
*/
|
||||
String pushStationInfo(LianLianPushStationInfoDTO dto);
|
||||
|
||||
/**
|
||||
* 联联平台获取充电站信息
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
LianLianPageResponse query_stations_info(QueryStationInfoDTO dto);
|
||||
|
||||
/**
|
||||
* 设备接口状态查询
|
||||
* 此接口用于批量查询设备实时状态
|
||||
*
|
||||
* @param StationIDs
|
||||
* @return
|
||||
*/
|
||||
LianLianPageResponse query_station_status(List<String> StationIDs);
|
||||
|
||||
|
||||
/**
|
||||
* 查询统计信息
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
StationStatsInfo query_station_stats(QueryStationInfoDTO dto);
|
||||
|
||||
|
||||
/**
|
||||
* 请求设备认证
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
EquipmentAuthVO query_equip_auth(QueryEquipmentDTO dto);
|
||||
|
||||
/**
|
||||
* 请求开始充电
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
QueryStartChargeVO query_start_charge(QueryStartChargeDTO dto);
|
||||
|
||||
/**
|
||||
* 查询充电状态
|
||||
* @param startChargeSeq
|
||||
*/
|
||||
QueryChargingStatusVO query_equip_charge_status(String startChargeSeq);
|
||||
|
||||
/**
|
||||
* 请求停止充电
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
QueryStopChargeVO query_stop_charge(QueryStartChargeDTO dto);
|
||||
|
||||
/**
|
||||
* 联联平台获取令牌
|
||||
* @param urlAddress
|
||||
* @param operatorId
|
||||
* @param operatorSecret
|
||||
* @return
|
||||
*/
|
||||
String getToken(String urlAddress, String operatorId, String operatorSecret);
|
||||
|
||||
/**
|
||||
* 推送联联平台 设备状态变化推送
|
||||
* @param pileConnectorCode
|
||||
* @param status
|
||||
* @return
|
||||
*/
|
||||
String pushConnectorStatus(String pileConnectorCode, String status);
|
||||
|
||||
/**
|
||||
* 推送订单信息
|
||||
* @param orderCode
|
||||
* @return
|
||||
*/
|
||||
String pushOrderInfo(String orderCode);
|
||||
|
||||
/**
|
||||
* 推送启动充电结果
|
||||
* @return
|
||||
*/
|
||||
String pushStartChargeResult(String orderCode);
|
||||
|
||||
/**
|
||||
* 推送充电状态
|
||||
* @param orderCode
|
||||
* @return
|
||||
*/
|
||||
String pushChargeStatus(String orderCode);
|
||||
|
||||
/**
|
||||
* 推送停止充电结果(仅在 交易记录的帧类型中调用)
|
||||
* @param orderCode
|
||||
* @return
|
||||
*/
|
||||
String pushStopChargeResult(String orderCode);
|
||||
|
||||
/**
|
||||
* 推送充电订单信息
|
||||
* @param orderCode
|
||||
* @return
|
||||
*/
|
||||
String pushChargeOrderInfo(String orderCode);
|
||||
|
||||
/**
|
||||
* 推送订单结算信息
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
String pushOrderSettlementInfo(PushOrderSettlementDTO dto);
|
||||
|
||||
/**
|
||||
* 查询订单结算信息
|
||||
* @param orderCode
|
||||
* @return
|
||||
*/
|
||||
String queryOrderSettlementInfo(String orderCode);
|
||||
|
||||
/**
|
||||
* 推送订单对账结果信息
|
||||
* @param orderCode
|
||||
* @return
|
||||
*/
|
||||
String pushOrderReconciliationInfo(String orderCode);
|
||||
|
||||
/**
|
||||
* 设备充电中状态变化推送
|
||||
* @param orderCode
|
||||
* @return
|
||||
*/
|
||||
String pushPileChargeStatusChange(String orderCode);
|
||||
}
|
||||
1291
jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lianlian/service/impl/LianLianServiceImpl.java
vendored
Normal file
1291
jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lianlian/service/impl/LianLianServiceImpl.java
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user