MSG,到4.2.92

zw
CZ 6 months ago
parent 50d25c2699
commit 875f172fa0

@ -39,6 +39,22 @@ public class CloudConst
public static readonly string staSwapRecordRes = "staSwapRecordRes";
public static readonly string amtBat = "amtBat";
public static readonly string amtBatRes = "amtBatRes";
public static readonly string ChargeRecordReport = "ChargeRecordReport";
public static readonly string ChargeRecordReportsRes = "ChargeRecordReportsRes";
public static readonly string stationRunStatus = "stationRunStatus";
public static readonly string stationRunStatusRes = "stationRunStatusRes";
public static readonly string stationChnRunStatus = "stationChnRunStatus";
public static readonly string stationChnRunStatusRes = "stationChnRunStatusRes";
public static readonly string faultReport = "faultReport";
public static readonly string faultReportRes = "faultReportRes";
public static readonly string evmDataInfo = "evmDataInfo";
public static readonly string evmDataInfoRes = "evmDataInfoRes";
public static readonly string acDataInfo = "acDataInfo";
public static readonly string acDataInfoRes = "acDataInfoRes";
public static readonly string eqmStateStartLogInfo = "eqmStateStartLogInfo";
public static readonly string eqmStateStartLogInfoRes = "eqmStateStartLogInfoRes";
public static readonly string eqmStateEndLogInfo = "eqmStateEndLogInfo";
public static readonly string eqmStateEndLogInfoRes = "eqmStateEndLogInfoRes";
#endregion
}

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Req
/// <summary>
/// 3.2.7.1 后台服务器下发换电站的电池运营模型
/// </summary>
public class BatteryOperatingModel
public class BatteryOperatingModel : ICmd
{
/// <summary>
/// 运营模型ID

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Req
/// <summary>
/// 3.2.6.1 后台服务器设置换电站的营业时段
/// </summary>
public class BusinessHour
public class BusinessHour : ICmd
{
/// <summary>
/// 更新时间

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Req
/// <summary>
/// 1 云平台下发车辆开始换电指令
/// </summary>
public class CarCanStart
public class CarCanStart : ICmd
{
/// <summary>
/// 订单号

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Req
/// <summary>
///
/// </summary>
public class ChargerElectricityPriceModel
public class ChargerElectricityPriceModel : ICmd
{
/// <summary>
/// 更新时间

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Req
/// <summary>
/// 3.2.8.1 后台服务器下发换电站的电价模型
/// </summary>
public class ElectricityPriceModel
public class ElectricityPriceModel : ICmd
{
/// <summary>
/// 计费模型ID

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Req
/// <summary>
/// 3.2.10.1 后台服务器下发离线换电车辆数据
/// </summary>
public class OfflinePowerOnVehicleData
public class OfflinePowerOnVehicleData : ICmd
{
/// <summary>
/// 更新方式

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Req
/// <summary>
/// 3.2.12.1 后台服务器下发参数获取
/// </summary>
public class ParameterAcquisition
public class ParameterAcquisition : ICmd
{
/// <summary>
/// 自定义

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Req
/// <summary>
/// 3.2.5.1 后台服务器下发换电站的可服务状态设置
/// </summary>
public class ServiceableState
public class ServiceableState : ICmd
{
/// <summary>
/// 服务状态

@ -11,7 +11,7 @@ namespace Service.Cloud.Msg.Cloud.Req
/// <summary>
/// 3.2.11.1 后台服务器下发设置配置参数
/// </summary>
public class SetConfigurationParameters
public class SetConfigurationParameters : ICmd
{
/// <summary>
/// 可换 soc 阈值

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Req
/// <summary>
/// 3.2.3.1 后台服务器下发换电站的基础信息
/// </summary>
public class SetStBaseInfo
public class DeliverBasicInformation : ICmd
{
/// <summary>
/// 电站编码

@ -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
{
/// <summary>
/// 4.2.7.2 云平台反馈换电站空调数据信息
/// </summary>
public class AirConditioningDataResp : ICmd
{
/// <summary>
/// 应答结果
/// </summary>
public byte re { get; set; }
public string GetCmd()
{
return CloudConst.acDataInfoRes;
}
}
}

@ -0,0 +1,29 @@
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
{
/// <summary>
/// 3 云平台反馈换电站通道状态上报
/// </summary>
public class ChannelStatusReportingResp : ICmd
{
/// <summary>
/// 应答结果
/// </summary>
public byte re { get; set; }
/// <summary>
/// 接收失败原因
/// </summary>
public byte rs { get; set; }
public string GetCmd()
{
return CloudConst.stationChnRunStatusRes;
}
}
}

@ -0,0 +1,29 @@
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
{
/// <summary>
/// 云平台反馈换电站状态上报
/// </summary>
public class ChargeRecordReportingResp : ICmd
{
/// <summary>
/// 应答结果
/// </summary>
public byte re { get; set; }
/// <summary>
/// 接收失败原因
/// </summary>
public string rs { get; set; }
public string GetCmd()
{
return CloudConst.ChargeRecordReportsRes;
}
}
}

@ -0,0 +1,29 @@
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
{
/// <summary>
/// 4.2.9.2 云平台反馈设备状态结束日志信息
/// </summary>
public class EndLogMessageResp : ICmd
{
/// <summary>
/// 应答结果
/// </summary>
public byte re { get; set; }
/// <summary>
/// 接收失败原因
/// </summary>
public string rs { get; set; }
public string GetCmd()
{
return CloudConst.eqmStateEndLogInfoRes;
}
}
}

@ -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
{
/// <summary>
/// 4.2.3.3 云平台反馈换电站状态上报
/// </summary>
public class HostStatusReportedResp : ICmd
{
/// <summary>
/// 应答结果
/// </summary>
public byte re { get; set; }
public string GetCmd()
{
return CloudConst.stationRunStatusRes;
}
}
}

@ -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
{
/// <summary>
/// 2 云平台反馈设备实时故障信息
/// </summary>
public class RealTimeFaultInfoResp : ICmd
{
/// <summary>
/// 应答结果
/// </summary>
public int re { get; set; }
public string GetCmd()
{
return CloudConst.faultReportRes;
}
}
}

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Resp
/// <summary>
/// 3.2.4. 2 后台应答/请求设备列表上报
/// </summary>
public class ReportingDeviceListResp
public class ReportingDeviceListResp : ICmd
{
/// <summary>
/// 操作类型

@ -0,0 +1,29 @@
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
{
/// <summary>
/// 4.2.8.2 云平台反馈设备状态开始日志信息
/// </summary>
public class StartLogMessageResp : ICmd
{
/// <summary>
/// 应答结果
/// </summary>
public byte re { get; set; }
/// <summary>
/// 接收失败原因
/// </summary>
public byte rs { get; set; }
public string GetCmd()
{
return CloudConst.eqmStateStartLogInfoRes;
}
}
}

@ -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
{
/// <summary>
/// 4.2.6.2 云平台反馈换电站温湿度数据信息
/// </summary>
public class TemperatureHumidityDataResp : ICmd
{
/// <summary>
/// 应答结果
/// </summary>
public byte re { get; set; }
public string GetCmd()
{
return CloudConst.evmDataInfoRes;
}
}
}

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Resp
/// <summary>
///
/// </summary>
public class UploadPowerChangeOrderResp
public class UploadPowerChangeOrderResp : ICmd
{
/// <summary>
/// 应答结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Resp
/// <summary>
/// 2.1.1.2 后台应答换电站车辆认证的结果
/// </summary>
public class VehicleCertificationResp
public class VehicleCertificationResp : ICmd
{
/// <summary>
/// 应答结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Cloud.Resp
/// <summary>
/// 2.1.3.3 云平台反馈换电车辆数据上报
/// </summary>
public class VehicleDataReportingResp
public class VehicleDataReportingResp : ICmd
{
/// <summary>
/// 接收结果

@ -0,0 +1,49 @@
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
{
/// <summary>
/// 4.2.7.1 换电站空调数据信息
/// </summary>
public class AirConditioningData : ICmd
{
/// <summary>
/// 场站编码
/// </summary>
public string sn { get; set; }
/// <summary>
/// 空调编码
/// </summary>
public string ad { get; set; }
/// <summary>
/// 空调名称
/// </summary>
public string an { get; set; }
/// <summary>
/// 空调状态
/// </summary>
public byte au { get; set; }
/// <summary>
/// 空调模式
/// </summary>
public byte am { get; set; }
/// <summary>
/// 空调温度
/// </summary>
public float ap { get; set; }
/// <summary>
/// 更新时刻
/// </summary>
public DateTime bt { get; set; }
public string GetCmd()
{
return CloudConst.acDataInfo;
}
}
}

@ -0,0 +1,49 @@
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
{
/// <summary>
/// 4.2.4.2 换电站通道状态上报
/// </summary>
public class ChannelStatusReporting : ICmd
{
/// <summary>
/// 换电通道编号
/// </summary>
public int ec { get; set; }
/// <summary>
/// 工作状态
/// </summary>
public int ws { get; set; }
/// <summary>
/// 换电通道状态
/// </summary>
public int cs { get; set; }
/// <summary>
/// 是否有车
/// </summary>
public int iv { get; set; }
/// <summary>
/// 锁止状态
/// </summary>
public int ls { get; set; }
/// <summary>
/// 换电站通道故障等级
/// </summary>
public int fl { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public int ut { get; set; }
public string GetCmd()
{
return CloudConst.stationChnRunStatus;
}
}
}

@ -0,0 +1,112 @@
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
{
/// <summary>
/// 4.2.2.2 充电记录上报
/// </summary>
public class ChargeRecordReporting : ICmd
{
/// <summary>
/// 充电流水号
/// </summary>
public string orsn { get; set; }
/// <summary>
/// 换电订单号
/// </summary>
public string son { get; set; }
/// <summary>
/// 换电结束时刻
/// </summary>
public DateTime chanet { get; set; }
/// <summary>
/// 充电订单号
/// </summary>
public string chrsn { get; set; }
/// <summary>
/// 电池序列号
/// </summary>
public string bid { get; set; }
/// <summary>
/// 开始时间
/// </summary>
public DateTime st { get; set; }
/// <summary>
/// 结束时间
/// </summary>
public DateTime et { get; set; }
/// <summary>
/// 开始SOC
/// </summary>
public int ssoc { get; set; }
/// <summary>
/// 结束SOC
/// </summary>
public int esoc { get; set; }
/// <summary>
/// 开始SOE
/// </summary>
public float ssoe { get; set; }
/// <summary>
/// 结束SOE
/// </summary>
public float esoe { get; set; }
/// <summary>
/// 充电电量
/// </summary>
public float ce { get; set; }
/// <summary>
/// 充电时长
/// </summary>
public int ct { get; set; }
/// <summary>
/// 充电次数
/// </summary>
public int cn { get; set; }
/// <summary>
/// 尖时段电量
/// </summary>
public float tp { get; set; }
/// <summary>
/// 峰时段电量
/// </summary>
public float pp { get; set; }
/// <summary>
/// 平时段电量
/// </summary>
public float fp { get; set; }
/// <summary>
/// 谷时段电量
/// </summary>
public float vp { get; set; }
/// <summary>
/// 充电前交流表 电量
/// </summary>
public float qjd { get; set; }
/// <summary>
/// 充电后交流表 电量
/// </summary>
public float hjd { get; set; }
/// <summary>
/// 上报方式
/// </summary>
public int sfs { get; set; }
/// <summary>
/// 车架号
/// </summary>
public string vin { get; set; }
/// <summary>
/// 是否为站外插 检充由
/// </summary>
public int sfoc { get; set; }
public string GetCmd()
{
return CloudConst.ChargeRecordReport;
}
}
}

@ -0,0 +1,49 @@
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
{
/// <summary>
/// 4.2.9.1 换电站设备状态结束日志信息
/// </summary>
public class EndLogMessage : ICmd
{
/// <summary>
/// 设备编号
/// </summary>
public string en { get; set; }
/// <summary>
/// 状态值
/// </summary>
public byte sv { get; set; }
/// <summary>
/// 状态名称
/// </summary>
public string sm { get; set; }
/// <summary>
/// 开始时刻
/// </summary>
public DateTime st { get; set; }
/// <summary>
/// 结束时刻
/// </summary>
public DateTime et { get; set; }
/// <summary>
/// 持续时间
/// </summary>
public int ke { get; set; }
/// <summary>
/// 采集模式
/// </summary>
public int cm { get; set; }
public string GetCmd()
{
return CloudConst.eqmStateEndLogInfo;
}
}
}

@ -0,0 +1,33 @@
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
{
/// <summary>
/// 4.2.3.2 换电站状态上报
/// </summary>
public class HostStatusReported : ICmd
{
/// <summary>
/// 服务状态
/// </summary>
public int rs { get; set; }
/// <summary>
/// 换电站运营状态
/// </summary>
public int os { get; set; }
/// <summary>
/// 换电站总体故障等级
/// </summary>
public int fl { get; set; }
public string GetCmd()
{
return CloudConst.setOpModelRes;
}
}
}

@ -0,0 +1,53 @@
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
{
/// <summary>
/// 4.2.5.1 换电站设备实时故障信息
/// </summary>
public class RealTimeFaultInfo : ICmd
{
/// <summary>
/// 场站編码
/// </summary>
public string sn { get; set; }
/// <summary>
/// 设备编号
/// </summary>
public string en { get; set; }
/// <summary>
/// 故障码
/// </summary>
public string fc { get; set; }
/// <summary>
/// 故障内容
/// </summary>
public string ft { get; set; }
/// <summary>
/// 故障等级
/// </summary>
public int fl { get; set; }
/// <summary>
/// 故障标志
/// </summary>
public int fg { get; set; }
/// <summary>
/// 发生时间
/// </summary>
public DateTime bt { get; set; }
/// <summary>
/// 采集模式
/// </summary>
public int cm { get; set; }
public string GetCmd()
{
return CloudConst.faultReport;
}
}
}

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Req
/// <summary>
/// 3.2.4 换电站上报设备列表
/// </summary>
public class ReportingDeviceList
public class ReportingDeviceList : ICmd
{
public int ot { get; set; }

@ -0,0 +1,41 @@
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
{
/// <summary>
/// 4.2.8.1 换电站设备状态开始日志信息
/// </summary>
public class StartLogMessage : ICmd
{
/// <summary>
/// 设备编号
/// </summary>
public string en { get; set; }
/// <summary>
/// 状态值
/// </summary>
public byte SV { get; set; }
/// <summary>
/// 状态名称
/// </summary>
public string sm { get; set; }
/// <summary>
/// 变化时刻
/// </summary>
public DateTime st { get; set; }
/// <summary>
/// 采集模式
/// </summary>
public int cm { get; set; }
public string GetCmd()
{
return CloudConst.eqmStateStartLogInfo;
}
}
}

@ -0,0 +1,40 @@
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
{
/// <summary>
/// 4.2.6.1 换电站温湿度数据信息
/// </summary>
public class TemperatureHumidityData : ICmd
{
/// <summary>
/// 场站编码
/// </summary>
public string sn { get; set; }
/// <summary>
/// 环境区域
/// </summary>
public string ea { get; set; }
/// <summary>
/// 环境温度
/// </summary>
public float et { get; set; }
/// <summary>
/// 环境湿度
/// </summary>
public float eh { get; set; }
/// <summary>
/// 发生时间
/// </summary>
public DateTime bt { get; set; }
public string GetCmd()
{
return CloudConst.evmDataInfo;
}
}
}

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Req
/// <summary>
/// 4.2.1.1 换电上传换电订单
/// </summary>
public class UploadPowerChangeOrder
public class UploadPowerChangeOrder : ICmd
{
/// <summary>
/// 换电站编码

@ -11,7 +11,7 @@ namespace Service.Cloud.Msg.Host.Req
/// <summary>
/// 2.1.1.1 换电站进行车辆认证
/// </summary>
public class VehicleCertification
public class VehicleCertification : ICmd
{
/// <summary>
/// 认证方式

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Req
/// <summary>
/// 换电车辆数据上报
/// </summary>
public class VehicleDataReporting
public class VehicleDataReporting : ICmd
{
/// <summary>
/// 订单号

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Resp
/// <summary>
/// 3.2.7.2 换电站应答后台服务器设置换电站的电池运营模型
/// </summary>
public class BatteryOperatingModelResp
public class BatteryOperatingModelResp : ICmd
{
/// <summary>
/// 应答结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Resp
/// <summary>
/// 3.2.6.2 换电站应答后台服务器下发后台服务器设置换电站的营业时段
/// </summary>
public class BusinessHourResp
public class BusinessHourResp : ICmd
{
/// <summary>
/// 应答结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Resp
/// <summary>
/// 2 换电站应答后台服务器下发换电站充电电价模型
/// </summary>
public class ChargerElectricityPriceModelResp
public class ChargerElectricityPriceModelResp : ICmd
{
/// <summary>
/// 应答结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Resp
/// <summary>
/// 3.2.9.1 后台服务器下发换电站充电机的电价模型
/// </summary>
public class ElectricityPriceModelResp
public class ElectricityPriceModelResp : ICmd
{
/// <summary>
/// 应答结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Resp
/// <summary>
/// 3.2.9.2 换电站应答后台服务器下发离线换电车辆数据
/// </summary>
public class OfflinePowerOnVehicleDataResp
public class OfflinePowerOnVehicleDataResp : ICmd
{
/// <summary>
/// 应答结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Resp
/// <summary>
/// 3.2.11.2 换电站应答后台服务器下发参数获取
/// </summary>
public class ParameterAcquisitionResp
public class ParameterAcquisitionResp : ICmd
{
/// <summary>
/// 应答结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Resp
/// <summary>
/// 2 换电站应答车辆开始换电指令
/// </summary>
public class PowerChangeCommandResp
public class PowerChangeCommandResp : ICmd
{
/// <summary>
/// 接收结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Resp
/// <summary>
/// 1.2 换电站应答后台服务器下发参数设置
/// </summary>
public class SetConfigurationParametersResp
public class SetConfigurationParametersResp : ICmd
{
/// <summary>
/// 应答结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Resp
/// <summary>
/// 3.2.5.2 换电站应答后台服务器下发换电站的可服务状态设置
/// </summary>
public class SetServiceRes
public class ServiceableStateResp : ICmd
{
/// <summary>
/// 应答结果

@ -10,7 +10,7 @@ namespace Service.Cloud.Msg.Host.Resp
/// <summary>
/// 3.2.3.2 换电站应答后台服务器下发换电站的基础信息
/// </summary>
public class SetStBaseInfoRes
public class DeliverBasicInformationResp : ICmd
{
/// <summary>
/// 应答结果

@ -1,19 +1,11 @@
{
"Version": 1,
"Hash": "FS59OvTZ9B6lpwaxIjb4jYpPMI2uWVuvwpvRJoWtEFc=",
"Hash": "7euZr+Skxn+CPwHhQ3H6LZuur9IzJqC+CYg6oY75X7A=",
"Source": "WebStarter",
"BasePath": "_content/WebStarter",
"Mode": "Default",
"ManifestType": "Build",
"ReferencedProjectsConfiguration": [],
"DiscoveryPatterns": [
{
"Name": "WebStarter\\wwwroot",
"Source": "WebStarter",
"ContentRoot": "D:\\Desktop\\huannengMain\\WebStarter\\wwwroot\\",
"BasePath": "_content/WebStarter",
"Pattern": "**"
}
],
"DiscoveryPatterns": [],
"Assets": []
}
Loading…
Cancel
Save