增加了几个参数的数据记录功能
This commit is contained in:
@@ -974,6 +974,7 @@ namespace CapMachine.Wpf.LinDrive
|
||||
/// <summary>
|
||||
/// 循环更新调度表的指令数据
|
||||
/// 定时更新数据到调度表中
|
||||
/// 被数值更新事件驱动的方法取代了
|
||||
/// </summary>
|
||||
public void StartCycleUpdateCmd()
|
||||
{
|
||||
|
||||
@@ -355,6 +355,36 @@ namespace CapMachine.Wpf.Models
|
||||
[Name("吸气混合器出口压力[BarA]")]
|
||||
public double InhMixOutPress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 气路阀前压力[BarA]
|
||||
/// </summary>
|
||||
[Name("气路阀前压力[BarA]")]
|
||||
public double GasFrPress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 气路阀前温度[℃]
|
||||
/// </summary>
|
||||
[Name("气路阀前温度[℃]")]
|
||||
public double GasFrTemp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 干度[%]
|
||||
/// </summary>
|
||||
[Name("干度[%]")]
|
||||
public double Dryness { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过冷度[K]
|
||||
/// </summary>
|
||||
[Name("过冷度[K]")]
|
||||
public double Subcooling { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过热度[K]
|
||||
/// </summary>
|
||||
[Name("过热度[K]")]
|
||||
public double Superheat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
|
||||
@@ -72,6 +72,11 @@ namespace CapMachine.Wpf.Models
|
||||
Map(m => m.SCCirWaterTemp).Name("S.C循环水温[℃]");
|
||||
Map(m => m.EvapCirWaterTemp).Name("EVAP循环水温[℃]");
|
||||
Map(m => m.InhMixOutPress).Name("吸气混合器出口压力[BarA]");
|
||||
Map(m => m.GasFrPress).Name("气路阀前压力[BarA]");
|
||||
Map(m => m.GasFrTemp).Name("气路阀前温度[℃]");
|
||||
Map(m => m.Dryness).Name("干度[%]");
|
||||
Map(m => m.Subcooling).Name("过冷度[K]");
|
||||
Map(m => m.Superheat).Name("过热度[K]");
|
||||
Map(m => m.CreateTime).Name("时间");
|
||||
|
||||
|
||||
|
||||
@@ -309,6 +309,16 @@ namespace CapMachine.Wpf.Models.LightChart
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.EvapCirWaterTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "吸气混合器出口压力[BarA]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.InhMixOutPress, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "气路阀前压力[BarA]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.GasFrPress, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "气路阀前温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.GasFrTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "干度[%]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.Dryness, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "过冷度[K]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.Subcooling, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "过热度[K]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.Superheat, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
default:
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.Speed, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
break;
|
||||
|
||||
@@ -159,6 +159,11 @@ namespace CapMachine.Wpf.Services
|
||||
new Columns(){ Name="EVAP循环水温[℃]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="吸气混合器出口压力[BarA]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
|
||||
new Columns(){ Name="气路阀前压力[BarA]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="气路阀前温度[℃]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="干度[%]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
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="创建时间",MapType="System.DateTime",IsIdentity=false,IsPrimary=false},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user