2024-08-20 15:14:49 +08:00
|
|
|
package com.jsowell.pile.service;
|
|
|
|
|
|
2024-09-14 17:19:05 +08:00
|
|
|
import com.jsowell.pile.domain.ebike.deviceupload.ChargingOperationResponse;
|
2024-09-18 16:44:24 +08:00
|
|
|
import com.jsowell.pile.domain.ykcCommond.EBikeStartChargingCommand;
|
2024-09-05 09:58:21 +08:00
|
|
|
import com.jsowell.pile.domain.ykcCommond.StopChargingCommand;
|
|
|
|
|
|
2024-08-20 15:14:49 +08:00
|
|
|
/**
|
|
|
|
|
* 电单车发送命令服务
|
|
|
|
|
*/
|
|
|
|
|
public interface EBikeSendCommandService {
|
2024-09-02 19:55:02 +08:00
|
|
|
|
2024-09-05 09:58:21 +08:00
|
|
|
/**
|
|
|
|
|
* 启动充电
|
|
|
|
|
* @param command
|
|
|
|
|
*/
|
2024-09-18 16:44:24 +08:00
|
|
|
ChargingOperationResponse sendStartChargingCommand(EBikeStartChargingCommand command) throws Exception;
|
2024-09-05 09:58:21 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 停止充电
|
|
|
|
|
* @param command
|
|
|
|
|
*/
|
2024-09-14 17:19:05 +08:00
|
|
|
ChargingOperationResponse sendStopChargingCommand(StopChargingCommand command) throws Exception;
|
|
|
|
|
|
2024-09-05 09:58:21 +08:00
|
|
|
|
2024-08-20 15:14:49 +08:00
|
|
|
}
|