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