mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
26 lines
658 B
Java
26 lines
658 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) throws Exception;
|
|
|
|
|
|
}
|