mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-04 09:59:55 +08:00
!11 命令码:0x17 (参数配置帧上行命令)
* BMS 0x17 (参数配置帧上行命令) = 更新BmsParamConfigReport * BMS 0x17 (参数配置帧上行命令) = additionalInfo里塞了一遍,固定字段里也塞了一遍,改成只塞一遍固定字段 * BMS 0x17 (参数配置帧上行命令) = 删除ParamConfigRequest * BMS 0x17 (参数配置帧上行命令) = 修改模型命名BmsParamConfigReport和相关的类重新命名 * BMS 0x17 (参数配置帧上行命令) = 修改cmd paramConfigProto = 33 * BMS 0x17 (参数配置帧上行命令) = 修改protocol.proto、数值类型改成BigDecimal * BMS 0x17 (参数配置帧上行命令) + 上行BMS参数配置报文 * BMS 0x17 (参数配置帧上行命令) * 0x17 (参数配置帧上行命令) * 命令码:0x17 (参数配置帧上行命令) * 命令码:0x17 (参数配置帧上行命令) * Revert "命令码:0x17 (参数配置帧上行命令)" * 命令码:0x17 (参数配置帧上行命令)
This commit is contained in:
@@ -78,4 +78,9 @@ public interface PileProtocolService {
|
||||
* 下发计费
|
||||
*/
|
||||
void setPricing(String pileCode, SetPricingRequest setPricingRequest);
|
||||
|
||||
/**
|
||||
* 充电桩与 BMS 参数配置阶段报文
|
||||
*/
|
||||
void onBmsParamConfigReport(UplinkQueueMessage uplinkQueueMsg, Callback callback);
|
||||
}
|
||||
@@ -314,6 +314,7 @@ public class DefaultPileProtocolService implements PileProtocolService {
|
||||
downlinkCallService.sendDownlinkMessage(downlinkRequestMessageBuilder, pileCode);
|
||||
}
|
||||
|
||||
|
||||
private static Period createPeriod(int sn, LocalTime beginTime, LocalTime endTime, PricingModelFlag flag) {
|
||||
Period period = new Period();
|
||||
period.setSn(sn);
|
||||
@@ -337,4 +338,9 @@ public class DefaultPileProtocolService implements PileProtocolService {
|
||||
builder.setRequestData(uplinkQueueMessage.getRequestData());
|
||||
return builder;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBmsParamConfigReport(UplinkQueueMessage uplinkQueueMsg, Callback callback) {
|
||||
log.info("充电桩与 BMS 参数配置阶段报文 {}", uplinkQueueMsg);
|
||||
}
|
||||
}
|
||||
@@ -192,6 +192,10 @@ public class ProtocolUplinkConsumerService extends AbstractConsumerService imple
|
||||
|
||||
pileProtocolService.onTransactionRecord(uplinkQueueMsg, callback);
|
||||
|
||||
} else if (uplinkQueueMsg.hasBmsParamConfigReport()) {
|
||||
|
||||
pileProtocolService.onBmsParamConfigReport(uplinkQueueMsg, callback);
|
||||
|
||||
} else {
|
||||
|
||||
callback.onSuccess();
|
||||
|
||||
Reference in New Issue
Block a user