update 电单车协议

This commit is contained in:
Guoqs
2024-09-05 09:58:21 +08:00
parent 2a6daa56df
commit b341862071
9 changed files with 107 additions and 21 deletions

View File

@@ -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);
}