!18 远程更新 远程更新应答

* 远程更新应答 补充 onRemoteUpdate  去掉 UpgradeStatusEnum 枚举 用hashMap 处理升级结果返回 领域模型优化 代码优化
* Merge branch 'master' of gitee.com:san-bing/JChargePointProtocol into Feat_远程更新
* 远程更新 远程更新应答
This commit is contained in:
八万
2025-08-13 10:47:49 +00:00
committed by 三丙
parent ca536a55f2
commit 80fb741692
10 changed files with 230 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ message UplinkQueueMessage {
BmsAbortProto bmsAbortProto = 35;
RestartPileResponse restartPileResponse = 36;
BmsHandshakeProto bmsHandshakeProto = 37;
OtaResponse otaResponse = 38;
}
@@ -94,6 +95,7 @@ message DownlinkRequestMessage {
RemoteStopChargingRequest remoteStopChargingRequest = 26;
TransactionRecordAck transactionRecordAck = 27;
RestartPileRequest restartPileRequest = 28;
OtaRequest otaRequest = 29;
}
message DownlinkResponseMessage {
@@ -370,6 +372,26 @@ message BmsChargingInfoProto {
optional string additionalInfo = 20;
}
message OtaRequest {
string pileCode = 1; // 桩编号
int32 pileModel = 2; // 桩型号
int32 pilePower = 3; // 桩功率
string address = 4; // 升级服务器地址
int32 port = 5; // 升级服务器端口
string username = 6; // 用户名
string password = 7; // 密码
string filePath = 8; // 文件路径
int32 executionControl = 9; // 执行控制
int32 downloadTimeout = 10; // 下载超时时间
}
message OtaResponse {
string pileCode = 1; // 桩编号
bool success = 2;
optional string errorMsg = 3;
}
message BmsAbortProto {
int64 ts = 1; // 时间戳
string pileCode = 4;