diff --git a/Service/Car/Msg/Car/Req/ElecMsg.cs b/Service/Car/Msg/Car/Req/ElecMsg.cs index 8bc9233..89e8d5a 100644 --- a/Service/Car/Msg/Car/Req/ElecMsg.cs +++ b/Service/Car/Msg/Car/Req/ElecMsg.cs @@ -5,20 +5,80 @@ namespace Service.Car.Msg.Car.Req; public class ElecMsg : BaseMsg { /// - /// 累计放电量 + /// 车辆累计放电量 /// [Property(248, 24, scale: 0.01, round: 2)] public double AccDischargeCount { get; set; } /// - /// 累计放电量 + /// 车辆累计回馈电量 /// [Property(272, 24, scale: 0.01, round: 2)] public double AccFallbackCount { get; set; } /// - /// 累计放电量 + /// 车辆累计插枪充电量 /// [Property(296, 24, scale: 0.01, round: 2)] public double AccChargeCount { get; set; } + + /// + /// 5 车辆累计综合能耗 + /// + [Property(320, 24, scale: 0.01, round: 2)] + public double AccKgce { get; set; } + + /// + /// 6 本次实时放电量 + /// + [Property(344, 24, scale: 0.01, round: 2)] + public double ThisTimeRealDischarge { get; set; } + + /// + /// 7 上一次结算放电量 + /// + [Property(368, 24, scale: 0.01, round: 2)] + public double LastTimeBalanceDischarge { get; set; } + + /// + /// 8 本次实时回馈电量 + /// + [Property(392, 24, scale: 0.01, round: 2)] + public double ThisTimeRealFeedbackPower { get; set; } + + /// + /// 9 上一次结算回馈电量 + /// + [Property(416, 24, scale: 0.01, round: 2)] + public double LastTimeBalanceFeedbackPower { get; set; } + + /// + /// 10 本次实时插枪充电量 + /// + [Property(440, 24, scale: 0.01, round: 2)] + public double ThisTimeRealChargeCount { get; set; } + + /// + /// 11 上一次结算插枪充电量 + /// + [Property(464, 24, scale: 0.01, round: 2)] + public double LastTimeBalanceChargeCount { get; set; } + + /// + /// 12 本次实时综合能耗 + /// + [Property(488, 24, scale: 0.01, round: 2)] + public double ThisTimeRealKgce { get; set; } + + /// + /// 13 上一次结算综合能耗 + /// + [Property(512, 24, scale: 0.01, round: 2)] + public double LastTimeBalanceKgce { get; set; } + + /// + /// 14 待结算电费电量 + /// + [Property(536, 24, scale: 0.01, round: 2)] + public double ElectricityToBeSettled { get; set; } } \ No newline at end of file diff --git a/Service/Car/Msg/Host/Req/SetParamMsg.cs b/Service/Car/Msg/Host/Req/SetParamMsg.cs index e109768..2a1d61d 100644 --- a/Service/Car/Msg/Host/Req/SetParamMsg.cs +++ b/Service/Car/Msg/Host/Req/SetParamMsg.cs @@ -1,6 +1,84 @@ -namespace Service.Car.Msg.Host.Req; +using HybirdFrameworkCore.Autofac.Attribute; + +namespace Service.Car.Msg.Host.Req; public class SetParamMsg: BaseMsg { - + /// + /// 车辆累计放电量 + /// + [Property(248, 24, scale: 0.01, round: 2)] + public double AccDischargeCount { get; set; } + + /// + /// 车辆累计回馈电量 + /// + [Property(272, 24, scale: 0.01, round: 2)] + public double AccFallbackCount { get; set; } + + /// + /// 车辆累计插枪充电量 + /// + [Property(296, 24, scale: 0.01, round: 2)] + public double AccChargeCount { get; set; } + + /// + /// 5 车辆累计综合能耗 + /// + [Property(320, 24, scale: 0.01, round: 2)] + public double AccKgce { get; set; } + + /// + /// 6 本次实时放电量 + /// + [Property(344, 24, scale: 0.01, round: 2)] + public double ThisTimeRealDischarge { get; set; } + + /// + /// 7 上一次结算放电量 + /// + [Property(368, 24, scale: 0.01, round: 2)] + public double LastTimeBalanceDischarge { get; set; } + + /// + /// 8 本次实时回馈电量 + /// + [Property(392, 24, scale: 0.01, round: 2)] + public double ThisTimeRealFeedbackPower { get; set; } + + /// + /// 9 上一次结算回馈电量 + /// + [Property(416, 24, scale: 0.01, round: 2)] + public double LastTimeBalanceFeedbackPower { get; set; } + + /// + /// 10 本次实时插枪充电量 + /// + [Property(440, 24, scale: 0.01, round: 2)] + public double ThisTimeRealChargeCount { get; set; } + + /// + /// 11 上一次结算插枪充电量 + /// + [Property(464, 24, scale: 0.01, round: 2)] + public double LastTimeBalanceChargeCount { get; set; } + + /// + /// 12 本次实时综合能耗 + /// + [Property(488, 24, scale: 0.01, round: 2)] + public double ThisTimeRealKgce { get; set; } + + /// + /// 13 上一次结算综合能耗 + /// + [Property(512, 24, scale: 0.01, round: 2)] + public double LastTimeBalanceKgce { get; set; } + + /// + /// 14 待结算电费电量 + /// + [Property(536, 24, scale: 0.01, round: 2)] + public double ElectricityToBeSettled { get; set; } } \ No newline at end of file