update 电单车

This commit is contained in:
Guoqs
2024-09-14 17:19:05 +08:00
parent e85e630282
commit 86dd583ad6
6 changed files with 167 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
package com.jsowell.pile.service;
import com.jsowell.pile.domain.ebike.deviceupload.ChargingOperationResponse;
import com.jsowell.pile.domain.ykcCommond.StartChargingCommand;
import com.jsowell.pile.domain.ykcCommond.StopChargingCommand;
@@ -12,12 +13,13 @@ public interface EBikeSendCommandService {
* 启动充电
* @param command
*/
void sendStartChargingCommand(StartChargingCommand command) throws Exception;
ChargingOperationResponse sendStartChargingCommand(StartChargingCommand command) throws Exception;
/**
* 停止充电
* @param command
*/
void sendStopChargingCommand(StopChargingCommand command) throws Exception;
ChargingOperationResponse sendStopChargingCommand(StopChargingCommand command) throws Exception;
}