KR25003初步更改项目的信息

This commit is contained in:
2025-09-06 10:43:35 +08:00
parent e954988fb5
commit c35da1d6d5
12 changed files with 204 additions and 203 deletions

View File

@@ -274,8 +274,8 @@ namespace CapMachine.Wpf.Services
});
TagManger.AddTag(new Tag<short>(new ShortTagValue())
{
Name = "冷凝器出口水温[℃]",//名称带单位 COND1水温
NameNoUnit = "冷凝器出口水温",//无单位名称
Name = "冷凝器循环水温[℃]",//名称带单位 COND1水温
NameNoUnit = "冷凝器循环水温",//无单位名称
EnName = "Cond1Temp",//英文名称
Group = "程序",//分组
MinValue = 0,
@@ -384,8 +384,8 @@ namespace CapMachine.Wpf.Services
MVAddress = "",
IsMeter = true,
AutoHandSwitchAddress = "",
Precision = 10,
DecimalPoint = 1,
Precision = 100,
DecimalPoint = 2,
Samp = 1,
ValueType = typeof(short),
Index = "",
@@ -403,8 +403,8 @@ namespace CapMachine.Wpf.Services
SVAddress = "",
MVAddress = "",
IsMeter = false,
Precision = 100,
DecimalPoint = 2,
Precision = 1000,
DecimalPoint = 3,
Samp = 1,
ValueType = typeof(short),
Index = "",
@@ -544,25 +544,25 @@ namespace CapMachine.Wpf.Services
ValueType = typeof(short),
Index = "",
});
TagManger.AddTag(new Tag<short>(new ShortTagValue())
{
Name = "水箱进水温度[℃]",//名称带单位
NameNoUnit = "水箱进水温度",//无单位名称
EnName = "WaterTankInTemp",//英文名称
Group = "程序",//分组
MinValue = 0,
Unit = "℃",
MaxValue = 100,
PVAddress = "VW136",//地址信息
SVAddress = "",
MVAddress = "",
IsMeter = false,
Precision = 10,
DecimalPoint = 1,
Samp = 1,
ValueType = typeof(short),
Index = "",
});
//TagManger.AddTag(new Tag<short>(new ShortTagValue())
//{
// Name = "水箱进水温度[℃]",//名称带单位
// NameNoUnit = "水箱进水温度",//无单位名称
// EnName = "WaterTankInTemp",//英文名称
// Group = "程序",//分组
// MinValue = 0,
// Unit = "℃",
// MaxValue = 100,
// PVAddress = "VW136",//地址信息
// SVAddress = "",
// MVAddress = "",
// IsMeter = false,
// Precision = 10,
// DecimalPoint = 1,
// Samp = 1,
// ValueType = typeof(short),
// Index = "",
//});
TagManger.AddTag(new Tag<short>(new ShortTagValue())
{
Name = "水加热温度H1[℃]",//名称带单位
@@ -601,44 +601,44 @@ namespace CapMachine.Wpf.Services
ValueType = typeof(short),
Index = "",
});
TagManger.AddTag(new Tag<short>(new ShortTagValue())
{
Name = "压缩机表面温度2[℃]",//名称带单位
NameNoUnit = "压缩机表面温度2",//无单位名称
EnName = "CapSurfTemp2",//英文名称
Group = "程序",//分组
MinValue = 0,
MaxValue = 100,
Unit = "℃",
PVAddress = "VW142",//地址信息
SVAddress = "",
MVAddress = "",
IsMeter = false,
Precision = 10,
DecimalPoint = 1,
Samp = 1,
ValueType = typeof(short),
Index = "",
});
TagManger.AddTag(new Tag<short>(new ShortTagValue())
{
Name = "压缩机表面温度3[℃]",//名称带单位
NameNoUnit = "压缩机表面温度3",//无单位名称
EnName = "CapSurfTemp3",//英文名称
Group = "程序",//分组
MinValue = 0,
MaxValue = 100,
Unit = "℃",
PVAddress = "VW144",//地址信息
SVAddress = "",
MVAddress = "",
IsMeter = false,
Precision = 10,
DecimalPoint = 1,
Samp = 1,
ValueType = typeof(short),
Index = "",
});
//TagManger.AddTag(new Tag<short>(new ShortTagValue())
//{
// Name = "压缩机表面温度2[℃]",//名称带单位
// NameNoUnit = "压缩机表面温度2",//无单位名称
// EnName = "CapSurfTemp2",//英文名称
// Group = "程序",//分组
// MinValue = 0,
// MaxValue = 100,
// Unit = "℃",
// PVAddress = "VW142",//地址信息
// SVAddress = "",
// MVAddress = "",
// IsMeter = false,
// Precision = 10,
// DecimalPoint = 1,
// Samp = 1,
// ValueType = typeof(short),
// Index = "",
//});
//TagManger.AddTag(new Tag<short>(new ShortTagValue())
//{
// Name = "压缩机表面温度3[℃]",//名称带单位
// NameNoUnit = "压缩机表面温度3",//无单位名称
// EnName = "CapSurfTemp3",//英文名称
// Group = "程序",//分组
// MinValue = 0,
// MaxValue = 100,
// Unit = "℃",
// PVAddress = "VW144",//地址信息
// SVAddress = "",
// MVAddress = "",
// IsMeter = false,
// Precision = 10,
// DecimalPoint = 1,
// Samp = 1,
// ValueType = typeof(short),
// Index = "",
//});
TagManger.AddTag(new Tag<short>(new ShortTagValue())
{
Name = "通讯母线电压[V]",//名称带单位
@@ -831,13 +831,13 @@ namespace CapMachine.Wpf.Services
new HandSwitchData(){Name="冷凝器电加热",ActionAddress="M1.5",StateAddress="Q0.4" },
new HandSwitchData(){Name="吸气混合器电加热",ActionAddress="M1.6",StateAddress="Q0.5" },
new HandSwitchData(){Name="吸排气球阀",ActionAddress="M1.7",StateAddress="Q0.7" },
new HandSwitchData(){Name="试验箱",ActionAddress="M2.0",StateAddress="V15.0" },
new HandSwitchData(){Name="水SEV1",ActionAddress="M2.1",StateAddress="Q1.0" },
new HandSwitchData(){Name="水SEV2",ActionAddress="M2.2",StateAddress="Q1.1" },
new HandSwitchData(){Name="HCV1",ActionAddress="M2.3",StateAddress="Q1.2" },
new HandSwitchData(){Name="HCV2",ActionAddress="M2.4",StateAddress="Q1.3" },
new HandSwitchData(){Name="ECV1",ActionAddress="M2.5",StateAddress="Q1.4" },
new HandSwitchData(){Name="ECV2",ActionAddress="M2.6",StateAddress="Q1.5" },
//new HandSwitchData(){Name="试验箱",ActionAddress="M2.0",StateAddress="V15.0" },
//new HandSwitchData(){Name="水SEV1",ActionAddress="M2.1",StateAddress="Q1.0" },
//new HandSwitchData(){Name="水SEV2",ActionAddress="M2.2",StateAddress="Q1.1" },
new HandSwitchData(){Name="HCV1",ActionAddress="M2.3",StateAddress="Q1.0" },
new HandSwitchData(){Name="HCV2",ActionAddress="M2.4",StateAddress="Q1.1" },
new HandSwitchData(){Name="ECV1",ActionAddress="M2.5",StateAddress="Q1.2" },
new HandSwitchData(){Name="ECV2",ActionAddress="M2.6",StateAddress="Q1.3" },
new HandSwitchData(){Name="使能",ActionAddress="M2.7",StateAddress="V15.1" },
};