数据记录的参数更改
This commit is contained in:
@@ -134,7 +134,7 @@
|
||||
xml:space="preserve"
|
||||
FontSize="12"
|
||||
FontWeight="Bold"
|
||||
Foreground="#404040"
|
||||
Foreground="Gray"
|
||||
Text="{Binding ElementName=MeterInstance, Path=StepExeInfo}"
|
||||
TextAlignment="Center" />
|
||||
</TabItem>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 270 KiB After Width: | Height: | Size: 333 KiB |
@@ -163,35 +163,76 @@ namespace CapMachine.Wpf.Models
|
||||
[Name("排气温度[℃]")]
|
||||
public double ExTemp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 膨胀阀前压力[BarA]
|
||||
/// </summary>
|
||||
[Name("膨胀阀前压力[BarA]")]
|
||||
public double TxvFrPress { get; set; }
|
||||
///// <summary>
|
||||
///// 膨胀阀前压力[BarA]
|
||||
///// </summary>
|
||||
//[Name("膨胀阀前压力[BarA]")]
|
||||
//public double TxvFrPress { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 膨胀阀前温度[℃]
|
||||
/// 阀前压力P3[BarA]
|
||||
/// </summary>
|
||||
[Name("膨胀阀前温度[℃]")]
|
||||
public double TxvFrTemp { get; set; }
|
||||
[Name("阀前压力P3[BarA]")]
|
||||
public double TxvFrPressP3 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// EVAP出口压力[BarA]
|
||||
/// EVAP出口压力P6[BarA]
|
||||
/// </summary>
|
||||
[Name("EVAP出口压力[BarA]")]
|
||||
public double EVAPExpPress { get; set; }
|
||||
[Name("EVAP出口压力P6[BarA]")]
|
||||
public double EVAPExpPressP6 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 腔内压力[BarA]
|
||||
/// 背压压力P8[BarA]
|
||||
/// </summary>
|
||||
[Name("腔内压力[BarA]")]
|
||||
public double IntrplPress { get; set; }
|
||||
[Name("背压压力P8[BarA]")]
|
||||
public double BackPressP8 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 压缩机表面温度[℃]
|
||||
/// 阀前温度T3[℃]
|
||||
/// </summary>
|
||||
[Name("压缩机表面温度[℃]")]
|
||||
public double CapSurfTemp { get; set; }
|
||||
[Name("阀前温度T3[℃]")]
|
||||
public double TxvFrTempT3 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// COND1入口温度T4[℃]
|
||||
/// </summary>
|
||||
[Name("COND1入口温度T4[℃]")]
|
||||
public double Cond1TempT4 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// EVAP出口温度T6[℃]
|
||||
/// </summary>
|
||||
[Name("EVAP出口温度T6[℃]")]
|
||||
public double EVAPExpTempT6 { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 压缩机表面温度T11[℃]
|
||||
/// </summary>
|
||||
[Name("压缩机表面温度T11[℃]")]
|
||||
public double CapSurfTempT11 { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 膨胀阀前温度[℃]
|
||||
///// </summary>
|
||||
//[Name("膨胀阀前温度[℃]")]
|
||||
//public double TxvFrTemp { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// EVAP出口压力[BarA]
|
||||
///// </summary>
|
||||
//[Name("EVAP出口压力[BarA]")]
|
||||
//public double EVAPExpPress { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 腔内压力[BarA]
|
||||
///// </summary>
|
||||
//[Name("腔内压力[BarA]")]
|
||||
//public double IntrplPress { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PTC流量[L/min]
|
||||
@@ -200,88 +241,157 @@ namespace CapMachine.Wpf.Models
|
||||
public double PTCFlow { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// PTC入水温度[℃]
|
||||
/// PTC入口水温[℃]
|
||||
/// </summary>
|
||||
[Name("PTC入水温度[℃]")]
|
||||
public double PTCEntTemp { get; set; }
|
||||
[Name("PTC入口水温[℃]")]
|
||||
public double PTCInTemp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// PTC出水温度[℃]
|
||||
/// PTC功率[W]
|
||||
/// </summary>
|
||||
[Name("PTC出水温度[℃]")]
|
||||
public double PTCExpTemp { get; set; }
|
||||
[Name("PTC功率[W]")]
|
||||
public double PTCPw { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// PTC出水温度[℃]
|
||||
///// </summary>
|
||||
//[Name("PTC出水温度[℃]")]
|
||||
//public double PTCExpTemp { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 通讯Cmp母线电流[A]
|
||||
/// 制冷量[W]
|
||||
/// </summary>
|
||||
[Name("通讯Cmp母线电流[A]")]
|
||||
[Name("制冷量[W]")]
|
||||
public double Qcool { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制热量[W]
|
||||
/// </summary>
|
||||
[Name("制热量[W]")]
|
||||
public double Qheat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制冷性能系数[W]
|
||||
/// </summary>
|
||||
[Name("制冷性能系数[W]")]
|
||||
public double COPCooling { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制热性能系数[W]
|
||||
/// </summary>
|
||||
[Name("制热性能系数[W]")]
|
||||
public double COPHeating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 容积效率[%]
|
||||
/// </summary>
|
||||
[Name("容积效率[%]")]
|
||||
public double VolumeEfficiency { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 等熵效率[%]
|
||||
/// </summary>
|
||||
[Name("等熵效率[%]")]
|
||||
public double IsentropyEfficiency { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过冷度[K]
|
||||
/// </summary>
|
||||
[Name("过冷度[K]")]
|
||||
public double Subcooling { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过热度[K]
|
||||
/// </summary>
|
||||
[Name("过热度[K]")]
|
||||
public double Superheat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 干度[%]
|
||||
/// </summary>
|
||||
[Name("干度[%]")]
|
||||
public double Dryness { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 通讯母线电流[A]
|
||||
/// </summary>
|
||||
[Name("通讯母线电流[A]")]
|
||||
public double ComCapBusCur { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯Cmp母线电压[V]
|
||||
/// 通讯母线电压[V]
|
||||
/// </summary>
|
||||
[Name("通讯Cmp母线电压[V]")]
|
||||
[Name("通讯母线电压[V]")]
|
||||
public double ComCapBusVol { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯Cmp逆变器温度[℃]
|
||||
/// 通讯逆变器温度[℃]
|
||||
/// </summary>
|
||||
[Name("通讯Cmp逆变器温度[℃]")]
|
||||
public double ComCapInvTemp { get; set; }
|
||||
[Name("通讯逆变器温度[℃]")]
|
||||
public double ComCapInverterTemp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯Cmp相电流[A]
|
||||
/// 通讯相电流[A]
|
||||
/// </summary>
|
||||
[Name("通讯Cmp相电流[A]")]
|
||||
[Name("通讯相电流[A]")]
|
||||
public double ComCapPhCur { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯Cmp功率[W]
|
||||
/// 通讯功率[W]
|
||||
/// </summary>
|
||||
[Name("通讯Cmp功率[W]")]
|
||||
[Name("通讯功率[W]")]
|
||||
public double ComCapPw { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯Cmp芯片温度[℃]
|
||||
/// 通讯芯片温度[℃]
|
||||
/// </summary>
|
||||
[Name("通讯Cmp芯片温度[℃]")]
|
||||
[Name("通讯芯片温度[℃]")]
|
||||
public double ComCapChipTemp { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 通讯PTC入水温度[℃]
|
||||
/// </summary>
|
||||
[Name("通讯PTC入水温度[℃]")]
|
||||
public double ComPTCEntTemp { get; set; }
|
||||
public double CapPTCInWaterTemp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯PTC出水温度[℃]
|
||||
/// </summary>
|
||||
[Name("通讯PTC出水温度[℃]")]
|
||||
public double ComPTCExpTemp { get; set; }
|
||||
public double CapPTCOutWaterTemp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯PTC峰值电流[A]
|
||||
/// </summary>
|
||||
[Name("通讯PTC峰值电流[A]")]
|
||||
public double ComPTCPeakCur { get; set; }
|
||||
public double CapPTCPeakCur { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯PTC母线电流[A]
|
||||
/// </summary>
|
||||
[Name("通讯PTC母线电流[A]")]
|
||||
public double ComPTCBusCur { get; set; }
|
||||
public double CapPTCBusCur { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯PTC膜温[℃]
|
||||
/// </summary>
|
||||
[Name("通讯PTC膜温[℃]")]
|
||||
public double ComPTCFlmTemp { get; set; }
|
||||
public double CapPTCFilmTemp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯PTC模块温度[℃]
|
||||
/// 通讯PTC功率模块温度[℃]
|
||||
/// </summary>
|
||||
[Name("通讯PTC模块温度[℃]")]
|
||||
public double ComPTCMdTemp { get; set; }
|
||||
[Name("通讯PTC功率模块温度[℃]")]
|
||||
public double CapPTCPwMdTemp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
|
||||
@@ -40,26 +40,42 @@ namespace CapMachine.Wpf.Models
|
||||
Map(m => m.VRV).Name("冷媒流量[L/min]");
|
||||
Map(m => m.LubeFlow).Name("润滑油流量[L/min]");
|
||||
Map(m => m.ExTemp).Name("排气温度[℃]");
|
||||
Map(m => m.TxvFrPress).Name("膨胀阀前压力[BarA]");
|
||||
Map(m => m.TxvFrTemp).Name("膨胀阀前温度[℃]");
|
||||
Map(m => m.EVAPExpPress).Name("EVAP出口压力[BarA]");
|
||||
Map(m => m.IntrplPress).Name("腔内压力[BarA]");
|
||||
Map(m => m.CapSurfTemp).Name("压缩机表面温度[℃]");
|
||||
|
||||
Map(m => m.TxvFrPressP3).Name("阀前压力P3[BarA]");
|
||||
Map(m => m.EVAPExpPressP6).Name("EVAP出口压力P6[BarA]");
|
||||
Map(m => m.BackPressP8).Name("背压压力P8[BarA]");
|
||||
Map(m => m.TxvFrTempT3).Name("阀前温度T3[℃]");
|
||||
Map(m => m.Cond1TempT4).Name("COND1入口温度T4[℃]");
|
||||
Map(m => m.EVAPExpTempT6).Name("EVAP出口温度T6[℃]");
|
||||
Map(m => m.CapSurfTempT11).Name("压缩机表面温度T11[℃]");
|
||||
|
||||
Map(m => m.PTCFlow).Name("PTC流量[L/min]");
|
||||
Map(m => m.PTCEntTemp).Name("PTC入水温度[℃]");
|
||||
Map(m => m.PTCExpTemp).Name("PTC出水温度[℃]");
|
||||
Map(m => m.ComCapBusCur).Name("通讯Cmp母线电流[A]");
|
||||
Map(m => m.ComCapBusVol).Name("通讯Cmp母线电压[V]");
|
||||
Map(m => m.ComCapInvTemp).Name("通讯Cmp逆变器温度[℃]");
|
||||
Map(m => m.ComCapPhCur).Name("通讯Cmp相电流[A]");
|
||||
Map(m => m.ComCapPw).Name("通讯Cmp功率[W]");
|
||||
Map(m => m.ComCapChipTemp).Name("通讯Cmp芯片温度[℃]");
|
||||
Map(m => m.ComPTCEntTemp).Name("通讯PTC入水温度[℃]");
|
||||
Map(m => m.ComPTCExpTemp).Name("通讯PTC出水温度[℃]");
|
||||
Map(m => m.ComPTCPeakCur).Name("通讯PTC峰值电流[A]");
|
||||
Map(m => m.ComPTCBusCur).Name("通讯PTC母线电流[A]");
|
||||
Map(m => m.ComPTCFlmTemp).Name("通讯PTC膜温[℃]");
|
||||
Map(m => m.ComPTCMdTemp).Name("通讯PTC模块温度[℃]");
|
||||
Map(m => m.PTCInTemp).Name("PTC入口水温[℃]");
|
||||
Map(m => m.PTCPw).Name("PTC功率[W]");
|
||||
|
||||
Map(m => m.Qcool).Name("制冷量[W]");
|
||||
Map(m => m.Qheat).Name("制热量[W]");
|
||||
Map(m => m.COPCooling).Name("制冷性能系数[W]");
|
||||
Map(m => m.COPHeating).Name("制热性能系数[W]");
|
||||
Map(m => m.VolumeEfficiency).Name("容积效率[%]");
|
||||
Map(m => m.IsentropyEfficiency).Name("等熵效率[%]");
|
||||
Map(m => m.Subcooling).Name("过冷度[K]");
|
||||
Map(m => m.Superheat).Name("过热度[K]");
|
||||
Map(m => m.Dryness).Name("干度[%]");
|
||||
|
||||
Map(m => m.ComCapBusCur).Name("通讯母线电流[A]");
|
||||
Map(m => m.ComCapBusVol).Name("通讯母线电压[V]");
|
||||
Map(m => m.ComCapInverterTemp).Name("通讯逆变器温度[℃]");
|
||||
Map(m => m.ComCapPhCur).Name("通讯相电流[A]");
|
||||
Map(m => m.ComCapPw).Name("通讯功率[W]");
|
||||
Map(m => m.ComCapChipTemp).Name("通讯芯片温度[℃]");
|
||||
|
||||
Map(m => m.CapPTCInWaterTemp).Name("通讯PTC入水温度[℃]");
|
||||
Map(m => m.CapPTCOutWaterTemp).Name("通讯PTC出水温度[℃]");
|
||||
Map(m => m.CapPTCPeakCur).Name("通讯PTC峰值电流[A]");
|
||||
Map(m => m.CapPTCBusCur).Name("通讯PTC母线电流[A]");
|
||||
Map(m => m.CapPTCFilmTemp).Name("通讯PTC膜温[℃]");
|
||||
Map(m => m.CapPTCPwMdTemp).Name("通讯PTC功率模块温度[℃]");
|
||||
Map(m => m.CreateTime).Name("时间");
|
||||
|
||||
|
||||
|
||||
@@ -245,46 +245,83 @@ namespace CapMachine.Wpf.Models.LightChart
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.LubeFlow, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "排气温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ExTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "膨胀阀前压力[BarA]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.TxvFrPress, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "膨胀阀前温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.TxvFrTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "EVAP出口压力[BarA]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.EVAPExpPress, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "腔内压力[BarA]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.IntrplPress, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "压缩机表面温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.CapSurfTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
|
||||
//case "膨胀阀前压力[BarA]":
|
||||
// return CurHistoryData.Select(a => new ChartPoint() { Value = a.TxvFrPress, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
//case "膨胀阀前温度[℃]":
|
||||
// return CurHistoryData.Select(a => new ChartPoint() { Value = a.TxvFrTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
//case "EVAP出口压力[BarA]":
|
||||
// return CurHistoryData.Select(a => new ChartPoint() { Value = a.EVAPExpPress, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
//case "腔内压力[BarA]":
|
||||
// return CurHistoryData.Select(a => new ChartPoint() { Value = a.IntrplPress, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
//case "压缩机表面温度[℃]":
|
||||
// return CurHistoryData.Select(a => new ChartPoint() { Value = a.CapSurfTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
|
||||
case "阀前压力P3[BarA]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.TxvFrPressP3, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "EVAP出口压力P6[BarA]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.EVAPExpPressP6, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "背压压力P8[BarA]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.BackPressP8, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "阀前温度T3[BarA]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.TxvFrTempT3, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "COND1入口温度T4[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.Cond1TempT4, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "EVAP出口温度T6[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.EVAPExpTempT6, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "压缩机表面温度T11[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.CapSurfTempT11, 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();
|
||||
case "PTC入水温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.PTCEntTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "PTC出水温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.PTCExpTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯Cmp母线电流[A]":
|
||||
case "PTC入口水温[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.PTCInTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "PTC功率[W]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.PTCPw, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
|
||||
case "制冷量[W]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.Qcool, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "制热量[W]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.Qheat, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "制冷性能系数[W]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.COPCooling, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "制热性能系数[W]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.COPHeating, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "容积效率[%]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.VolumeEfficiency, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "等熵效率[%]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.IsentropyEfficiency, 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();
|
||||
|
||||
case "通讯母线电流[A]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComCapBusCur, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯Cmp母线电压[V]":
|
||||
case "通讯母线电压[V]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComCapBusVol, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯Cmp逆变器温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComCapInvTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯Cmp相电流[A]":
|
||||
case "通讯逆变器温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComCapInverterTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯相电流[A]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComCapPhCur, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯Cmp功率[W]":
|
||||
case "通讯功率[W]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComCapPw, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯Cmp芯片温度[℃]":
|
||||
case "通讯芯片温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComCapChipTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
|
||||
case "通讯PTC入水温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComPTCEntTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.CapPTCInWaterTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯PTC出水温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComPTCExpTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.CapPTCOutWaterTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯PTC峰值电流[A]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComPTCPeakCur, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.CapPTCPeakCur, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯PTC母线电流[A]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComPTCBusCur, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.CapPTCBusCur, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯PTC膜温[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComPTCFlmTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.CapPTCFilmTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯PTC模块温度[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComPTCMdTemp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.CapPTCPwMdTemp, 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;
|
||||
|
||||
@@ -462,14 +462,12 @@ namespace CapMachine.Wpf.Services
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//CycleTimer.Start(); //执行完毕后再开启器
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//CycleTimer.Start(); //执行完毕后再开启器
|
||||
LogService.Error($"时间:{DateTime.Now.ToString()}-【PwAnalyze-CycleAction】-{ex.Message}");
|
||||
LogService.Error($"时间:{DateTime.Now.ToString()}-【DataRecordService-RecoredCycleAction】-{ex.Message}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -969,7 +969,7 @@ namespace CapMachine.Wpf.Services
|
||||
Id = 27,
|
||||
Name = "EVAP出口压力P6[BarA]",
|
||||
NameNoUnit = "EVAP出口压力P6",
|
||||
EnName = "EVAPExpTempP6",
|
||||
EnName = "EVAPExpPressP6",
|
||||
Group = "采集",
|
||||
MinValue = 0,
|
||||
MaxValue = 40,
|
||||
@@ -1007,7 +1007,7 @@ namespace CapMachine.Wpf.Services
|
||||
Id = 29,
|
||||
Name = "阀前温度T3[℃]",
|
||||
NameNoUnit = "阀前温度T3",
|
||||
EnName = "TxvFrPressT3",
|
||||
EnName = "TxvFrTempT3",
|
||||
Group = "采集",
|
||||
MinValue = -50,
|
||||
MaxValue = 200,
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace CapMachine.Wpf.ViewModels
|
||||
};
|
||||
|
||||
|
||||
private List<string> _FilterGroups = new List<string> { "程序", "采集", "压缩机" };
|
||||
private List<string> _FilterGroups = new List<string> { "程序", "采集", "压缩机", "计算" };
|
||||
/// <summary>
|
||||
/// 动态过滤(支持运行时更改过滤条件)
|
||||
/// </summary>
|
||||
@@ -486,6 +486,8 @@ namespace CapMachine.Wpf.ViewModels
|
||||
//
|
||||
var MeterControl = (Meter)Par;
|
||||
//Console.WriteLine($"{MeterControl.MeterName}-{MeterControl.AutoHandState}");
|
||||
if (!MeterControl.MeterName.Contains("PTC功率")) return;
|
||||
|
||||
//弹窗
|
||||
DialogService.ShowDialog("DialogMeterExdView", new DialogParameters() { { "MeterCmdMsg", new MeterCmdMsg() {Name= MeterControl.MeterName,Par="SV2" } } }, (par) =>
|
||||
{
|
||||
|
||||
@@ -949,34 +949,34 @@
|
||||
</Canvas.Background>
|
||||
<Rectangle
|
||||
Canvas.Left="30"
|
||||
Canvas.Top="85"
|
||||
Width="470"
|
||||
Canvas.Top="127"
|
||||
Width="400"
|
||||
Height="380"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Stroke="SkyBlue"
|
||||
StrokeThickness="4" />
|
||||
<Label
|
||||
Canvas.Left="35"
|
||||
Canvas.Top="88"
|
||||
Canvas.Top="128"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
Content="压缩机环境箱"
|
||||
FontSize="26"
|
||||
Foreground="DarkSlateBlue" />
|
||||
<Label
|
||||
Canvas.Left="795"
|
||||
Canvas.Top="252"
|
||||
HorizontalAlignment="Left"
|
||||
Canvas.Left="582"
|
||||
Canvas.Top="57"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Content="HCV1"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="697"
|
||||
Canvas.Top="293"
|
||||
Canvas.Left="907"
|
||||
Canvas.Top="37"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
Content="HCV2"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
@@ -989,33 +989,25 @@
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="906"
|
||||
Canvas.Top="360"
|
||||
HorizontalAlignment="Center"
|
||||
Canvas.Left="897"
|
||||
Canvas.Top="362"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="ECV2"
|
||||
Content="HCV4"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="915"
|
||||
Canvas.Top="88"
|
||||
Canvas.Left="1057"
|
||||
Canvas.Top="117"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Content="COND"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="1219"
|
||||
Canvas.Top="231"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Content="CCV1
冷凝器出水"
|
||||
VerticalAlignment="Top"
|
||||
Content="COND2"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="290"
|
||||
Canvas.Top="290"
|
||||
Canvas.Top="332"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="转速"
|
||||
@@ -1023,58 +1015,58 @@
|
||||
CellValue="{Binding SpeedTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="301"
|
||||
Canvas.Top="120"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Canvas.Top="162"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="电压"
|
||||
CellUnit="{Binding ComCapBusVolTag.Unit}"
|
||||
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="301"
|
||||
Canvas.Top="170"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Canvas.Top="212"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="电流"
|
||||
CellUnit="{Binding ComCapBusCurTag.Unit}"
|
||||
CellValue="{Binding ComCapBusCurTag.EngPvValueStr}" />
|
||||
<!-- CellUnit="{Binding ComCapPwTag.Unit}" -->
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="301"
|
||||
Canvas.Top="220"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Canvas.Top="262"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="功率"
|
||||
CellUnit="{Binding ComCapPwTag.Unit}"
|
||||
CellValue="{Binding ComCapPwTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="105"
|
||||
Canvas.Top="147"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Canvas.Top="189"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="排气口压力"
|
||||
CellUnit="{Binding ExPressTag.Unit}"
|
||||
CellValue="{Binding ExPressTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="106"
|
||||
Canvas.Top="193"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Canvas.Top="235"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="排气口温度"
|
||||
CellUnit="{Binding ExTempTag.Unit}"
|
||||
CellValue="{Binding ExTempTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="105"
|
||||
Canvas.Top="292"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Canvas.Top="308"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="吸气口压力"
|
||||
CellUnit="{Binding InhPressTag.Unit}"
|
||||
CellValue="{Binding InhPressTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="106"
|
||||
Canvas.Top="338"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Canvas.Top="354"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="吸气口温度"
|
||||
CellUnit="{Binding InhTempTag.Unit}"
|
||||
CellValue="{Binding InhTempTag.EngPvValueStr}" />
|
||||
@@ -1142,14 +1134,6 @@
|
||||
CellTitle="吸气温度MV"
|
||||
CellUnit="%"
|
||||
CellValue="{Binding InhTempTag.EngMvValue}" />-->
|
||||
<Label
|
||||
Canvas.Left="1339"
|
||||
Canvas.Top="225"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
Content="CCV2
冷凝器出水"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<StackPanel
|
||||
Canvas.Left="1250"
|
||||
Canvas.Top="5"
|
||||
@@ -1166,6 +1150,159 @@
|
||||
FontWeight="Bold"
|
||||
Foreground="Gray" />
|
||||
</StackPanel>
|
||||
<Label
|
||||
Canvas.Left="447"
|
||||
Canvas.Top="120"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="COND1"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="365"
|
||||
Canvas.Top="15"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="CCV1"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="1009"
|
||||
Canvas.Top="12"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="CCV2"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="852"
|
||||
Canvas.Top="67"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="FM1"
|
||||
FontSize="16"
|
||||
FontWeight="Bold"
|
||||
RenderTransformOrigin="0.879,0.282" />
|
||||
<Label
|
||||
Canvas.Left="760"
|
||||
Canvas.Top="150"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="OS1"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="692"
|
||||
Canvas.Top="293"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
Content="OS2"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="752"
|
||||
Canvas.Top="377"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="FM2"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="927"
|
||||
Canvas.Top="462"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="HCV3"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="1097"
|
||||
Canvas.Top="437"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="EV4"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="1157"
|
||||
Canvas.Top="392"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="EV3"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="1215"
|
||||
Canvas.Top="345"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="EV2"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Label
|
||||
Canvas.Left="1272"
|
||||
Canvas.Top="295"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="EV1"
|
||||
FontSize="16"
|
||||
FontWeight="Bold" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="740"
|
||||
Canvas.Top="435"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="油流量"
|
||||
CellUnit="{Binding ComCapBusVolTag.Unit}"
|
||||
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="755"
|
||||
Canvas.Top="39"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
CellTitle="冷媒流量"
|
||||
CellUnit="{Binding ComCapBusVolTag.Unit}"
|
||||
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="1060"
|
||||
Canvas.Top="149"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="COND2入口温度"
|
||||
CellUnit="{Binding ComCapBusVolTag.Unit}"
|
||||
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="1280"
|
||||
Canvas.Top="109"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="阀前压力"
|
||||
CellUnit="{Binding ComCapBusVolTag.Unit}"
|
||||
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="1280"
|
||||
Canvas.Top="164"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="阀前温度"
|
||||
CellUnit="{Binding ComCapBusVolTag.Unit}"
|
||||
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="1280"
|
||||
Canvas.Top="219"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
CellTitle="过冷度"
|
||||
CellUnit="{Binding ComCapBusVolTag.Unit}"
|
||||
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
|
||||
<Controls:ValueShow
|
||||
Canvas.Left="448"
|
||||
Canvas.Top="149"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
CellTitle="COND1进口温度"
|
||||
CellUnit="{Binding ComCapBusVolTag.Unit}"
|
||||
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
|
||||
|
||||
|
||||
</Canvas>
|
||||
@@ -1180,7 +1317,7 @@
|
||||
Margin="0,2,2,2"
|
||||
BorderBrush="Gray"
|
||||
BorderThickness="2">
|
||||
<ListView FontSize="16" ItemsSource="{Binding ListTag}">
|
||||
<ListView FontSize="12" ItemsSource="{Binding ListTag}">
|
||||
<ListView.View>
|
||||
<GridView ColumnHeaderContainerStyle="{StaticResource myHeaderStyle1}">
|
||||
<GridViewColumn DisplayMemberBinding="{Binding Name}" Header="名称" />
|
||||
@@ -1199,7 +1336,7 @@
|
||||
<ListView.ItemContainerStyle>
|
||||
<Style TargetType="ListViewItem">
|
||||
<!--<Setter Property="Background" Value="Transparent" />-->
|
||||
<Setter Property="Height" Value="18" />
|
||||
<Setter Property="Height" Value="15.5" />
|
||||
</Style>
|
||||
</ListView.ItemContainerStyle>
|
||||
</ListView>
|
||||
|
||||
Reference in New Issue
Block a user