mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 对接第三方平台
This commit is contained in:
@@ -2,6 +2,7 @@ package com.jsowell.thirdparty.platform.neimenggu.service;
|
|||||||
|
|
||||||
import com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum;
|
import com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum;
|
||||||
import com.jsowell.pile.dto.*;
|
import com.jsowell.pile.dto.*;
|
||||||
|
import com.jsowell.pile.dto.ningxiajiaotou.NXJTQueryStationInfoDTO;
|
||||||
import com.jsowell.thirdparty.platform.AbsInterfaceWithPlatformLogic;
|
import com.jsowell.thirdparty.platform.AbsInterfaceWithPlatformLogic;
|
||||||
import com.jsowell.thirdparty.platform.InterfaceWithPlatformLogicFactory;
|
import com.jsowell.thirdparty.platform.InterfaceWithPlatformLogicFactory;
|
||||||
|
|
||||||
@@ -48,6 +49,37 @@ public class NeiMengGuPlatformLogic extends AbsInterfaceWithPlatformLogic {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备充电中状态变化推送 notification_connector_charge_status
|
||||||
|
*
|
||||||
|
* @param pileConnectorCode 充电枪口编号
|
||||||
|
* @param status 枪口状态
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String notificationConnectorChargeStatus(String pileConnectorCode, String status) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单信息推送 notification_orderInfo
|
||||||
|
*
|
||||||
|
* @param orderCode
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String notificationOrderInfo(String orderCode) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站点费率变化推送 notification_stationFee
|
||||||
|
*
|
||||||
|
* @param stationId
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String notificationStationFee(String stationId) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 6.4 充电订单推送
|
* 6.4 充电订单推送
|
||||||
*
|
*
|
||||||
@@ -58,6 +90,14 @@ public class NeiMengGuPlatformLogic extends AbsInterfaceWithPlatformLogic {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 告警信息推送 notification_alarmInfo
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String notificationAlarmInfo() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 6.5 设备接口状态查询
|
* 6.5 设备接口状态查询
|
||||||
*
|
*
|
||||||
@@ -78,6 +118,16 @@ public class NeiMengGuPlatformLogic extends AbsInterfaceWithPlatformLogic {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询充电电量信息 query_order_info
|
||||||
|
*
|
||||||
|
* @param orderCode
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Map<String, String> queryOrderInfo(String orderCode) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 请求设备认证
|
* 请求设备认证
|
||||||
* 业务信息交换
|
* 业务信息交换
|
||||||
@@ -99,6 +149,39 @@ public class NeiMengGuPlatformLogic extends AbsInterfaceWithPlatformLogic {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* VIN码充电 insert_start_charge
|
||||||
|
* 华为平台
|
||||||
|
*
|
||||||
|
* @param dto
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Map<String, String> insertStartCharge(QueryStationInfoDTO dto) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 下发计费策略响应 notification_deliver_equip_business_policy_result
|
||||||
|
* 华为平台
|
||||||
|
*
|
||||||
|
* @param dto
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Map<String, String> notificationDeliverEquipBusinessPolicyResult(QueryStationInfoDTO dto) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 充电站信息变化推送 notification_stationInfo
|
||||||
|
* 新站需要推送。当站点信息发生变化时,推送新的信息通知到市级平台
|
||||||
|
*
|
||||||
|
* @param stationId 充电站id
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String notificationStationInfo(String stationId) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 请求启动充电
|
* 请求启动充电
|
||||||
*
|
*
|
||||||
@@ -149,6 +232,36 @@ public class NeiMengGuPlatformLogic extends AbsInterfaceWithPlatformLogic {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 充电站内充电桩空闲状态查询 query_free_pile_number
|
||||||
|
*
|
||||||
|
* @param dto
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Map<String, String> queryFreePileNumber(NXJTQueryStationInfoDTO dto) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 某车牌号消费记录查询 query_orders_info_by_Plate_number
|
||||||
|
*
|
||||||
|
* @param dto
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Map<String, String> queryOrdersInfoByPlateNumber(NXJTQueryStationInfoDTO dto) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 某段时间内消费记录查询 query_orders_info
|
||||||
|
*
|
||||||
|
* @param dto
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Map<String, String> queryOrdersInfo(NXJTQueryStationInfoDTO dto) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 推送停止充电结果
|
* 推送停止充电结果
|
||||||
*
|
*
|
||||||
@@ -160,10 +273,33 @@ public class NeiMengGuPlatformLogic extends AbsInterfaceWithPlatformLogic {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 推送充电订单对账信息
|
* 华为平台
|
||||||
|
* 平台充电设备编码同步 notification_operation_system_info
|
||||||
|
*
|
||||||
|
* @param orderCode
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Map<String, String> checkChargeOrders() {
|
public String notificationOperationSystemInfo(String orderCode) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 推送充换电站用能统计信息 supervise_notification_operation_stats_info
|
||||||
|
*
|
||||||
|
* @param stationId
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String notificationOperationStatsInfo(String stationId) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 推送充电站历史充电订单信息 supervise_notification_charge_order_info_history
|
||||||
|
*
|
||||||
|
* @param stationId
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String notificationChargeOrderInfoHistory(String stationId) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user