增加AT04_01和AT04_02两个数据记录数据
This commit is contained in:
@@ -211,6 +211,18 @@ namespace CapMachine.Wpf.Models
|
||||
[Name("PTC出水温度[℃]")]
|
||||
public double PTCExpTemp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// AT04_01[℃]
|
||||
/// </summary>
|
||||
[Name("AT04_01[℃]")]
|
||||
public double AT04_01Temp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// AT04_02[℃]
|
||||
/// </summary>
|
||||
[Name("AT04_02[℃]")]
|
||||
public double AT04_02Temp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通讯Cmp母线电流[A]
|
||||
/// </summary>
|
||||
|
||||
@@ -48,6 +48,8 @@ namespace CapMachine.Wpf.Models
|
||||
Map(m => m.PTCFlow).Name("PTC流量[L/min]");
|
||||
Map(m => m.PTCEntTemp).Name("PTC入水温度[℃]");
|
||||
Map(m => m.PTCExpTemp).Name("PTC出水温度[℃]");
|
||||
Map(m => m.AT04_01Temp).Name("AT04_01[℃]");
|
||||
Map(m => m.AT04_02Temp).Name("AT04_02[℃]");
|
||||
Map(m => m.ComCapBusCur).Name("通讯Cmp母线电流[A]");
|
||||
Map(m => m.ComCapBusVol).Name("通讯Cmp母线电压[V]");
|
||||
Map(m => m.ComCapInvTemp).Name("通讯Cmp逆变器温度[℃]");
|
||||
|
||||
@@ -261,6 +261,10 @@ namespace CapMachine.Wpf.Models.LightChart
|
||||
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 "AT04_01[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.AT04_01Temp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "AT04_02[℃]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.AT04_02Temp, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯Cmp母线电流[A]":
|
||||
return CurHistoryData.Select(a => new ChartPoint() { Value = a.ComCapBusCur, Time = a.CreateTime }).OrderBy(a => a.Time).ToList();
|
||||
case "通讯Cmp母线电压[V]":
|
||||
|
||||
@@ -134,6 +134,8 @@ namespace CapMachine.Wpf.Services
|
||||
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},
|
||||
new Columns(){ Name="AT04_01[℃]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="AT04_02[℃]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="通讯Cmp母线电流[A]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="通讯Cmp母线电压[V]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
new Columns(){ Name="通讯Cmp逆变器温度[℃]",MapType=typeof(float).ToString(),IsIdentity=false,IsPrimary=false},
|
||||
|
||||
@@ -181,6 +181,11 @@ namespace CapMachine.Wpf.Services
|
||||
TagManger.AddTag(new Tag<short>("PTC流量", "PTC流量[L/min]", "PTCFlow", "程序", "VW15054", 100, 0, 1, "L/min", new ShortTagValue(), false) { DecimalPoint = 1 });
|
||||
TagManger.AddTag(new Tag<short>("PTC入水温度", "PTC入水温度[℃]", "PTCEntTemp", "程序", "VW15056", 100, 0, 10, "℃", new ShortTagValue(), false) { DecimalPoint = 1 });
|
||||
TagManger.AddTag(new Tag<short>("PTC出水温度", "PTC出水温度[℃]", "PTCExpTemp", "程序", "VW15058", 100, 0, 10, "℃", new ShortTagValue(), false) { DecimalPoint = 1 });
|
||||
|
||||
TagManger.AddTag(new Tag<short>("AT04_01", "AT04_01[℃]", "AT04_01Temp", "程序", "VW70", 100, 0, 10, "℃", new ShortTagValue(), false) { DecimalPoint = 1 });
|
||||
TagManger.AddTag(new Tag<short>("AT04_02", "AT04_02[℃]", "AT04_02Temp", "程序", "VW72", 100, 0, 10, "℃", new ShortTagValue(), false) { DecimalPoint = 1 });
|
||||
|
||||
|
||||
TagManger.AddTag(new Tag<short>("通讯Cmp母线电流", "通讯Cmp母线电流[A]", "ComCapBusCur", "程序", "VW15060", 100, 0, 100, "A", new ShortTagValue(), false) { DecimalPoint = 2 });
|
||||
TagManger.AddTag(new Tag<short>("通讯Cmp母线电压", "通讯Cmp母线电压[V]", "ComCapBusVol", "程序", "VW15062", 100, 0, 10, "V", new ShortTagValue(), false) { DecimalPoint = 1 });
|
||||
TagManger.AddTag(new Tag<short>("通讯Cmp逆变器温度", "通讯Cmp逆变器温度[℃]", "ComCapInvTemp", "程序", "VW15064", 100, 0, 1, "℃", new ShortTagValue(), false) { DecimalPoint = 0 });
|
||||
|
||||
Reference in New Issue
Block a user