系统属性定义

zw
smartwyy 6 months ago
parent f8e91cf761
commit 7e328fa924

@ -68,7 +68,9 @@ public class StaticStationInfo
get => Resolve(StationParamConst.SwapSoc); get => Resolve(StationParamConst.SwapSoc);
set => Set(StationParamConst.SwapSoc, value); set => Set(StationParamConst.SwapSoc, value);
} }
#region 充电相关
public static int Eid public static int Eid
{ {
get => int.Parse(Resolve(StationParamConst.Eid)); get => int.Parse(Resolve(StationParamConst.Eid));
@ -87,6 +89,24 @@ public class StaticStationInfo
set => Set(StationParamConst.Ceid, value); set => Set(StationParamConst.Ceid, value);
} }
public static byte ChargeSoc
{
get => byte.Parse(Resolve(StationParamConst.ChargeSoc));
set => Set(StationParamConst.ChargeSoc, value);
}
/// <summary>
/// 0-关闭 1-开启
/// </summary>
public static byte AutoChargeEnabled
{
get => byte.Parse(Resolve(StationParamConst.AutoChargeEnabled));
set => Set(StationParamConst.AutoChargeEnabled, value);
}
#endregion
#region cloud #region cloud

@ -3,90 +3,112 @@
public class StationParamConst public class StationParamConst
{ {
#region 换电站基础信息 #region 换电站基础信息
/// <summary> /// <summary>
/// 换电站编码 /// 换电站编码
/// </summary> /// </summary>
public static readonly string StationNo = "Station.StationNo"; public static readonly string StationNo = "Station.StationNo";
/// <summary> /// <summary>
/// 换电站名称 /// 换电站名称
/// </summary> /// </summary>
public static readonly string StationName = "Station.StationName"; public static readonly string StationName = "Station.StationName";
/// <summary> /// <summary>
/// 站类型 /// 站类型
/// </summary> /// </summary>
public static readonly string StationType = "Station.StationType"; public static readonly string StationType = "Station.StationType";
/// <summary> /// <summary>
/// 换电站识别号 /// 换电站识别号
/// </summary> /// </summary>
public static readonly string StationSn = "Station.StationSn"; public static readonly string StationSn = "Station.StationSn";
/// <summary> /// <summary>
/// 地理位置 /// 地理位置
/// </summary> /// </summary>
public static readonly string StationLocation = "Station.StationLocation"; public static readonly string StationLocation = "Station.StationLocation";
/// <summary> /// <summary>
/// 经度 /// 经度
/// </summary> /// </summary>
public static readonly string Longitude = "Station.Longitude"; public static readonly string Longitude = "Station.Longitude";
/// <summary> /// <summary>
/// 纬度 /// 纬度
/// </summary> /// </summary>
public static readonly string Latitude = "Station.Latitude"; public static readonly string Latitude = "Station.Latitude";
/// <summary> /// <summary>
/// 区域编号 /// 区域编号
/// </summary> /// </summary>
public static readonly string AreaCode = "Station.AreaCode"; public static readonly string AreaCode = "Station.AreaCode";
/// <summary> /// <summary>
/// 区域名称 /// 区域名称
/// </summary> /// </summary>
public static readonly string AreaName = "Station.AreaName"; public static readonly string AreaName = "Station.AreaName";
/// <summary> /// <summary>
/// 营运开始时间 /// 营运开始时间
/// </summary> /// </summary>
public static readonly string OperationStartTime = "Station.OperationStartTime"; public static readonly string OperationStartTime = "Station.OperationStartTime";
/// <summary> /// <summary>
/// 营运结束时间 /// 营运结束时间
/// </summary> /// </summary>
public static readonly string OperationEndTime = "Station.OperationEndTime"; public static readonly string OperationEndTime = "Station.OperationEndTime";
/// <summary> /// <summary>
/// 服务状态 /// 服务状态
/// </summary> /// </summary>
public static readonly string Sevstatus = "Station.Sevstatus"; public static readonly string Sevstatus = "Station.Sevstatus";
/// <summary> /// <summary>
/// 换电站状态: 1营运中 2歇业中 3设备维护状态 4暂停营业 /// 换电站状态: 1营运中 2歇业中 3设备维护状态 4暂停营业
/// </summary> /// </summary>
public static readonly string Status = "Station.Status"; public static readonly string Status = "Station.Status";
/// <summary> /// <summary>
/// 投放时间 /// 投放时间
/// </summary> /// </summary>
public static readonly string? LaunchTime = "Station.LaunchTime"; public static readonly string? LaunchTime = "Station.LaunchTime";
/// <summary> /// <summary>
/// 联系方式 /// 联系方式
/// </summary> /// </summary>
public static readonly string ContactWay = "Station.ContactWay"; public static readonly string ContactWay = "Station.ContactWay";
/// <summary> /// <summary>
/// 负责人 /// 负责人
/// </summary> /// </summary>
public static readonly string Principal = "Station.Principal"; public static readonly string Principal = "Station.Principal";
/// <summary> /// <summary>
/// 所属运营企业 /// 所属运营企业
/// </summary> /// </summary>
public static readonly string StationCompany = "Station.StationCompany"; public static readonly string StationCompany = "Station.StationCompany";
/// <summary> /// <summary>
/// 所属运营企业统一社会信用代码 /// 所属运营企业统一社会信用代码
/// </summary> /// </summary>
public static readonly string SocialCreditCode = "Station.SocialCreditCode"; public static readonly string SocialCreditCode = "Station.SocialCreditCode";
/// <summary> /// <summary>
/// 站控主机软件版本号 /// 站控主机软件版本号
/// </summary> /// </summary>
public static readonly string StationSftVer = "Station.StationSftVer"; public static readonly string StationSftVer = "Station.StationSftVer";
/// <summary> /// <summary>
/// 供应商代码 /// 供应商代码
/// </summary> /// </summary>
public static readonly string SupplierCode = "Station.SupplierCode"; public static readonly string SupplierCode = "Station.SupplierCode";
/// <summary> /// <summary>
/// 换电站基础信息版本号 /// 换电站基础信息版本号
/// </summary> /// </summary>
public static readonly string StationVersion = "Station.StationVersion"; public static readonly string StationVersion = "Station.StationVersion";
/// <summary> /// <summary>
/// 换电站硬件版本 /// 换电站硬件版本
/// </summary> /// </summary>
@ -95,73 +117,87 @@ public class StationParamConst
/// <summary> /// <summary>
/// 封面图片文件 /// 封面图片文件
/// </summary> /// </summary>
public static readonly string Cover= "Station.Cover"; public static readonly string Cover = "Station.Cover";
/// <summary> /// <summary>
/// 总体故障等级 /// 总体故障等级
/// </summary> /// </summary>
public static readonly string? Faultlevel= "Station.Faultlevel"; public static readonly string? Faultlevel = "Station.Faultlevel";
/// <summary> /// <summary>
/// 加解锁方式 /// 加解锁方式
/// </summary> /// </summary>
public static readonly string? LockType= "Station.LockType"; public static readonly string? LockType = "Station.LockType";
/// <summary> /// <summary>
/// 进入方式 /// 进入方式
/// </summary> /// </summary>
public static readonly string? AccessType= "Station.AccessType"; public static readonly string? AccessType = "Station.AccessType";
/// <summary> /// <summary>
/// 举升方式 /// 举升方式
/// </summary> /// </summary>
public static readonly string? RiseType= "Station.RiseType"; public static readonly string? RiseType = "Station.RiseType";
/// <summary> /// <summary>
/// 创建时间 /// 创建时间
/// </summary> /// </summary>
public static readonly string CreateTime = "Station.CreateTime"; public static readonly string CreateTime = "Station.CreateTime";
/// <summary> /// <summary>
/// 修改时间 /// 修改时间
/// </summary> /// </summary>
public static readonly string? ModifyTime= "Station.ModifyTime"; public static readonly string? ModifyTime = "Station.ModifyTime";
/// <summary> /// <summary>
/// 配电容量kVA /// 配电容量kVA
/// </summary> /// </summary>
public static readonly string? DistributionCapacity= "Station.DistributionCapacity"; public static readonly string? DistributionCapacity = "Station.DistributionCapacity";
/// <summary> /// <summary>
/// 总功率kW /// 总功率kW
/// </summary> /// </summary>
public static readonly string? TotalPower= "Station.TotalPower"; public static readonly string? TotalPower = "Station.TotalPower";
/// <summary> /// <summary>
/// 省份 /// 省份
/// </summary> /// </summary>
public static readonly string StationProvince= "Station.StationProvince"; public static readonly string StationProvince = "Station.StationProvince";
/// <summary> /// <summary>
/// 城市 /// 城市
/// </summary> /// </summary>
public static readonly string StationCity= "Station.StationCity"; public static readonly string StationCity = "Station.StationCity";
/// <summary> /// <summary>
/// 组织机构ID /// 组织机构ID
/// </summary> /// </summary>
public static readonly string? OrganizationId= "Station.OrganizationId"; public static readonly string? OrganizationId = "Station.OrganizationId";
/// <summary> /// <summary>
/// 站控电脑MAC地址 /// 站控电脑MAC地址
/// </summary> /// </summary>
public static readonly string StationMac= "Station.StationMac"; public static readonly string StationMac = "Station.StationMac";
#endregion 换电站基础信息 #endregion 换电站基础信息
//选包策略中最后结束充电时间需要>此值 //选包策略中最后结束充电时间需要>此值
public static readonly string SwapFinishChargeTime = "Station.SwapFinishChargeTime"; public static readonly string SwapFinishChargeTime = "Station.SwapFinishChargeTime";
//选包策略换电Soc //选包策略换电Soc
public static readonly string SwapSoc = "Station.SwapSoc"; public static readonly string SwapSoc = "Station.SwapSoc";
//充电soc
public static readonly string ChargeSoc = "Station.ChargeSoc";
public static readonly string AutoChargeEnabled = "Station.AutoChargeEnabled";
public static readonly string Eid = "Station.Eid"; public static readonly string Eid = "Station.Eid";
public static readonly string Oid = "Station.Oid"; public static readonly string Oid = "Station.Oid";
public static readonly string Ceid = "Station.Ceid"; public static readonly string Ceid = "Station.Ceid";
public static readonly string StationStatus = "Station.StationStatus"; public static readonly string StationStatus = "Station.StationStatus";
public static readonly string StationWay = "Station.StationWay"; public static readonly string StationWay = "Station.StationWay";
public static readonly string StationModel = "Station.StationModel"; public static readonly string StationModel = "Station.StationModel";
#region cloud param #region cloud param
public static readonly string CloudServerIp = "Cloud.CloudServerIp"; public static readonly string CloudServerIp = "Cloud.CloudServerIp";

Loading…
Cancel
Save