mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 电单车
This commit is contained in:
@@ -88,6 +88,7 @@ public class TempController extends BaseController {
|
||||
StartChargingCommand command = StartChargingCommand.builder()
|
||||
.pileSn(dto.getPileSn())
|
||||
.connectorCode(dto.getConnectorCode())
|
||||
.chargeAmount(new BigDecimal("1"))
|
||||
.build();
|
||||
eBikeSendCommandService.sendStartChargingCommand(command);
|
||||
response = new RestApiResponse<>();
|
||||
|
||||
@@ -136,7 +136,7 @@ public class EBikeSendCommandServiceImpl implements EBikeSendCommandService {
|
||||
* @param msg
|
||||
*/
|
||||
private byte[] send(AbsEBikeMessage msg) throws Exception {
|
||||
return this.send(msg, 3, TimeUnit.SECONDS);
|
||||
return this.send(msg, 5, TimeUnit.SECONDS);
|
||||
}
|
||||
private byte[] send(AbsEBikeMessage msg, long timeout, TimeUnit unit) throws Exception {
|
||||
String pileSn = msg.getPhysicalId() + "";
|
||||
|
||||
Reference in New Issue
Block a user