using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrpaonEMS.App.Models
{
///
/// 控制参数配置值
///
public class ControlConfigValue : BindableBase
{
///
/// 实例化函数
///
public ControlConfigValue()
{
SolarToEsAsFullSoc = 97;
Master_ToSlaveByMasterSoc = 5;
Master_ToSlaveBySlaveSoc = 15;
Master_SolarToSlaveEsFullByMasterSoc = 95;
Slave_ToMasterBySlaveSoc = 5;
Slave_ToMasterByMasterSoc = 15;
Slave_SolarToMasterEsFullBySlaverSoc = 95;
NightMaster_ToMasterFullSoc = 98;
NightSlave_ToSlaveFullSoc = 98;
DisChargeModel = new List();
SelectedDisChargeModel = 1;
}
private double _SolarToEsAsFullSoc;
///
/// 光伏给储能充电 作为满的比值
/// 90-97
///
public double SolarToEsAsFullSoc
{
get { return _SolarToEsAsFullSoc; }
set { _SolarToEsAsFullSoc = value; RaisePropertyChanged(); }
}
private double _Master_ToSlaveByMasterSoc;
///
/// Master模式,切换到Slave模式时MasterSOC的阈值
///
public double Master_ToSlaveByMasterSoc
{
get { return _Master_ToSlaveByMasterSoc; }
set { _Master_ToSlaveByMasterSoc = value; RaisePropertyChanged(); }
}
private double _Master_ToSlaveBySlaveSoc;
///
/// Master模式,切换到Slave模式时Slave SOC的阀值
/// 两个同时考虑
///
public double Master_ToSlaveBySlaveSoc
{
get { return _Master_ToSlaveBySlaveSoc; }
set { _Master_ToSlaveBySlaveSoc = value; RaisePropertyChanged(); }
}
private double _Master_SolarToSlaveEsFullByMasterSoc;
///
/// Master模式,光伏给从储能充满了,是否切换到Slave模式,但是此时需要判断主储能MasterSOC是否满了(主储能也满的话,也无法接收光伏的电),否则不切换
/// 主要考虑尽可能的不浪费光伏的电,主从储能只要有余量就要接受光伏的电,也要防止频繁的切换
/// < SolarToEsAsFullSoc
///
public double Master_SolarToSlaveEsFullByMasterSoc
{
get { return _Master_SolarToSlaveEsFullByMasterSoc; }
set { _Master_SolarToSlaveEsFullByMasterSoc = value; RaisePropertyChanged(); }
}
private double _Slave_ToMasterBySlaveSoc;
///
/// Slave模式,切换到Master模式时SOC的阀值
/// 两个同时考虑
///
public double Slave_ToMasterBySlaveSoc
{
get { return _Slave_ToMasterBySlaveSoc; }
set { _Slave_ToMasterBySlaveSoc = value; RaisePropertyChanged(); }
}
private double _Slave_ToMasterByMasterSoc;
///
/// Slave模式,切换到Master模式时SOC的阀值
/// 两个同时考虑
///
public double Slave_ToMasterByMasterSoc
{
get { return _Slave_ToMasterByMasterSoc; }
set { _Slave_ToMasterByMasterSoc = value; RaisePropertyChanged(); }
}
private double _Slave_SolarToMasterEsFullBySlaverSoc;
///
/// Slave模式,光伏给主储能充满了,是否切换到Master模式,但是此时需要判断从储能SOC是否满了(从储能也满的话,也无法接收光伏的电),否则不切换
/// 主要考虑尽可能的不浪费光伏的电,主从储能只要有余量就要接受光伏的电,也要防止频繁的切换
/// < SolarToEsAsFullSoc
///
public double Slave_SolarToMasterEsFullBySlaverSoc
{
get { return _Slave_SolarToMasterEsFullBySlaverSoc; }
set { _Slave_SolarToMasterEsFullBySlaverSoc = value; RaisePropertyChanged(); }
}
private double _NightMaster_ToMasterFullSoc;
///
/// 晚上,主储能充满的标志,也是切换到从储能的控制标志
///
public double NightMaster_ToMasterFullSoc
{
get { return _NightMaster_ToMasterFullSoc; }
set { _NightMaster_ToMasterFullSoc = value; RaisePropertyChanged(); }
}
private double _NightSlave_ToSlaveFullSoc;
///
/// 晚上,从储能充满的标志,也是切换到主储能的控制标志
///
public double NightSlave_ToSlaveFullSoc
{
get { return _NightSlave_ToSlaveFullSoc; }
set { _NightSlave_ToSlaveFullSoc = value; RaisePropertyChanged(); }
}
private List _DisChargeModel;
public List DisChargeModel
{
get { return _DisChargeModel; }
set { _DisChargeModel = value; RaisePropertyChanged(); }
}
private int _SelectedDisChargeModel;
public int SelectedDisChargeModel
{
get { return _SelectedDisChargeModel; }
set { _SelectedDisChargeModel = value; RaisePropertyChanged(); }
}
}
}