增加 制热量Qh 等6个值到记录中
This commit is contained in:
@@ -226,6 +226,42 @@ namespace CapMachine.Wpf.Models
|
||||
[Name("过冷度[K]")]
|
||||
public double Subcooling { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制热量Qh[KW]
|
||||
/// </summary>
|
||||
[Name("制热量Qh[KW]")]
|
||||
public double HeatingCapacity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 压缩机性能系数(制热)
|
||||
/// </summary>
|
||||
[Name("压缩机性能系数(制热)")]
|
||||
public double COPHeat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 等熵效率ns[%]
|
||||
/// </summary>
|
||||
[Name("等熵效率ns[%]")]
|
||||
public double IsentrpEff { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制冷量Qc[KW]
|
||||
/// </summary>
|
||||
[Name("制冷量Qc[KW]")]
|
||||
public double CoolCapacity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 压缩机性能系数(制冷)
|
||||
/// </summary>
|
||||
[Name("压缩机性能系数(制冷)")]
|
||||
public double COPCool { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 容积效率nv[%]
|
||||
/// </summary>
|
||||
[Name("容积效率nv[%]")]
|
||||
public double VoltricEff { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// PTC流量[L/min]
|
||||
/// </summary>
|
||||
|
||||
@@ -52,6 +52,13 @@ namespace CapMachine.Wpf.Models
|
||||
Map(m => m.Superheat).Name("过热度[K]");
|
||||
Map(m => m.Subcooling).Name("过冷度[K]");
|
||||
|
||||
Map(m => m.HeatingCapacity).Name("制热量Qh[KW]");
|
||||
Map(m => m.COPHeat).Name("压缩机性能系数(制热)");
|
||||
Map(m => m.IsentrpEff).Name("等熵效率ns[%]");
|
||||
Map(m => m.CoolCapacity).Name("制冷量Qc[KW]");
|
||||
Map(m => m.COPCool).Name("压缩机性能系数(制冷)");
|
||||
Map(m => m.VoltricEff).Name("容积效率nv[%]");
|
||||
|
||||
//Map(m => m.PTCFlow).Name("PTC流量[L/min]");
|
||||
//Map(m => m.PTCEntTemp).Name("PTC入水温度[℃]");
|
||||
//Map(m => m.PTCExpTemp).Name("PTC出水温度[℃]");
|
||||
|
||||
@@ -267,6 +267,19 @@ namespace CapMachine.Wpf.Models.LightChart
|
||||
case "过冷度[K]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.Subcooling, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
|
||||
case "制热量Qh[KW]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.HeatingCapacity, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "压缩机性能系数(制热)":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.COPHeat, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "等熵效率ns[%]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.IsentrpEff, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "制冷量Qc[KW]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.CoolCapacity, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "压缩机性能系数(制冷)":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.COPCool, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "容积效率nv[%]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.VoltricEff, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
|
||||
|
||||
case "PTC流量[L/min]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.PTCFlow, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
|
||||
@@ -138,6 +138,13 @@ namespace CapMachine.Wpf.Services
|
||||
new Columns(){ Name="过热度[K]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="过冷度[K]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
|
||||
new Columns(){ Name="制热量Qh[KW]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="压缩机性能系数(制热)",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="等熵效率ns[%]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="制冷量Qc[KW]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="压缩机性能系数(制冷)",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="容积效率nv[%]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
|
||||
//new Columns(){ Name="PTC流量[L/min]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
//new Columns(){ Name="PTC入水温度[℃]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
//new Columns(){ Name="PTC出水温度[℃]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
|
||||
@@ -33,6 +33,8 @@ namespace CapMachine.Wpf.Services
|
||||
public MachineRtDataService MachineRtDataService { get; }
|
||||
public IDialogService DialogService { get; }
|
||||
|
||||
private readonly PPCSuperheatSubcoolCalculator _superheatSubcoolCalculator;
|
||||
private readonly PPCThermodynamicSixResultsCalculator _thermodynamicSixResultsCalculator;
|
||||
|
||||
/// <summary>
|
||||
/// 标签中心
|
||||
@@ -114,6 +116,9 @@ namespace CapMachine.Wpf.Services
|
||||
SuperHeatCoolConfig.FluidsPath = ConfigHelper.GetValue("FluidsPath");
|
||||
SuperHeatCoolConfig.Cryogen = ConfigHelper.GetValue("Cryogen");
|
||||
|
||||
_superheatSubcoolCalculator = new PPCSuperheatSubcoolCalculator();
|
||||
_thermodynamicSixResultsCalculator = new PPCThermodynamicSixResultsCalculator();
|
||||
|
||||
RtScanDeviceStart();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user