Files
JChargePointProtocol/jcpp-app/src/main/java/sanbing/jcpp/app/service/PileProtocolService.java
increment 6c439fb4a0 !12 充电过程BMS信息
* Merge branch 'master' into Feat_BMS_Charging_Info
* 修改实体名称
* Merge branch 'master' into Feat_BMS_Charging_Info
* 充电过程BMS信息
* 充电过程BMS信息
* 充电过程BMS信息
2025-08-01 07:20:12 +00:00

96 lines
2.5 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 开源代码,仅供学习和交流研究使用,商用请联系三丙
* 微信mohan_88888
* 抖音:程序员三丙
* 付费课程知识星球https://t.zsxq.com/aKtXo
*/
package sanbing.jcpp.app.service;
import sanbing.jcpp.infrastructure.queue.Callback;
import sanbing.jcpp.proto.gen.ProtocolProto.SetPricingRequest;
import sanbing.jcpp.proto.gen.ProtocolProto.UplinkQueueMessage;
import java.math.BigDecimal;
/**
* @author baigod
*/
public interface PileProtocolService {
/**
* 桩登录
*/
void pileLogin(UplinkQueueMessage uplinkQueueMessage, Callback callback);
/**
* 充电桩心跳
*/
void heartBeat(UplinkQueueMessage uplinkQueueMessage, Callback callback);
/**
* 校验计费模型
*/
void verifyPricing(UplinkQueueMessage uplinkQueueMessage, Callback callback);
/**
* 查询计费策略
*/
void queryPricing(UplinkQueueMessage uplinkQueueMessage, Callback callback);
/**
* 上报电桩运行状态
*/
void postGunRunStatus(UplinkQueueMessage uplinkQueueMessage, Callback callback);
/**
* 上报充电进度
*/
void postChargingProgress(UplinkQueueMessage uplinkQueueMessage, Callback callback);
/**
* 费率下发反馈
*/
void onSetPricingResponse(UplinkQueueMessage uplinkQueueMessage, Callback callback);
/**
* 远程启动反馈
*
* @param uplinkQueueMessage
* @param callback
*/
void onRemoteStartChargingResponse(UplinkQueueMessage uplinkQueueMessage, Callback callback);
/**
* 远程停止反馈
*/
void onRemoteStopChargingResponse(UplinkQueueMessage uplinkQueueMessage, Callback callback);
/**
* 交易记录上报
*/
void onTransactionRecord(UplinkQueueMessage uplinkQueueMessage, Callback callback);
/**
* 启动充电
*/
void startCharge(String pileCode, String gunCode, BigDecimal limitYuan, String orderNo);
/**
* 下发计费
*/
void setPricing(String pileCode, SetPricingRequest setPricingRequest);
/**
* 充电桩与 BMS 充电错误上报
*/
void onBmsChargingErrorProto(UplinkQueueMessage uplinkQueueMsg, Callback callback);
/**
* 充电桩与 BMS 参数配置阶段报文
*/
void onBmsParamConfigReport(UplinkQueueMessage uplinkQueueMsg, Callback callback);
/**
* 充电过程BMS信息
*/
void onBmsCharingInfo(UplinkQueueMessage uplinkQueueMessage, Callback callback);
}