Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/pile/service/EBikeSendCommandService.java
2024-09-20 09:00:45 +08:00

26 lines
641 B
Java

package com.jsowell.pile.service;
import com.jsowell.pile.domain.ebike.deviceupload.ChargingOperationResponse;
import com.jsowell.pile.domain.ykcCommond.EBikeStartChargingCommand;
import com.jsowell.pile.domain.ykcCommond.StopChargingCommand;
/**
* 电单车发送命令服务
*/
public interface EBikeSendCommandService {
/**
* 启动充电
* @param command
*/
ChargingOperationResponse sendStartChargingCommand(EBikeStartChargingCommand command) throws Exception;
/**
* 停止充电
* @param command
*/
ChargingOperationResponse sendStopChargingCommand(StopChargingCommand command);
}