diff --git a/Service/Cloud/Common/CloudConst.cs b/Service/Cloud/Common/CloudConst.cs index 4531ef2..25eee20 100644 --- a/Service/Cloud/Common/CloudConst.cs +++ b/Service/Cloud/Common/CloudConst.cs @@ -55,6 +55,8 @@ public class CloudConst public static readonly string eqmStateStartLogInfoRes = "eqmStateStartLogInfoRes"; public static readonly string eqmStateEndLogInfo = "eqmStateEndLogInfo"; public static readonly string eqmStateEndLogInfoRes = "eqmStateEndLogInfoRes"; + public static readonly string chargeDevDataInfo = "chargeDevDataInfo"; + public static readonly string chargeDevDataInfoRes = "chargeDevDataInfoRes"; #endregion } \ No newline at end of file diff --git a/Service/Cloud/Msg/Cloud/Resp/ChargeDevDataInfoRes.cs b/Service/Cloud/Msg/Cloud/Resp/ChargeDevDataInfoRes.cs new file mode 100644 index 0000000..b216dfb --- /dev/null +++ b/Service/Cloud/Msg/Cloud/Resp/ChargeDevDataInfoRes.cs @@ -0,0 +1,25 @@ +using Service.Cloud.Common; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Service.Cloud.Msg.Cloud.Resp +{ + /// + /// 4.2.10.2 云平台应答充电机的遥测数据上报 + /// + public class ChargeDevDataInfoRes + { + /// + /// 应答结果0成功1失败 + /// + public byte re { get; set; } + + public string GetCmd() + { + return CloudConst.chargeDevDataInfoRes; + } + } +} diff --git a/Service/Cloud/Msg/Host/Req/BatDataInfo.cs b/Service/Cloud/Msg/Host/Req/BatDataInfo.cs new file mode 100644 index 0000000..de51bc8 --- /dev/null +++ b/Service/Cloud/Msg/Host/Req/BatDataInfo.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Service.Cloud.Msg.Host.Req +{ + /// + /// 4.2.11.1 换电站电池包数据信息 + /// + public class BatDataInfo + { + + } +} diff --git a/Service/Cloud/Msg/Host/Req/ChargeDevDataInfo.cs b/Service/Cloud/Msg/Host/Req/ChargeDevDataInfo.cs new file mode 100644 index 0000000..db6f7db --- /dev/null +++ b/Service/Cloud/Msg/Host/Req/ChargeDevDataInfo.cs @@ -0,0 +1,139 @@ +using Service.Cloud.Common; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Service.Cloud.Msg.Host.Req +{ + /// + /// 4.2.10.1 换电站充电机数据上报 + /// + public class ChargeDevDataInfo + { + + /// + /// 场站编码 换电站唯一码 + /// + public string sn { get; set; } + /// + /// 设备编号 设备编号 + /// + public string en { get; set; } + /// + /// 充电架 ID 按电池架的编号 A1,A2… + /// + public string sd { get; set; } + /// + /// 充电机最大允许 输出功率 单位 0.1kw + /// + public float mtp { get; set; } + /// + /// 充电机最大允 许充电速率 单位 0.1C + /// + public float mcr { get; set; } + /// + /// 电池架上是否有 电池 0:未知 1:有电池 2:无电池 + /// + public int hb { get; set; } + /// + /// 电接头连接状态 0:未知 1:已经连接 2:未连接 + /// + public int el { get; set; } + /// + /// 充电机序号 从 1 开始递增 + /// + public int cno { get; set; } + /// + /// 充电机的工作状态 00H:待机 01H:工作02H:工作完成03H:充电暂停 + /// + public int cs { get; set; } + /// + /// 故障状态 00H:无故障 01H:有故障 + /// + public int fs { get; set; } + ///告警状态 00H:无告警.01H:有告警 + public int @as { get; set; } + /// + /// 故障码 参考充电机的故障码定义 + /// + public int fc { get; set; } + /// + /// 充电开始时间 没有进行充电填空 + /// + public DateTime st { get; set; } + /// + /// 已经充电时间 单位 分钟 + /// + public int ct { get; set; } + /// + /// 充电开始 SOC 0-100 单位 0.1 ,没有充电填 0 + /// + public int ssoc { get; set; } + /// + /// 当前 SOC 单位 0.1 + /// + public int csoc { get; set; } + /// + /// 充电开始 SOE 单位 0.1kwh,没有充电填 0 + /// + public float ssoe { get; set; } + /// + /// 当前 SOE 单位 0.1kwh + /// + public float csoe { get; set; } + /// + /// 当前充电电压 单位 0.1V,没有充电填 0 + /// + public float cvot { get; set; } + /// + /// 当前充电电流 单位 0.1A,没有充电填 0 + /// + public float ccur { get; set; } + /// + /// BMS 需求电压 单位 0.1V,没有充电填 0 + /// + public float nvot { get; set; } + /// + /// BMS 需求电流 单位 0.1A,没有充电填 0 + /// + public float ncur { get; set; } + /// + /// 最低单体电压 单位 0.01V + /// + public float lsv { get; set; } + /// + /// 最高单体电压 单位 0.01V + /// + public float hsv { get; set; } + /// + /// 最低单体温度 单位 0.1℃ + /// + public float lst { get; set; } + /// + /// 最高单体温度 单位 0.1℃ + /// + public float hst { get; set; } + /// + /// 水冷状态 0:未知 1:开启 2:关闭 0xFF: 无水冷设备 + /// + public byte ws { get; set; } + /// + /// 进水口温度 单位 0.1℃ , 没有水冷设备填 0xFF + /// + public float it { get; set; } + /// + /// 出水口温度 单位 0.1℃ , 没有水冷设备填 0xFF + /// + public float ot { get; set; } + /// + /// 更新时间 格式 ”yyyy-MM-dd HH:mm:ss ” + /// + public DateTime bt { get; set; } + public string GetCmd() + { + return CloudConst.chargeDevDataInfo; + } + } +}