添加项目文件。

This commit is contained in:
2025-02-28 22:23:13 +08:00
parent d4ad2fe2de
commit 547a1b3bf6
416 changed files with 72830 additions and 0 deletions

View File

@@ -0,0 +1,108 @@
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrpaonEMS.App.Models
{
/// <summary>
/// 储能的运行配置值
/// </summary>
public class EnergyStorageRunConfig : BindableBase
{
/// <summary>
/// 实例化函数
/// </summary>
public EnergyStorageRunConfig()
{
PcsChargOffset = 0;//3
PcsDisChargOffset = 0;//3
MaxBatChargRatio = 0.8;//
MaxBatDisChargRatio = 0.9;//
BMSSocUpSignLimitValue = 90;//
BMSSocDownSignLimitValue = 5;
}
private int myVar;
public int MyProperty
{
get { return myVar; }
set { myVar = value; RaisePropertyChanged(); }
}
private double _PcsChargOffset;
/// <summary>
/// PCS充电功率补偿值 Kw
/// </summary>
public double PcsChargOffset
{
get { return _PcsChargOffset; }
set { _PcsChargOffset = value; RaisePropertyChanged(); }
}
private double _PcsDisChargOffset;
/// <summary>
/// PCS放电功率补偿值 Kw
/// </summary>
public double PcsDisChargOffset
{
get { return _PcsDisChargOffset; }
set { _PcsDisChargOffset = value; RaisePropertyChanged(); }
}
private double _MaxBatChargRatio;
/// <summary>
/// BMS以最大的功率充电的比值
/// 设置一个安全的比值0.95 0.9等这个的比值,防止充电电流太大导致问题
/// </summary>
public double MaxBatChargRatio
{
get { return _MaxBatChargRatio; }
set { _MaxBatChargRatio = value; RaisePropertyChanged(); }
}
private double _MaxBatDisChargRatio;
/// <summary>
/// BMS以最大的功率放电的比值
/// 设置一个安全的比值0.95 0.9等这个的比值,防止充电电流太大导致问题
/// </summary>
public double MaxBatDisChargRatio
{
get { return _MaxBatDisChargRatio; }
set { _MaxBatDisChargRatio = value; RaisePropertyChanged(); }
}
private double _BMSSocUpSignLimitValue;
/// <summary>
/// BMS满的标志
/// BMS自己有满充报警的机制
/// 这里有个保护的阀值,不需要充到报警才
/// </summary>
public double BMSSocUpSignLimitValue
{
get { return _BMSSocUpSignLimitValue; }
set { _BMSSocUpSignLimitValue = value; RaisePropertyChanged(); }
}
private double _BMSSocDownSignLimitValue;
/// <summary>
/// BMS空的标志
/// BMS自己有满充报警的机制
/// 这里有个保护的阀值,不需要充到报警才
/// </summary>
public double BMSSocDownSignLimitValue
{
get { return _BMSSocDownSignLimitValue; }
set { _BMSSocDownSignLimitValue = value; RaisePropertyChanged(); }
}
}
}