From 9892f2469d3e26e961bb192a9383e08a4998afe3 Mon Sep 17 00:00:00 2001 From: CZ Date: Wed, 26 Jun 2024 18:19:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E6=B5=8B=E8=AF=95=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Entity/DbModel/Station/ChargeOrder.cs | 4 ++-- Service/Cloud/Client/CloudClientMgr.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Entity/DbModel/Station/ChargeOrder.cs b/Entity/DbModel/Station/ChargeOrder.cs index b7cc9cf..a6c9922 100644 --- a/Entity/DbModel/Station/ChargeOrder.cs +++ b/Entity/DbModel/Station/ChargeOrder.cs @@ -264,7 +264,7 @@ namespace Entity.DbModel.Station /// Nullable:True /// [SugarColumn(ColumnName = "cloud_report_status")] - public int? CloudReportStatus { get; set; } + public int CloudReportStatus { get; set; } /// @@ -281,6 +281,6 @@ namespace Entity.DbModel.Station /// Nullable:True /// [SugarColumn(ColumnName = "can_upload")] - public int? CanUpload { get; set; } + public int CanUpload { get; set; } } } diff --git a/Service/Cloud/Client/CloudClientMgr.cs b/Service/Cloud/Client/CloudClientMgr.cs index 8f51c1c..dcd873b 100644 --- a/Service/Cloud/Client/CloudClientMgr.cs +++ b/Service/Cloud/Client/CloudClientMgr.cs @@ -54,7 +54,7 @@ public class CloudClientMgr BinInfo? binInfo = binInfoRepository.QueryByClause(it => it.ChargerNo == data.ChargerNo); ChargeDevDataInfo req = new ChargeDevDataInfo(); req.sn = StaticStationInfo.StationNo; - req.en = data.ChargerNo; + req.en = StaticStationInfo.StationNo + data.ChargerNo; req.sd = "A"+int.Parse(binInfo.No); req.mtp = StaticStationInfo.ChargePower; req.mcr = 1;