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;