!43 离线卡数据清除(0x46) 离线卡数据清除应答(0x45)

* merge master
* merge master
* Merge branch 'master' into Feat_离线卡数据清除、离线卡数据查询
* merge master
* Merge branch 'master' into Feat_离线卡数据清除、离线卡数据查询
* 离线卡数据清除(0x46) 离线卡数据清除应答(0x45)
* 离线卡数据清除(0x46) 离线卡数据清除应答(0x45)
* 离线卡数据清除(0x46) 离线卡数据清除应答(0x45)
* 离线卡数据清除(0x46) 离线卡数据清除应答(0x45)
This commit is contained in:
八万
2025-09-13 08:40:51 +00:00
committed by 三丙
parent eff49bb3c0
commit 9451d28894
18 changed files with 521 additions and 15 deletions

View File

@@ -36,6 +36,8 @@ message DownlinkRequestMessage {
OfflineCardSyncRequest offlineCardSyncRequest = 31;
TimeSyncRequest timeSyncRequest = 32;
StartChargeResponse startChargeResponse = 33;
OfflineCardClearRequest offlineCardClearRequest = 34;
OfflineCardQueryRequest offlineCardQueryRequest = 35;
}
// 下行响应消息
@@ -246,3 +248,15 @@ message TimeSyncRequest {
string pileCode = 1;
string time = 2;
}
message OfflineCardClearRequest {
string pileCode = 1; // 充电桩编码
int32 total = 2; // 清除离线卡的个数
repeated string cardNo = 3; // 物理卡号集合
}
message OfflineCardQueryRequest {
string pileCode = 1; // 充电桩编码
int32 total = 2; // 查询离线卡的个数
repeated string cardNo = 3; // 物理卡号集合
}

View File

@@ -45,6 +45,8 @@ message UplinkQueueMessage {
TimeSyncResponse timeSyncResponse = 42;
BmsDemandChargerOutputProto bmsDemandChargerOutputProto = 43;
StartChargeRequest startChargeRequest = 44;
OfflineCardClearResponse offlineCardClearResponse = 45;
OfflineCardQueryResponse offlineCardQueryResponse = 46;
}
// 会话关闭事件
@@ -339,6 +341,34 @@ message TimeSyncResponse {
string time = 2;
}
message OfflineCardClearResponse {
string pileCode = 1; // 充电桩编码
repeated ClearResult clearResult = 2; // 清除卡号结果集合
}
message ClearResult {
string cardNo = 1; // 物理卡号
bool success = 2;
optional string errorMsg = 3;
}
message OfflineCardQueryResponse {
string pileCode = 1; // 充电桩编码
repeated QueryResult queryResult = 2; // 查询卡号结果集合
}
message QueryResult {
string cardNo = 1; // 物理卡号
bool exist = 2;
}
// BMS需求充电机输出
message BmsDemandChargerOutputProto {
string pileCode = 4;