mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update 加备注
This commit is contained in:
@@ -80,22 +80,26 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
// =================================================================================== //
|
||||
|
||||
/**
|
||||
* 查询运营商信息 supervise_query_operator_info
|
||||
* 查询运营商信息 query_operator_info
|
||||
* supervise_query_operator_info
|
||||
* @param dto 查询运营商信息DTO
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryOperatorInfo(QueryOperatorInfoDTO dto);
|
||||
|
||||
/**
|
||||
* 6.2 查询充电站信息 query_stations_info
|
||||
* 查询充电站信息 query_stations_info
|
||||
* 此接口用于查询对接平台的充电站的信息
|
||||
* @param dto 查询站点信息dto
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryStationsInfo(QueryStationInfoDTO dto);
|
||||
|
||||
/**
|
||||
* 6.5 设备接口状态查询 query_station_status
|
||||
* 设备接口状态查询 query_station_status
|
||||
*
|
||||
* @param dto 查询站点信息dto
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryStationStatus(QueryStationInfoDTO dto);
|
||||
|
||||
@@ -103,11 +107,13 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* 查询统计信息
|
||||
*
|
||||
* @param dto 查询站点信息dto
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryStationStats(QueryStationInfoDTO dto);
|
||||
|
||||
/**
|
||||
* 查询充电电量信息 query_order_info
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryOrderInfo(String orderCode);
|
||||
|
||||
@@ -115,6 +121,7 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* 请求设备认证 query_equip_auth
|
||||
* 业务信息交换
|
||||
* @param dto 联联平台请求设备认证
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryEquipAuth(QueryEquipmentDTO dto);
|
||||
|
||||
@@ -122,6 +129,7 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* 请求启动充电 query_start_charge
|
||||
*
|
||||
* @param dto 请求启动充电DTO
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryStartCharge(QueryStartChargeDTO dto);
|
||||
|
||||
@@ -129,6 +137,7 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* 查询充电状态 query_equip_charge_status
|
||||
*
|
||||
* @param dto 查询充电状态DTO
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryEquipChargeStatus(QueryEquipChargeStatusDTO dto);
|
||||
|
||||
@@ -136,21 +145,25 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* 请求停止充电 query_stop_charge
|
||||
*
|
||||
* @param dto 请求启动充电DTO
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryStopCharge(QueryStartChargeDTO dto);
|
||||
|
||||
/**
|
||||
* 充电站内充电桩空闲状态查询 query_free_pile_number
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryFreePileNumber(NXJTQueryStationInfoDTO dto);
|
||||
|
||||
/**
|
||||
* 某车牌号消费记录查询 query_orders_info_by_Plate_number
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryOrdersInfoByPlateNumber(NXJTQueryStationInfoDTO dto);
|
||||
|
||||
/**
|
||||
* 某段时间内消费记录查询 query_orders_info
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryOrdersInfo(NXJTQueryStationInfoDTO dto);
|
||||
|
||||
@@ -158,6 +171,7 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* 查询业务策略信息结果
|
||||
* 请求计费策略 request_equip_business_policy
|
||||
* @param dto 请求启动充电DTO
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> queryEquipBusinessPolicy(QueryStartChargeDTO dto);
|
||||
|
||||
@@ -171,12 +185,14 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
/**
|
||||
* VIN码充电 insert_start_charge
|
||||
* 华为平台
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> insertStartCharge(QueryStationInfoDTO dto);
|
||||
|
||||
/**
|
||||
* 下发计费策略响应 notification_deliver_equip_business_policy_result
|
||||
* 华为平台
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract Map<String, String> notificationDeliverEquipBusinessPolicyResult(QueryStationInfoDTO dto);
|
||||
|
||||
@@ -189,6 +205,7 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* 充电站信息变化推送 notification_stationInfo
|
||||
* 新站需要推送。当站点信息发生变化时,推送新的信息通知到市级平台
|
||||
* @param stationId 充电站id
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationStationInfo(String stationId);
|
||||
|
||||
@@ -197,6 +214,7 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* 推送充电设备接口状态信息 supervise_notification_station_status
|
||||
* @param pileConnectorCode 充电枪口编号
|
||||
* @param status 枪口状态
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationStationStatus(String pileConnectorCode, String status);
|
||||
|
||||
@@ -204,16 +222,19 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* 设备充电中状态变化推送 notification_connector_charge_status
|
||||
* @param pileConnectorCode 充电枪口编号
|
||||
* @param status 枪口状态
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationConnectorChargeStatus(String pileConnectorCode, String status);
|
||||
|
||||
/**
|
||||
* 订单信息推送 notification_orderInfo
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationOrderInfo(String orderCode);
|
||||
|
||||
/**
|
||||
* 站点费率变化推送 notification_stationFee
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationStationFee(String stationId);
|
||||
|
||||
@@ -224,17 +245,20 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* TODO 华为平台文档中的接口,检查一下是否和订单信息推送notification_orderInfo一致
|
||||
* TODO 内蒙古平台文档中的接口,检查一下是否和订单信息推送notification_orderInfo一致
|
||||
* @param orderCode 订单编号
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationChargeOrderInfo(String orderCode);
|
||||
|
||||
/**
|
||||
* 告警信息推送 notification_alarmInfo
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationAlarmInfo();
|
||||
|
||||
/**
|
||||
* 推送启动充电结果 notification_start_charge_result
|
||||
* @param orderCode 订单编号
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationStartChargeResult(String orderCode);
|
||||
|
||||
@@ -242,28 +266,33 @@ public abstract class AbsInterfaceWithPlatformLogic implements InitializingBean
|
||||
* 推送充电状态 notification_equip_charge_status
|
||||
* 推送充电状态信息 supervise_notification_equip_charge_status
|
||||
* @param orderCode 订单编号
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationEquipChargeStatus(String orderCode);
|
||||
public abstract String notificationEquipChargeStatus(String orderCode) throws UnsupportedOperationException;
|
||||
|
||||
/**
|
||||
* 推送停止充电结果 notification_stop_charge_result
|
||||
* @param orderCode 订单编号
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationStopChargeResult(String orderCode);
|
||||
|
||||
/**
|
||||
* 华为平台
|
||||
* 平台充电设备编码同步 notification_operation_system_info
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationOperationSystemInfo(String orderCode);
|
||||
|
||||
/**
|
||||
* 推送充换电站用能统计信息 supervise_notification_operation_stats_info
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationOperationStatsInfo(String stationId);
|
||||
|
||||
/**
|
||||
* 推送充电站历史充电订单信息 supervise_notification_charge_order_info_history
|
||||
* @exception UnsupportedOperationException 未实现异常
|
||||
*/
|
||||
public abstract String notificationChargeOrderInfoHistory(String stationId);
|
||||
|
||||
|
||||
@@ -202,6 +202,17 @@ public class NeiMengGuPlatformLogic extends AbsInterfaceWithPlatformLogic {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 推送充电状态 notification_equip_charge_status
|
||||
* 推送充电状态信息 supervise_notification_equip_charge_status
|
||||
*
|
||||
* @param orderCode 订单编号
|
||||
*/
|
||||
@Override
|
||||
public String notificationEquipChargeStatus(String orderCode) {
|
||||
throw new UnsupportedOperationException("This method is not yet implemented");
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询充电状态
|
||||
*
|
||||
@@ -209,20 +220,11 @@ public class NeiMengGuPlatformLogic extends AbsInterfaceWithPlatformLogic {
|
||||
*/
|
||||
@Override
|
||||
public Map<String, String> queryEquipChargeStatus(QueryEquipChargeStatusDTO dto) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 推送充电状态
|
||||
*
|
||||
* @param orderCode
|
||||
*/
|
||||
@Override
|
||||
public String notificationEquipChargeStatus(String orderCode) {
|
||||
//方法未实现,抛出异常
|
||||
throw new UnsupportedOperationException("This method is not yet implemented");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 请求停止充电
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user