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

24 lines
528 B
Java
Raw Normal View History

2024-08-20 15:14:49 +08:00
package com.jsowell.pile.service;
2024-09-05 09:58:21 +08:00
import com.jsowell.pile.domain.ykcCommond.StartChargingCommand;
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-14 13:56:58 +08:00
void sendStartChargingCommand(StartChargingCommand command) throws Exception;
2024-09-05 09:58:21 +08:00
/**
* 停止充电
* @param command
*/
2024-09-14 13:56:58 +08:00
void sendStopChargingCommand(StopChargingCommand command) throws Exception;
2024-09-05 09:58:21 +08:00
2024-08-20 15:14:49 +08:00
}