Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/pile/service/EBikeSendCommandService.java

26 lines
658 B
Java
Raw Normal View History

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
}