Files
jsowell-charger-web/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/service/LianLianService.java
2023-05-10 08:49:01 +08:00

80 lines
1.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.jsowell.thirdparty.service;
import com.jsowell.pile.dto.LianLianGetTokenDTO;
import com.jsowell.pile.dto.QueryEquipmentDTO;
import com.jsowell.pile.dto.QueryStartChargeDTO;
import com.jsowell.thirdparty.domain.StationStatsInfo;
import com.jsowell.pile.dto.QueryStationInfoDTO;
import com.jsowell.thirdparty.vo.*;
import java.util.List;
public interface LianLianService {
/**
* 根据运营商id推送运营商信息
* @param merchantId
*/
void pushMerchantInfo(Long merchantId);
/**
* 根据充电站id推送充电站信息
* @param stationId
*/
void pushStationInfo(Long stationId) throws Exception;
/**
* 联联平台获取充电站信息
* @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);
String getToken(LianLianGetTokenDTO dto);
}