mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
update 电单车协议
This commit is contained in:
@@ -1,10 +1,23 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
import com.jsowell.pile.domain.ykcCommond.StartChargingCommand;
|
||||
import com.jsowell.pile.domain.ykcCommond.StopChargingCommand;
|
||||
|
||||
/**
|
||||
* 电单车发送命令服务
|
||||
*/
|
||||
public interface EBikeSendCommandService {
|
||||
// void send(String pileSn, AbsEBikeMessage msg);
|
||||
|
||||
void startCharging(String pileSn, String connectorCode);
|
||||
/**
|
||||
* 启动充电
|
||||
* @param command
|
||||
*/
|
||||
void sendStartChargingCommand(StartChargingCommand command);
|
||||
|
||||
/**
|
||||
* 停止充电
|
||||
* @param command
|
||||
*/
|
||||
void sendStopChargingCommand(StopChargingCommand command);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user