package com.jsowell.thirdparty.amap.service;

import com.jsowell.pile.dto.amap.ChargeDeviceDynamicsDTO;
import com.jsowell.pile.dto.amap.GetStationInfoDTO;
import com.jsowell.thirdparty.amap.domain.AMapStationInfo;

import java.util.List;

/**
 * 高德地图Service
 *
 * @author Lemon
 * @Date 2023/6/14 11:38
 */
public interface AMapService {

    /**
     * 高德拉取充电站静态数据
     * @param dto
     * @return
     */
    List<AMapStationInfo> getStationInfos(GetStationInfoDTO dto);

    /**
     * 商家推送充电设备动态数据
     * @param pileConnectorCode
     * @return
     * @throws Exception
     */
    String pushChargingDeviceDynamics(String pileConnectorCode) throws Exception;

    /**
     * 商家推送充电订单信息
     * @param orderCode
     * @return
     */
    String pushChargingOrderInfo(String orderCode);
}
