| | |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 充电服务 |
| | |
| | | public interface IntegrationClient { |
| | | |
| | | |
| | | /** |
| | | * 登录认证应答 |
| | | * @param onlineReply 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageonlineReply") |
| | | public R<String> onlineReply(@RequestBody OnlineReply onlineReply); |
| | | @PostMapping("/iot/setupBillingModel") |
| | | R<String> setupBillingModel1(@RequestParam("deviceId") String deviceId, @RequestParam("json") String json); |
| | | |
| | | /** |
| | | * 心跳包应答 |
| | | * @param pong 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessagepong") |
| | | public R<String> pong(@RequestBody Pong pong); |
| | | |
| | | /** |
| | | * 计费模型验证请求应答 |
| | | * @param billingModeVerifyReply 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessagebillingModeVerifyReply") |
| | | public R<String> billingModeVerifyReply(@RequestBody BillingModeVerifyReply billingModeVerifyReply); |
| | | |
| | | /** |
| | | * 计费模型验证请求应答 |
| | | * @param acquisitionBillingModeReply 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageacquisitionBillingModeReply") |
| | | public R<String> acquisitionBillingModeReply(@RequestBody AcquisitionBillingModeReply acquisitionBillingModeReply); |
| | | |
| | | /** |
| | | * 读取实时监测数据 |
| | | * @param readRealTimeMonitoringData 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessagereadRealTimeMonitoringData") |
| | | public R<String> readRealTimeMonitoringData(@RequestBody ReadRealTimeMonitoringData readRealTimeMonitoringData); |
| | | |
| | | /** |
| | | * 充电结束 |
| | | * @param endCharge 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageendCharge") |
| | | public R<String> endCharge(@RequestBody EndCharge endCharge); |
| | | |
| | | /** |
| | | * 运营平台确认启动充电 |
| | | * @param platformConfirmationCharging 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageplatformConfirmationCharging") |
| | | public R<String> platformConfirmationCharging(@RequestBody PlatformConfirmationCharging platformConfirmationCharging); |
| | | |
| | | /** |
| | | * 运营平台远程控制启机 |
| | | * @param platformStartCharging 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageplatformStartCharging") |
| | | public R<String> platformStartCharging(@RequestBody PlatformStartCharging platformStartCharging); |
| | | |
| | | /** |
| | | * 运营平台远程停机 |
| | | * @param platformStopCharging 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageplatformStopCharging") |
| | | public R<String> platformStopCharging(@RequestBody PlatformStopCharging platformStopCharging); |
| | | |
| | | /** |
| | | * 交易记录确认 |
| | | * @param confirmTransactionRecord 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageconfirmTransactionRecord") |
| | | public R<String> confirmTransactionRecord(@RequestBody ConfirmTransactionRecord confirmTransactionRecord); |
| | | |
| | | /** |
| | | * 远程账户余额更新 |
| | | * @param updateBalance 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageupdateBalance") |
| | | public R<String> updateBalance(@RequestBody UpdateBalance updateBalance); |
| | | |
| | | /** |
| | | * 离线卡数据同步 |
| | | * @param synchronizeOfflineCard 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessagesynchronizeOfflineCard") |
| | | public R<String> synchronizeOfflineCard(@RequestBody SynchronizeOfflineCard synchronizeOfflineCard); |
| | | |
| | | /** |
| | | * 离线卡数据清除 |
| | | * @param clearOfflineCard 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageclearOfflineCard") |
| | | public R<String> clearOfflineCard(@RequestBody ClearOfflineCard clearOfflineCard); |
| | | |
| | | /** |
| | | * 离线卡数据查询 |
| | | * @param queryOfflineCard 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessagequeryOfflineCard") |
| | | public R<String> queryOfflineCard(@RequestBody QueryOfflineCard queryOfflineCard); |
| | | |
| | | /** |
| | | * 充电桩工作参数设置 |
| | | * @param workingParameterSetting 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageworkingParameterSetting") |
| | | public R<String> workingParameterSetting(@RequestBody WorkingParameterSetting workingParameterSetting); |
| | | |
| | | /** |
| | | * 对时设置 |
| | | * @param timingSetting 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessagetimingSetting") |
| | | public R<String> timingSetting(@RequestBody TimingSetting timingSetting); |
| | | |
| | | /** |
| | | * 计费模型设置 |
| | | * @param setupBillingModel 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessagesetupBillingModel") |
| | | public R<String> setupBillingModel(@RequestBody SetupBillingModel setupBillingModel); |
| | | |
| | | /** |
| | | * 遥控地锁升锁与降锁命令 (下行) |
| | | * @param openOrCloseGroundLock 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageopenOrCloseGroundLock") |
| | | public R<String> openOrCloseGroundLock(@RequestBody OpenOrCloseGroundLock openOrCloseGroundLock); |
| | | /** |
| | | * 远程重启 |
| | | * @param platformRestart 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageplatformRestart") |
| | | public R<String> platformRestart(@RequestBody PlatformRestart platformRestart); |
| | | /** |
| | | * 远程更新 |
| | | * @param platformRemoteUpdate 实体对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/sendMessage/sendMessageplatformRemoteUpdate") |
| | | public R<String> platformRemoteUpdate(@RequestBody PlatformRemoteUpdate platformRemoteUpdate); |
| | | |
| | | } |