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
|
|
|
}
|