diff --git a/.vs/hybirdMyFrame/DesignTimeBuild/.dtbcache.v2 b/.vs/hybirdMyFrame/DesignTimeBuild/.dtbcache.v2
index 5caff38..2703bf2 100644
Binary files a/.vs/hybirdMyFrame/DesignTimeBuild/.dtbcache.v2 and b/.vs/hybirdMyFrame/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/.vs/hybirdMyFrame/v17/.suo b/.vs/hybirdMyFrame/v17/.suo
index 449982d..562226f 100644
Binary files a/.vs/hybirdMyFrame/v17/.suo and b/.vs/hybirdMyFrame/v17/.suo differ
diff --git a/HybirdFrameworkRepository/bin/Debug/net6.0/HybirdFrameworkRepository.deps.json b/HybirdFrameworkRepository/bin/Debug/net6.0/HybirdFrameworkRepository.deps.json
index e543d05..3377398 100644
--- a/HybirdFrameworkRepository/bin/Debug/net6.0/HybirdFrameworkRepository.deps.json
+++ b/HybirdFrameworkRepository/bin/Debug/net6.0/HybirdFrameworkRepository.deps.json
@@ -208,6 +208,14 @@
}
}
},
+ "Microsoft.Extensions.Logging.Abstractions/6.0.0": {
+ "runtime": {
+ "lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll": {
+ "assemblyVersion": "6.0.0.0",
+ "fileVersion": "6.0.21.52210"
+ }
+ }
+ },
"Microsoft.Extensions.Primitives/7.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
@@ -347,6 +355,17 @@
}
}
},
+ "Pipelines.Sockets.Unofficial/2.2.8": {
+ "dependencies": {
+ "System.IO.Pipelines": "5.0.1"
+ },
+ "runtime": {
+ "lib/net5.0/Pipelines.Sockets.Unofficial.dll": {
+ "assemblyVersion": "1.0.0.0",
+ "fileVersion": "2.2.8.1080"
+ }
+ }
+ },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.4": {
"dependencies": {
"SQLitePCLRaw.lib.e_sqlite3": "2.1.4",
@@ -551,6 +570,18 @@
}
}
},
+ "StackExchange.Redis/2.7.33": {
+ "dependencies": {
+ "Microsoft.Extensions.Logging.Abstractions": "6.0.0",
+ "Pipelines.Sockets.Unofficial": "2.2.8"
+ },
+ "runtime": {
+ "lib/net6.0/StackExchange.Redis.dll": {
+ "assemblyVersion": "2.0.0.0",
+ "fileVersion": "2.7.33.41805"
+ }
+ }
+ },
"System.Collections/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "5.0.0",
@@ -703,6 +734,14 @@
"System.Threading.Tasks": "4.3.0"
}
},
+ "System.IO.Pipelines/5.0.1": {
+ "runtime": {
+ "lib/netcoreapp3.0/System.IO.Pipelines.dll": {
+ "assemblyVersion": "5.0.0.1",
+ "fileVersion": "5.0.120.57516"
+ }
+ }
+ },
"System.Memory/4.5.3": {},
"System.Reflection/4.3.0": {
"dependencies": {
@@ -895,6 +934,7 @@
"Microsoft.Extensions.Configuration.Abstractions": "7.0.0",
"Microsoft.Extensions.Configuration.Json": "7.0.0",
"Newtonsoft.Json": "13.0.3",
+ "StackExchange.Redis": "2.7.33",
"log4net": "2.0.15"
},
"runtime": {
@@ -1022,6 +1062,13 @@
"path": "microsoft.extensions.filesystemglobbing/7.0.0",
"hashPath": "microsoft.extensions.filesystemglobbing.7.0.0.nupkg.sha512"
},
+ "Microsoft.Extensions.Logging.Abstractions/6.0.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==",
+ "path": "microsoft.extensions.logging.abstractions/6.0.0",
+ "hashPath": "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512"
+ },
"Microsoft.Extensions.Primitives/7.0.0": {
"type": "package",
"serviceable": true,
@@ -1127,6 +1174,13 @@
"path": "oracle.manageddataaccess.core/3.21.100",
"hashPath": "oracle.manageddataaccess.core.3.21.100.nupkg.sha512"
},
+ "Pipelines.Sockets.Unofficial/2.2.8": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-zG2FApP5zxSx6OcdJQLbZDk2AVlN2BNQD6MorwIfV6gVj0RRxWPEp2LXAxqDGZqeNV1Zp0BNPcNaey/GXmTdvQ==",
+ "path": "pipelines.sockets.unofficial/2.2.8",
+ "hashPath": "pipelines.sockets.unofficial.2.2.8.nupkg.sha512"
+ },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.4": {
"type": "package",
"serviceable": true,
@@ -1183,6 +1237,13 @@
"path": "sqlsugarcore.kdbndp/7.4.0",
"hashPath": "sqlsugarcore.kdbndp.7.4.0.nupkg.sha512"
},
+ "StackExchange.Redis/2.7.33": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-2kCX5fvhEE824a4Ab5Imyi8DRuGuTxyklXV01kegkRpsWJcPmO6+GAQ+HegKxvXAxlXZ8yaRspvWJ8t3mMClfQ==",
+ "path": "stackexchange.redis/2.7.33",
+ "hashPath": "stackexchange.redis.2.7.33.nupkg.sha512"
+ },
"System.Collections/4.3.0": {
"type": "package",
"serviceable": true,
@@ -1260,6 +1321,13 @@
"path": "system.io/4.3.0",
"hashPath": "system.io.4.3.0.nupkg.sha512"
},
+ "System.IO.Pipelines/5.0.1": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-qEePWsaq9LoEEIqhbGe6D5J8c9IqQOUuTzzV6wn1POlfdLkJliZY3OlB0j0f17uMWlqZYjH7txj+2YbyrIA8Yg==",
+ "path": "system.io.pipelines/5.0.1",
+ "hashPath": "system.io.pipelines.5.0.1.nupkg.sha512"
+ },
"System.Memory/4.5.3": {
"type": "package",
"serviceable": true,
diff --git a/HybirdFrameworkServices/Plc/PlcReadAndWritten.cs b/HybirdFrameworkServices/Plc/PlcReadAndWritten.cs
new file mode 100644
index 0000000..6339886
--- /dev/null
+++ b/HybirdFrameworkServices/Plc/PlcReadAndWritten.cs
@@ -0,0 +1,136 @@
+using HybirdFrameworkCore.Autofac.Attribute;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace HybirdFrameworkServices.Plc
+{
+ ///
+ /// 可读可写区
+ ///
+ public class PlcReadAndWritten
+ {
+ ///
+ /// 写编程使能 写 0x5AA5,打开写使能
+ ///
+ [Property(0, 2, PropertyReadConstant.Byte)]
+ public ushort ProgrammingEnable { get; set; }
+ ///
+ /// 本机modbus地址
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public ushort Modbus1Addres { get; set; }
+ ///
+ /// 波特率
+ /// 0:1200
+ /// 1:2400
+ /// 2:4800
+ /// 3:9600
+ /// 4:19200
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public ushort BaudRate { get; set; }
+ ///
+ /// 校验位
+ /// 0:无
+ /// 1:奇
+ /// 2:偶
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public ushort CheckBit { get; set; }
+ ///
+ /// 秒
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public byte Seconds { get; set; }
+ ///
+ /// 分
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public byte Points { get; set; }
+ ///
+ /// 时
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public byte When { get; set; }
+ ///
+ /// 周
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public byte Weeks { get; set; }
+ ///
+ /// 日
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public byte Day { get; set; }
+ ///
+ /// 月
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public byte Month { get; set; }
+ ///
+ /// 年
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public byte Years { get; set; }
+ public string time
+ {
+ get
+ {
+ return Years + "-" +
+ Month.ToString().PadLeft(2, '0') + "-" +
+ Day.ToString().PadLeft(2, '0') + " " +
+ When.ToString().PadLeft(2, '0') + ":" +
+ Points.ToString().PadLeft(2, '0') + ":" +
+ Seconds.ToString().PadLeft(2, '0');
+ }
+ set
+ {
+
+ }
+ }
+ ///
+ /// 本机modbus地址
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public ushort Modbus1Addres2 { get; set; }
+ ///
+ /// 保留
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public ushort Reserve { get; set; }
+ ///
+ /// 电压变比
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public ushort VoltageRatio { get; set; }
+ ///
+ /// 电流变比
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public ushort CurrentRatio { get; set; }
+ ///
+ /// 秒脉冲/无功电能选择
+ /// 0x5A02:秒脉冲输出
+ /// 其他:无功电能输出)
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public ushort PulsePerSecond { get; set; }
+ ///
+ /// 电流接线反向
+ /// 0x00:不反接(默认值)
+ /// 0x01:反接
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public ushort CurrentReversal { get; set; }
+ ///
+ /// 电表清零
+ /// 写 0x0000 清零,其他不清
+ ///
+ [Property(2, 2, PropertyReadConstant.Byte)]
+ public ushort MeterReset { get; set; }
+
+ }
+}
diff --git a/HybirdFrameworkServices/Plc/PlcReadonly.cs b/HybirdFrameworkServices/Plc/PlcReadonly.cs
new file mode 100644
index 0000000..41be33a
--- /dev/null
+++ b/HybirdFrameworkServices/Plc/PlcReadonly.cs
@@ -0,0 +1,364 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace HybirdFrameworkServices.Plc
+{
+ ///
+ /// 只读数据区
+ ///
+ public class PlcReadonly
+ {
+ ///
+ /// 组合有功总电能
+ ///
+ public float GroupHaveAll { get; set; }
+ ///
+ /// 组合有功尖电能
+ ///
+ public float GroupHaveTip { get; set; }
+ ///
+ /// 组合有功峰电能
+ ///
+ public float GroupHavePeak { get; set; }
+ ///
+ /// 组合有功平电能
+ ///
+ public float GroupHaveFlat { get; set; }
+ ///
+ /// 组合有功谷电能
+ ///
+ public float GroupHaveValley { get; set; }
+ ///
+
+ /// 正向有功总电能
+ ///
+ public float ForwardHaveAll { get; set; }
+ ///
+ /// 正向有功尖电能
+ ///
+ public float ForwardHaveTip { get; set; }
+ ///
+ /// 正向有功峰电能
+ ///
+ public float ForwardHavePeak { get; set; }
+ ///
+ /// 正向有功平电能
+ ///
+ public float ForwardHaveFlat { get; set; }
+ ///
+ /// 正向有功谷电能
+ ///
+ public float ForwardHaveValley { get; set; }
+ ///
+ /// 反向有功总电能
+ ///
+ public float ReverseHaveAll { get; set; }
+ ///
+ /// 反向有功尖电能
+ ///
+ public float ReverseHaveTip { get; set; }
+ ///
+ /// 反向有功峰电能
+ ///
+ public float ReverseHavePeak { get; set; }
+ ///
+ /// 反向有功平电能
+ ///
+ public float ReverseHaveFlat { get; set; }
+ ///
+ /// 反向有功谷电能
+ ///
+ public float ReverseHaveValley { get; set; }
+ ///
+ /// 组合无功1总电能
+ ///
+ public float GroupNoAll1 { get; set; }
+ ///
+ /// 组合无功1尖电能
+ ///
+ public float GroupNoTip1 { get; set; }
+ ///
+ /// 组合无功1峰电能
+ ///
+ public float GroupNoPeak1 { get; set; }
+ ///
+ /// 组合无功1平电能
+ ///
+ public float GroupNoFlat1 { get; set; }
+ ///
+ /// 组合无功1谷电能
+ ///
+ public float GroupNoValley1 { get; set; }
+ ///
+ /// 组合无功2总电能
+ ///
+ public float GroupNoAll2 { get; set; }
+ ///
+ /// 组合无功2尖电能
+ ///
+ public float GroupNoTip2 { get; set; }
+ ///
+ /// 组合无功2峰电能
+ ///
+ public float GroupNoPeak2 { get; set; }
+ ///
+ /// 组合无功2平电能
+ ///
+ public float GroupNoFlat2 { get; set; }
+ ///
+ /// 组合无功2谷电能
+ ///
+ public float GroupNoValley2 { get; set; }
+ ///
+ /// 一象限无功总电能
+ ///
+ public float QuadrantNoAll1 { get; set; }
+ ///
+ /// 一象限无功尖电能
+ ///
+ public float QuadrantNoTip1 { get; set; }
+ ///
+
+ /// 一象限无功峰电能
+ ///
+ public float QuadrantNoPeak1 { get; set; }
+ ///
+ /// 一象限无功平电能
+ ///
+ public float QuadrantNoFlat1 { get; set; }
+ ///
+
+ /// 一象限无功谷电能
+ ///
+ public float QuadrantNoValley1 { get; set; }
+ ///
+ /// 二象限无功总电能
+ ///
+ public float QuadrantNoAll2 { get; set; }
+ ///
+ /// 二象限无功尖电能
+ ///
+ public float QuadrantNoTip2 { get; set; }
+ ///
+ /// 二象限无功峰电能
+ ///
+ public float QuadrantNoPeak2 { get; set; }
+ ///
+ /// 二象限无功平电能
+ ///
+ public float QuadrantNoFlat2 { get; set; }
+ ///
+ /// 二象限无功谷电能
+ ///
+ public float QuadrantNoValley2 { get; set; }
+ ///
+ /// 三象限无功总电能
+ ///
+ public float QuadrantNoAll3 { get; set; }
+ ///
+ /// 三象限无功尖电能
+ ///
+ public float QuadrantNoTip3 { get; set; }
+ ///
+ /// 三象限无功峰电能
+ ///
+ public float QuadrantNoPeak3 { get; set; }
+ ///
+ /// 三象限无功平电能
+ ///
+ public float QuadrantNoFlat3 { get; set; }
+ ///
+ /// 三象限无功谷电能
+ ///
+ public float QuadrantNoValley3 { get; set; }
+ ///
+ /// 四象限无功总电能
+ ///
+ public float QuadrantNoAll4 { get; set; }
+ ///
+ /// 四象限无功尖电能
+ ///
+ public float QuadrantNoTip4 { get; set; }
+ ///
+ /// 四象限无功峰电能
+ ///
+ public float QuadrantNoPeak4 { get; set; }
+ ///
+ /// 四象限无功平电能
+ ///
+ public float QuadrantNoFlat4 { get; set; }
+ ///
+ /// 四象限无功谷电能
+ ///
+ public float QuadrantNoValley4 { get; set; }
+ ///
+ /// 正向视在总电能
+ ///
+ public float ForwardHaveApparentAll { get; set; }
+ ///
+ /// 正向视在尖电能
+ ///
+ public float ForwardHaveApparentTip { get; set; }
+ ///
+ /// 正向视在峰电能
+ ///
+ public float ForwardHaveApparentPeak { get; set; }
+ ///
+ /// 正向视在平电能
+ ///
+ public float ForwardHaveApparentFlat { get; set; }
+ ///
+ /// 正向视在谷电能
+ ///
+ public float ForwardHaveApparentValley { get; set; }
+ ///
+ /// 反向视在总电能
+ ///
+ public float ReverseHaveApparentAll { get; set; }
+ ///
+ /// 反向视在尖电能
+ ///
+ public float ReverseHaveApparentTip { get; set; }
+ ///
+ /// 反向视在峰电能
+ ///
+ public float ReverseHaveApparentPeak { get; set; }
+ ///
+ /// 反向视在平电能
+ ///
+ public float ReverseHaveApparentFlat { get; set; }
+ ///
+ /// 反向视在谷电能
+ ///
+ public float ReverseHaveApparentValley { get; set; }
+ ///
+ /// A 相电压
+ ///
+ public float PhaseVoltageA { get; set; }
+ ///
+ /// B 相电压
+ ///
+ public float PhaseVoltageB { get; set; }
+ ///
+ /// C 相电压
+ ///
+ public float PhaseVoltageC { get; set; }
+ ///
+ /// A 相电流
+ ///
+ public float PhaseElectricityA { get; set; }
+ ///
+ /// B 相电流
+ ///
+ public float PhaseElectricityB { get; set; }
+ ///
+ /// C 相电流
+ ///
+ public float PhaseElectricityC { get; set; }
+ ///
+ /// 有功总功率
+ ///
+ public float TotalActivePower { get; set; }
+ ///
+ /// A 相有功总功率
+ ///
+ public float TotalActivePowerA { get; set; }
+ ///
+ /// B 相有功总功率
+ ///
+ public float TotalActivePowerB { get; set; }
+ ///
+ /// C 相有功总功率
+ ///
+ public float TotalActivePowerC { get; set; }
+ ///
+ /// 无功总功率
+ ///
+ public float TotalReactivePower { get; set; }
+ ///
+ /// A 相无功总功率
+ ///
+ public float TotalReactivePowerA { get; set; }
+ ///
+ /// B 相无功总功率
+ ///
+ public float TotalReactivePowerB { get; set; }
+ ///
+ /// C 相无功总功率
+ ///
+ public float TotalReactivePowerC { get; set; }
+ ///
+ /// 总视在功率
+ ///
+ public float TotalApparentPower { get; set; }
+ ///
+ /// A 相视在功率
+ ///
+ public float TotalApparentPowerA { get; set; }
+ ///
+ /// B 相视在功率
+ ///
+ public float TotalApparentPowerB { get; set; }
+ ///
+ /// C 相视在功率
+ ///
+ public float TotalApparentPowerC { get; set; }
+ ///
+ /// 总功率因数
+ ///
+ public short OverallPowerFactor { get; set; }
+ ///
+
+ /// A 相功率因数
+ ///
+ public short OverallPowerFactorA { get; set; }
+ ///
+ /// B 相功率因数
+ ///
+ public short OverallPowerFactorB { get; set; }
+ ///
+ /// C 相功率因数
+ ///
+ public short OverallPowerFactorC { get; set; }
+ ///
+ /// A 相相角
+ ///
+ public ushort PhaseAngleA { get; set; }
+ ///
+
+ /// B 相相角
+ ///
+ public ushort PhaseAngleB { get; set; }
+ ///
+ /// C 相相角
+ ///
+ public ushort PhaseAngleC { get; set; }
+ ///
+ /// 电网频率
+ ///
+ public ushort LineFrequency { get; set; }
+ ///
+ /// A 相线电压
+ ///
+ public float PhaseLineVoltageA { get; set; }
+ ///
+ /// B 相线电压
+ ///
+ public float PhaseLineVoltageB { get; set; }
+ ///
+ /// C 相线电压
+ ///
+ public float PhaseLineVoltageC { get; set; }
+ ///
+ /// 三相平均线电压
+ ///
+ public float ThreePhaseMeanLineVoltage { get; set; }
+ ///
+ /// 三相平均相电压
+ ///
+ public float ThreePhaseMeanPhaseVoltage { get; set; }
+ }
+}
diff --git a/HybirdFrameworkServices/Plc/PlcTurnsRatio.cs b/HybirdFrameworkServices/Plc/PlcTurnsRatio.cs
new file mode 100644
index 0000000..40b9140
--- /dev/null
+++ b/HybirdFrameworkServices/Plc/PlcTurnsRatio.cs
@@ -0,0 +1,238 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace HybirdFrameworkServices.Plc
+{
+ ///
+ /// 乘变比电能数据区(浮点数)(乘变比)
+ ///
+ public class PlcTurnsRatio
+ {
+ ///
+ /// 组合有功总电能
+ ///
+ public float GroupHaveAll { get; set; }
+ ///
+ /// 组合有功尖电能
+ ///
+ public float GroupHaveTip { get; set; }
+ ///
+ /// 组合有功峰电能
+ ///
+ public float GroupHavePeak { get; set; }
+ ///
+ /// 组合有功平电能
+ ///
+ public float GroupHaveFlat { get; set; }
+ ///
+ /// 组合有功谷电能
+ ///
+ public float GroupHaveValley { get; set; }
+ ///
+
+ /// 正向有功总电能
+ ///
+ public float ForwardHaveAll { get; set; }
+ ///
+ /// 正向有功尖电能
+ ///
+ public float ForwardHaveTip { get; set; }
+ ///
+ /// 正向有功峰电能
+ ///
+ public float ForwardHavePeak { get; set; }
+ ///
+ /// 正向有功平电能
+ ///
+ public float ForwardHaveFlat { get; set; }
+ ///
+ /// 正向有功谷电能
+ ///
+ public float ForwardHaveValley { get; set; }
+ ///
+ /// 反向有功总电能
+ ///
+ public float ReverseHaveAll { get; set; }
+ ///
+ /// 反向有功尖电能
+ ///
+ public float ReverseHaveTip { get; set; }
+ ///
+ /// 反向有功峰电能
+ ///
+ public float ReverseHavePeak { get; set; }
+ ///
+ /// 反向有功平电能
+ ///
+ public float ReverseHaveFlat { get; set; }
+ ///
+ /// 反向有功谷电能
+ ///
+ public float ReverseHaveValley { get; set; }
+ ///
+ /// 组合无功1总电能
+ ///
+ public float GroupNoAll1 { get; set; }
+ ///
+ /// 组合无功1尖电能
+ ///
+ public float GroupNoTip1 { get; set; }
+ ///
+ /// 组合无功1峰电能
+ ///
+ public float GroupNoPeak1 { get; set; }
+ ///
+ /// 组合无功1平电能
+ ///
+ public float GroupNoFlat1 { get; set; }
+ ///
+ /// 组合无功1谷电能
+ ///
+ public float GroupNoValley1 { get; set; }
+ ///
+ /// 组合无功2总电能
+ ///
+ public float GroupNoAll2 { get; set; }
+ ///
+ /// 组合无功2尖电能
+ ///
+ public float GroupNoTip2 { get; set; }
+ ///
+ /// 组合无功2峰电能
+ ///
+ public float GroupNoPeak2 { get; set; }
+ ///
+ /// 组合无功2平电能
+ ///
+ public float GroupNoFlat2 { get; set; }
+ ///
+ /// 组合无功2谷电能
+ ///
+ public float GroupNoValley2 { get; set; }
+ ///
+ /// 一象限无功总电能
+ ///
+ public float QuadrantNoAll1 { get; set; }
+ ///
+ /// 一象限无功尖电能
+ ///
+ public float QuadrantNoTip1 { get; set; }
+ ///
+
+ /// 一象限无功峰电能
+ ///
+ public float QuadrantNoPeak1 { get; set; }
+ ///
+ /// 一象限无功平电能
+ ///
+ public float QuadrantNoFlat1 { get; set; }
+ ///
+
+ /// 一象限无功谷电能
+ ///
+ public float QuadrantNoValley1 { get; set; }
+ ///
+ /// 二象限无功总电能
+ ///
+ public float QuadrantNoAll2 { get; set; }
+ ///
+ /// 二象限无功尖电能
+ ///
+ public float QuadrantNoTip2 { get; set; }
+ ///
+ /// 二象限无功峰电能
+ ///
+ public float QuadrantNoPeak2 { get; set; }
+ ///
+ /// 二象限无功平电能
+ ///
+ public float QuadrantNoFlat2 { get; set; }
+ ///
+ /// 二象限无功谷电能
+ ///
+ public float QuadrantNoValley2 { get; set; }
+ ///
+ /// 三象限无功总电能
+ ///
+ public float QuadrantNoAll3 { get; set; }
+ ///
+ /// 三象限无功尖电能
+ ///
+ public float QuadrantNoTip3 { get; set; }
+ ///
+ /// 三象限无功峰电能
+ ///
+ public float QuadrantNoPeak3 { get; set; }
+ ///
+ /// 三象限无功平电能
+ ///
+ public float QuadrantNoFlat3 { get; set; }
+ ///
+ /// 三象限无功谷电能
+ ///
+ public float QuadrantNoValley3 { get; set; }
+ ///
+ /// 四象限无功总电能
+ ///
+ public float QuadrantNoAll4 { get; set; }
+ ///
+ /// 四象限无功尖电能
+ ///
+ public float QuadrantNoTip4 { get; set; }
+ ///
+ /// 四象限无功峰电能
+ ///
+ public float QuadrantNoPeak4 { get; set; }
+ ///
+ /// 四象限无功平电能
+ ///
+ public float QuadrantNoFlat4 { get; set; }
+ ///
+ /// 四象限无功谷电能
+ ///
+ public float QuadrantNoValley4 { get; set; }
+ ///
+ /// 正向视在总电能
+ ///
+ public float ForwardHaveApparentAll { get; set; }
+ ///
+ /// 正向视在尖电能
+ ///
+ public float ForwardHaveApparentTip { get; set; }
+ ///
+ /// 正向视在峰电能
+ ///
+ public float ForwardHaveApparentPeak { get; set; }
+ ///
+ /// 正向视在平电能
+ ///
+ public float ForwardHaveApparentFlat { get; set; }
+ ///
+ /// 正向视在谷电能
+ ///
+ public float ForwardHaveApparentValley { get; set; }
+ ///
+ /// 反向视在总电能
+ ///
+ public float ReverseHaveApparentAll { get; set; }
+ ///
+ /// 反向视在尖电能
+ ///
+ public float ReverseHaveApparentTip { get; set; }
+ ///
+ /// 反向视在峰电能
+ ///
+ public float ReverseHaveApparentPeak { get; set; }
+ ///
+ /// 反向视在平电能
+ ///
+ public float ReverseHaveApparentFlat { get; set; }
+ ///
+ /// 反向视在谷电能
+ ///
+ public float ReverseHaveApparentValley { get; set; }
+ }
+}
diff --git a/WinFormStarter/Form2.cs b/WinFormStarter/Form2.cs
index 317e02a..d92fc85 100644
--- a/WinFormStarter/Form2.cs
+++ b/WinFormStarter/Form2.cs
@@ -11,5 +11,7 @@ public partial class Form2 : Form
_server = server;
InitializeComponent();
_server.Start(9000);
+
+ new FrmPLCConnect().Show();
}
}
\ No newline at end of file
diff --git a/WinFormStarter/FrmPLCConnect.Designer.cs b/WinFormStarter/FrmPLCConnect.Designer.cs
new file mode 100644
index 0000000..c19f7af
--- /dev/null
+++ b/WinFormStarter/FrmPLCConnect.Designer.cs
@@ -0,0 +1,2884 @@
+namespace WinFormStarter
+{
+ partial class FrmPLCConnect
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ button18 = new Button();
+ textBox20 = new TextBox();
+ label18 = new Label();
+ button17 = new Button();
+ textBox19 = new TextBox();
+ label17 = new Label();
+ button16 = new Button();
+ textBox18 = new TextBox();
+ label16 = new Label();
+ button15 = new Button();
+ textBox17 = new TextBox();
+ label15 = new Label();
+ groupBox1 = new GroupBox();
+ BtnCollectionAssignment = new Button();
+ label22 = new Label();
+ label21 = new Label();
+ label20 = new Label();
+ TxtSite = new TextBox();
+ LblConState = new Label();
+ BtnConnect = new Button();
+ TxtPort = new TextBox();
+ TxtIp = new TextBox();
+ button14 = new Button();
+ textBox14 = new TextBox();
+ label14 = new Label();
+ button13 = new Button();
+ textBox13 = new TextBox();
+ label13 = new Label();
+ button12 = new Button();
+ textBox12 = new TextBox();
+ label12 = new Label();
+ button11 = new Button();
+ textBox11 = new TextBox();
+ label11 = new Label();
+ button10 = new Button();
+ textBox10 = new TextBox();
+ label10 = new Label();
+ button9 = new Button();
+ textBox9 = new TextBox();
+ label9 = new Label();
+ button8 = new Button();
+ textBox8 = new TextBox();
+ label8 = new Label();
+ button7 = new Button();
+ textBox7 = new TextBox();
+ label7 = new Label();
+ button6 = new Button();
+ textBox6 = new TextBox();
+ label6 = new Label();
+ button5 = new Button();
+ textBox5 = new TextBox();
+ label5 = new Label();
+ button4 = new Button();
+ textBox4 = new TextBox();
+ label4 = new Label();
+ button3 = new Button();
+ textBox3 = new TextBox();
+ label3 = new Label();
+ button2 = new Button();
+ textBox2 = new TextBox();
+ label2 = new Label();
+ button1 = new Button();
+ textBox1 = new TextBox();
+ label1 = new Label();
+ groupBox2 = new GroupBox();
+ groupBox3 = new GroupBox();
+ label164 = new Label();
+ label165 = new Label();
+ label166 = new Label();
+ label167 = new Label();
+ label168 = new Label();
+ label169 = new Label();
+ label170 = new Label();
+ label171 = new Label();
+ label154 = new Label();
+ label155 = new Label();
+ label156 = new Label();
+ label157 = new Label();
+ label158 = new Label();
+ label159 = new Label();
+ label160 = new Label();
+ label161 = new Label();
+ label144 = new Label();
+ label145 = new Label();
+ label146 = new Label();
+ label147 = new Label();
+ label148 = new Label();
+ label149 = new Label();
+ label150 = new Label();
+ label151 = new Label();
+ label132 = new Label();
+ label133 = new Label();
+ label134 = new Label();
+ label135 = new Label();
+ label136 = new Label();
+ label137 = new Label();
+ label138 = new Label();
+ label139 = new Label();
+ label140 = new Label();
+ label141 = new Label();
+ label122 = new Label();
+ label123 = new Label();
+ label124 = new Label();
+ label125 = new Label();
+ label126 = new Label();
+ label127 = new Label();
+ label128 = new Label();
+ label129 = new Label();
+ label130 = new Label();
+ label131 = new Label();
+ label112 = new Label();
+ label113 = new Label();
+ label114 = new Label();
+ label115 = new Label();
+ label116 = new Label();
+ label117 = new Label();
+ label118 = new Label();
+ label119 = new Label();
+ label120 = new Label();
+ label121 = new Label();
+ label102 = new Label();
+ label103 = new Label();
+ label104 = new Label();
+ label105 = new Label();
+ label106 = new Label();
+ label107 = new Label();
+ label108 = new Label();
+ label109 = new Label();
+ label110 = new Label();
+ label111 = new Label();
+ label92 = new Label();
+ label93 = new Label();
+ label94 = new Label();
+ label95 = new Label();
+ label96 = new Label();
+ label97 = new Label();
+ label98 = new Label();
+ label99 = new Label();
+ label100 = new Label();
+ label101 = new Label();
+ label82 = new Label();
+ label83 = new Label();
+ label84 = new Label();
+ label85 = new Label();
+ label86 = new Label();
+ label87 = new Label();
+ label88 = new Label();
+ label89 = new Label();
+ label90 = new Label();
+ label91 = new Label();
+ label72 = new Label();
+ label73 = new Label();
+ label74 = new Label();
+ label75 = new Label();
+ label76 = new Label();
+ label77 = new Label();
+ label78 = new Label();
+ label79 = new Label();
+ label80 = new Label();
+ label81 = new Label();
+ label62 = new Label();
+ label63 = new Label();
+ label64 = new Label();
+ label65 = new Label();
+ label66 = new Label();
+ label67 = new Label();
+ label68 = new Label();
+ label69 = new Label();
+ label70 = new Label();
+ label71 = new Label();
+ label52 = new Label();
+ label53 = new Label();
+ label54 = new Label();
+ label55 = new Label();
+ label56 = new Label();
+ label57 = new Label();
+ label58 = new Label();
+ label59 = new Label();
+ label60 = new Label();
+ label61 = new Label();
+ label42 = new Label();
+ label43 = new Label();
+ label44 = new Label();
+ label45 = new Label();
+ label46 = new Label();
+ label47 = new Label();
+ label48 = new Label();
+ label49 = new Label();
+ label50 = new Label();
+ label51 = new Label();
+ label32 = new Label();
+ label33 = new Label();
+ label34 = new Label();
+ label35 = new Label();
+ label36 = new Label();
+ label37 = new Label();
+ label38 = new Label();
+ label39 = new Label();
+ label40 = new Label();
+ label41 = new Label();
+ label30 = new Label();
+ label31 = new Label();
+ label28 = new Label();
+ label29 = new Label();
+ label26 = new Label();
+ label27 = new Label();
+ label24 = new Label();
+ label25 = new Label();
+ label23 = new Label();
+ label19 = new Label();
+ BtnToggle = new Button();
+ label172 = new Label();
+ label173 = new Label();
+ label142 = new Label();
+ label143 = new Label();
+ label152 = new Label();
+ label153 = new Label();
+ label162 = new Label();
+ label163 = new Label();
+ label174 = new Label();
+ label175 = new Label();
+ label176 = new Label();
+ label177 = new Label();
+ label178 = new Label();
+ label179 = new Label();
+ label180 = new Label();
+ label181 = new Label();
+ label182 = new Label();
+ label183 = new Label();
+ label184 = new Label();
+ label185 = new Label();
+ label186 = new Label();
+ label187 = new Label();
+ label188 = new Label();
+ label189 = new Label();
+ label190 = new Label();
+ label191 = new Label();
+ label192 = new Label();
+ label193 = new Label();
+ groupBox1.SuspendLayout();
+ groupBox2.SuspendLayout();
+ groupBox3.SuspendLayout();
+ SuspendLayout();
+ //
+ // button18
+ //
+ button18.Location = new Point(1040, 210);
+ button18.Name = "button18";
+ button18.Size = new Size(94, 29);
+ button18.TabIndex = 171;
+ button18.Text = "写";
+ button18.UseVisualStyleBackColor = true;
+ //
+ // textBox20
+ //
+ textBox20.Location = new Point(880, 211);
+ textBox20.Name = "textBox20";
+ textBox20.Size = new Size(125, 27);
+ textBox20.TabIndex = 170;
+ //
+ // label18
+ //
+ label18.AutoSize = true;
+ label18.Location = new Point(795, 211);
+ label18.Name = "label18";
+ label18.Size = new Size(69, 20);
+ label18.TabIndex = 169;
+ label18.Text = "电表清零";
+ //
+ // button17
+ //
+ button17.Location = new Point(655, 209);
+ button17.Name = "button17";
+ button17.Size = new Size(94, 29);
+ button17.TabIndex = 168;
+ button17.Text = "写";
+ button17.UseVisualStyleBackColor = true;
+ //
+ // textBox19
+ //
+ textBox19.Location = new Point(495, 210);
+ textBox19.Name = "textBox19";
+ textBox19.Size = new Size(125, 27);
+ textBox19.TabIndex = 167;
+ //
+ // label17
+ //
+ label17.AutoSize = true;
+ label17.Location = new Point(410, 210);
+ label17.Name = "label17";
+ label17.Size = new Size(99, 20);
+ label17.TabIndex = 166;
+ label17.Text = "电流接线反向";
+ //
+ // button16
+ //
+ button16.Location = new Point(255, 212);
+ button16.Name = "button16";
+ button16.Size = new Size(94, 29);
+ button16.TabIndex = 165;
+ button16.Text = "写";
+ button16.UseVisualStyleBackColor = true;
+ //
+ // textBox18
+ //
+ textBox18.Location = new Point(95, 213);
+ textBox18.Name = "textBox18";
+ textBox18.Size = new Size(125, 27);
+ textBox18.TabIndex = 164;
+ //
+ // label16
+ //
+ label16.AutoSize = true;
+ label16.Location = new Point(10, 213);
+ label16.Name = "label16";
+ label16.Size = new Size(150, 20);
+ label16.TabIndex = 163;
+ label16.Text = "秒脉冲/无功电能选择";
+ //
+ // button15
+ //
+ button15.Location = new Point(1040, 177);
+ button15.Name = "button15";
+ button15.Size = new Size(94, 29);
+ button15.TabIndex = 162;
+ button15.Text = "写";
+ button15.UseVisualStyleBackColor = true;
+ //
+ // textBox17
+ //
+ textBox17.Location = new Point(880, 178);
+ textBox17.Name = "textBox17";
+ textBox17.Size = new Size(125, 27);
+ textBox17.TabIndex = 161;
+ //
+ // label15
+ //
+ label15.AutoSize = true;
+ label15.Location = new Point(795, 178);
+ label15.Name = "label15";
+ label15.Size = new Size(69, 20);
+ label15.TabIndex = 160;
+ label15.Text = "电流变比";
+ //
+ // groupBox1
+ //
+ groupBox1.Controls.Add(BtnCollectionAssignment);
+ groupBox1.Controls.Add(label22);
+ groupBox1.Controls.Add(label21);
+ groupBox1.Controls.Add(label20);
+ groupBox1.Controls.Add(TxtSite);
+ groupBox1.Controls.Add(LblConState);
+ groupBox1.Controls.Add(BtnConnect);
+ groupBox1.Controls.Add(TxtPort);
+ groupBox1.Controls.Add(TxtIp);
+ groupBox1.Location = new Point(30, 28);
+ groupBox1.Name = "groupBox1";
+ groupBox1.Size = new Size(1124, 56);
+ groupBox1.TabIndex = 159;
+ groupBox1.TabStop = false;
+ groupBox1.Text = "通讯连接";
+ //
+ // BtnCollectionAssignment
+ //
+ BtnCollectionAssignment.Enabled = false;
+ BtnCollectionAssignment.Location = new Point(859, 17);
+ BtnCollectionAssignment.Name = "BtnCollectionAssignment";
+ BtnCollectionAssignment.Size = new Size(94, 29);
+ BtnCollectionAssignment.TabIndex = 120;
+ BtnCollectionAssignment.Text = "采集赋值";
+ BtnCollectionAssignment.UseVisualStyleBackColor = true;
+ BtnCollectionAssignment.Click += BtnCollectionAssignment_Click;
+ //
+ // label22
+ //
+ label22.AutoSize = true;
+ label22.Location = new Point(490, 26);
+ label22.Name = "label22";
+ label22.Size = new Size(39, 20);
+ label22.TabIndex = 119;
+ label22.Text = "站号";
+ //
+ // label21
+ //
+ label21.AutoSize = true;
+ label21.Location = new Point(258, 20);
+ label21.Name = "label21";
+ label21.Size = new Size(49, 20);
+ label21.TabIndex = 118;
+ label21.Text = "PORT";
+ //
+ // label20
+ //
+ label20.AutoSize = true;
+ label20.Location = new Point(17, 24);
+ label20.Name = "label20";
+ label20.Size = new Size(22, 20);
+ label20.TabIndex = 117;
+ label20.Text = "IP";
+ //
+ // TxtSite
+ //
+ TxtSite.Location = new Point(550, 17);
+ TxtSite.Name = "TxtSite";
+ TxtSite.Size = new Size(125, 27);
+ TxtSite.TabIndex = 45;
+ //
+ // LblConState
+ //
+ LblConState.AutoSize = true;
+ LblConState.Location = new Point(1030, 22);
+ LblConState.Name = "LblConState";
+ LblConState.Size = new Size(69, 20);
+ LblConState.TabIndex = 44;
+ LblConState.Text = "连接状态";
+ //
+ // BtnConnect
+ //
+ BtnConnect.Location = new Point(715, 17);
+ BtnConnect.Name = "BtnConnect";
+ BtnConnect.Size = new Size(94, 29);
+ BtnConnect.TabIndex = 2;
+ BtnConnect.Text = "连接";
+ BtnConnect.UseVisualStyleBackColor = true;
+ BtnConnect.Click += BtnConnect_Click;
+ //
+ // TxtPort
+ //
+ TxtPort.Location = new Point(344, 21);
+ TxtPort.Name = "TxtPort";
+ TxtPort.Size = new Size(125, 27);
+ TxtPort.TabIndex = 1;
+ //
+ // TxtIp
+ //
+ TxtIp.Location = new Point(85, 22);
+ TxtIp.Name = "TxtIp";
+ TxtIp.Size = new Size(125, 27);
+ TxtIp.TabIndex = 0;
+ //
+ // button14
+ //
+ button14.Location = new Point(655, 176);
+ button14.Name = "button14";
+ button14.Size = new Size(94, 29);
+ button14.TabIndex = 158;
+ button14.Text = "写";
+ button14.UseVisualStyleBackColor = true;
+ //
+ // textBox14
+ //
+ textBox14.Location = new Point(495, 177);
+ textBox14.Name = "textBox14";
+ textBox14.Size = new Size(125, 27);
+ textBox14.TabIndex = 157;
+ //
+ // label14
+ //
+ label14.AutoSize = true;
+ label14.Location = new Point(410, 177);
+ label14.Name = "label14";
+ label14.Size = new Size(69, 20);
+ label14.TabIndex = 156;
+ label14.Text = "电压变比";
+ //
+ // button13
+ //
+ button13.Location = new Point(255, 175);
+ button13.Name = "button13";
+ button13.Size = new Size(94, 29);
+ button13.TabIndex = 155;
+ button13.Text = "写";
+ button13.UseVisualStyleBackColor = true;
+ //
+ // textBox13
+ //
+ textBox13.Location = new Point(95, 176);
+ textBox13.Name = "textBox13";
+ textBox13.Size = new Size(125, 27);
+ textBox13.TabIndex = 154;
+ //
+ // label13
+ //
+ label13.AutoSize = true;
+ label13.Location = new Point(10, 176);
+ label13.Name = "label13";
+ label13.Size = new Size(39, 20);
+ label13.TabIndex = 153;
+ label13.Text = "保留";
+ //
+ // button12
+ //
+ button12.Location = new Point(1040, 144);
+ button12.Name = "button12";
+ button12.Size = new Size(94, 29);
+ button12.TabIndex = 152;
+ button12.Text = "写";
+ button12.UseVisualStyleBackColor = true;
+ //
+ // textBox12
+ //
+ textBox12.Location = new Point(880, 145);
+ textBox12.Name = "textBox12";
+ textBox12.Size = new Size(125, 27);
+ textBox12.TabIndex = 151;
+ //
+ // label12
+ //
+ label12.AutoSize = true;
+ label12.Location = new Point(795, 145);
+ label12.Name = "label12";
+ label12.Size = new Size(129, 20);
+ label12.TabIndex = 150;
+ label12.Text = "本机modbus地址";
+ //
+ // button11
+ //
+ button11.Location = new Point(655, 144);
+ button11.Name = "button11";
+ button11.Size = new Size(94, 29);
+ button11.TabIndex = 149;
+ button11.Text = "写";
+ button11.UseVisualStyleBackColor = true;
+ //
+ // textBox11
+ //
+ textBox11.Location = new Point(495, 145);
+ textBox11.Name = "textBox11";
+ textBox11.Size = new Size(125, 27);
+ textBox11.TabIndex = 148;
+ //
+ // label11
+ //
+ label11.AutoSize = true;
+ label11.Location = new Point(410, 145);
+ label11.Name = "label11";
+ label11.Size = new Size(24, 20);
+ label11.TabIndex = 147;
+ label11.Text = "年";
+ //
+ // button10
+ //
+ button10.Location = new Point(255, 143);
+ button10.Name = "button10";
+ button10.Size = new Size(94, 29);
+ button10.TabIndex = 146;
+ button10.Text = "写";
+ button10.UseVisualStyleBackColor = true;
+ //
+ // textBox10
+ //
+ textBox10.Location = new Point(95, 144);
+ textBox10.Name = "textBox10";
+ textBox10.Size = new Size(125, 27);
+ textBox10.TabIndex = 145;
+ //
+ // label10
+ //
+ label10.AutoSize = true;
+ label10.Location = new Point(10, 144);
+ label10.Name = "label10";
+ label10.Size = new Size(24, 20);
+ label10.TabIndex = 144;
+ label10.Text = "月";
+ //
+ // button9
+ //
+ button9.Location = new Point(1040, 110);
+ button9.Name = "button9";
+ button9.Size = new Size(94, 29);
+ button9.TabIndex = 143;
+ button9.Text = "写";
+ button9.UseVisualStyleBackColor = true;
+ //
+ // textBox9
+ //
+ textBox9.Location = new Point(880, 111);
+ textBox9.Name = "textBox9";
+ textBox9.Size = new Size(125, 27);
+ textBox9.TabIndex = 142;
+ //
+ // label9
+ //
+ label9.AutoSize = true;
+ label9.Location = new Point(795, 111);
+ label9.Name = "label9";
+ label9.Size = new Size(24, 20);
+ label9.TabIndex = 141;
+ label9.Text = "日";
+ //
+ // button8
+ //
+ button8.Location = new Point(655, 109);
+ button8.Name = "button8";
+ button8.Size = new Size(94, 29);
+ button8.TabIndex = 140;
+ button8.Text = "写";
+ button8.UseVisualStyleBackColor = true;
+ //
+ // textBox8
+ //
+ textBox8.Location = new Point(495, 110);
+ textBox8.Name = "textBox8";
+ textBox8.Size = new Size(125, 27);
+ textBox8.TabIndex = 139;
+ //
+ // label8
+ //
+ label8.AutoSize = true;
+ label8.Location = new Point(410, 110);
+ label8.Name = "label8";
+ label8.Size = new Size(24, 20);
+ label8.TabIndex = 138;
+ label8.Text = "周";
+ //
+ // button7
+ //
+ button7.Location = new Point(255, 108);
+ button7.Name = "button7";
+ button7.Size = new Size(94, 29);
+ button7.TabIndex = 137;
+ button7.Text = "写";
+ button7.UseVisualStyleBackColor = true;
+ //
+ // textBox7
+ //
+ textBox7.Location = new Point(95, 109);
+ textBox7.Name = "textBox7";
+ textBox7.Size = new Size(125, 27);
+ textBox7.TabIndex = 136;
+ //
+ // label7
+ //
+ label7.AutoSize = true;
+ label7.Location = new Point(10, 109);
+ label7.Name = "label7";
+ label7.Size = new Size(24, 20);
+ label7.TabIndex = 135;
+ label7.Text = "时";
+ //
+ // button6
+ //
+ button6.Location = new Point(1040, 77);
+ button6.Name = "button6";
+ button6.Size = new Size(94, 29);
+ button6.TabIndex = 134;
+ button6.Text = "写";
+ button6.UseVisualStyleBackColor = true;
+ //
+ // textBox6
+ //
+ textBox6.Location = new Point(880, 78);
+ textBox6.Name = "textBox6";
+ textBox6.Size = new Size(125, 27);
+ textBox6.TabIndex = 133;
+ //
+ // label6
+ //
+ label6.AutoSize = true;
+ label6.Location = new Point(795, 78);
+ label6.Name = "label6";
+ label6.Size = new Size(24, 20);
+ label6.TabIndex = 132;
+ label6.Text = "分";
+ //
+ // button5
+ //
+ button5.Location = new Point(655, 76);
+ button5.Name = "button5";
+ button5.Size = new Size(94, 29);
+ button5.TabIndex = 131;
+ button5.Text = "写";
+ button5.UseVisualStyleBackColor = true;
+ //
+ // textBox5
+ //
+ textBox5.Location = new Point(495, 77);
+ textBox5.Name = "textBox5";
+ textBox5.Size = new Size(125, 27);
+ textBox5.TabIndex = 130;
+ //
+ // label5
+ //
+ label5.AutoSize = true;
+ label5.Location = new Point(410, 77);
+ label5.Name = "label5";
+ label5.Size = new Size(24, 20);
+ label5.TabIndex = 129;
+ label5.Text = "秒";
+ //
+ // button4
+ //
+ button4.Location = new Point(255, 75);
+ button4.Name = "button4";
+ button4.Size = new Size(94, 29);
+ button4.TabIndex = 128;
+ button4.Text = "写";
+ button4.UseVisualStyleBackColor = true;
+ //
+ // textBox4
+ //
+ textBox4.Location = new Point(95, 76);
+ textBox4.Name = "textBox4";
+ textBox4.Size = new Size(125, 27);
+ textBox4.TabIndex = 127;
+ //
+ // label4
+ //
+ label4.AutoSize = true;
+ label4.Location = new Point(10, 76);
+ label4.Name = "label4";
+ label4.Size = new Size(54, 20);
+ label4.TabIndex = 126;
+ label4.Text = "校验位";
+ //
+ // button3
+ //
+ button3.Location = new Point(1040, 42);
+ button3.Name = "button3";
+ button3.Size = new Size(94, 29);
+ button3.TabIndex = 125;
+ button3.Text = "写";
+ button3.UseVisualStyleBackColor = true;
+ //
+ // textBox3
+ //
+ textBox3.Location = new Point(880, 43);
+ textBox3.Name = "textBox3";
+ textBox3.Size = new Size(125, 27);
+ textBox3.TabIndex = 124;
+ //
+ // label3
+ //
+ label3.AutoSize = true;
+ label3.Location = new Point(795, 43);
+ label3.Name = "label3";
+ label3.Size = new Size(54, 20);
+ label3.TabIndex = 123;
+ label3.Text = "波特率";
+ //
+ // button2
+ //
+ button2.Location = new Point(655, 41);
+ button2.Name = "button2";
+ button2.Size = new Size(94, 29);
+ button2.TabIndex = 122;
+ button2.Text = "写";
+ button2.UseVisualStyleBackColor = true;
+ //
+ // textBox2
+ //
+ textBox2.Location = new Point(495, 42);
+ textBox2.Name = "textBox2";
+ textBox2.Size = new Size(125, 27);
+ textBox2.TabIndex = 121;
+ //
+ // label2
+ //
+ label2.AutoSize = true;
+ label2.Location = new Point(410, 42);
+ label2.Name = "label2";
+ label2.Size = new Size(129, 20);
+ label2.TabIndex = 120;
+ label2.Text = "本机modbus地址";
+ //
+ // button1
+ //
+ button1.Location = new Point(255, 40);
+ button1.Name = "button1";
+ button1.Size = new Size(94, 29);
+ button1.TabIndex = 119;
+ button1.Text = "写";
+ button1.UseVisualStyleBackColor = true;
+ //
+ // textBox1
+ //
+ textBox1.Location = new Point(95, 41);
+ textBox1.Name = "textBox1";
+ textBox1.Size = new Size(125, 27);
+ textBox1.TabIndex = 118;
+ //
+ // label1
+ //
+ label1.AutoSize = true;
+ label1.Location = new Point(10, 41);
+ label1.Name = "label1";
+ label1.Size = new Size(84, 20);
+ label1.TabIndex = 117;
+ label1.Text = "写编程使能";
+ //
+ // groupBox2
+ //
+ groupBox2.Controls.Add(textBox2);
+ groupBox2.Controls.Add(textBox12);
+ groupBox2.Controls.Add(label12);
+ groupBox2.Controls.Add(textBox5);
+ groupBox2.Controls.Add(button18);
+ groupBox2.Controls.Add(label1);
+ groupBox2.Controls.Add(textBox20);
+ groupBox2.Controls.Add(textBox1);
+ groupBox2.Controls.Add(label18);
+ groupBox2.Controls.Add(button1);
+ groupBox2.Controls.Add(button17);
+ groupBox2.Controls.Add(label2);
+ groupBox2.Controls.Add(textBox19);
+ groupBox2.Controls.Add(label17);
+ groupBox2.Controls.Add(button2);
+ groupBox2.Controls.Add(button16);
+ groupBox2.Controls.Add(label3);
+ groupBox2.Controls.Add(textBox18);
+ groupBox2.Controls.Add(textBox3);
+ groupBox2.Controls.Add(label16);
+ groupBox2.Controls.Add(button3);
+ groupBox2.Controls.Add(button15);
+ groupBox2.Controls.Add(label4);
+ groupBox2.Controls.Add(textBox17);
+ groupBox2.Controls.Add(textBox4);
+ groupBox2.Controls.Add(label15);
+ groupBox2.Controls.Add(button4);
+ groupBox2.Controls.Add(label5);
+ groupBox2.Controls.Add(button14);
+ groupBox2.Controls.Add(button5);
+ groupBox2.Controls.Add(textBox14);
+ groupBox2.Controls.Add(label6);
+ groupBox2.Controls.Add(label14);
+ groupBox2.Controls.Add(textBox6);
+ groupBox2.Controls.Add(button13);
+ groupBox2.Controls.Add(button6);
+ groupBox2.Controls.Add(textBox13);
+ groupBox2.Controls.Add(label7);
+ groupBox2.Controls.Add(label13);
+ groupBox2.Controls.Add(textBox7);
+ groupBox2.Controls.Add(button12);
+ groupBox2.Controls.Add(button7);
+ groupBox2.Controls.Add(label8);
+ groupBox2.Controls.Add(textBox8);
+ groupBox2.Controls.Add(button11);
+ groupBox2.Controls.Add(button8);
+ groupBox2.Controls.Add(textBox11);
+ groupBox2.Controls.Add(label9);
+ groupBox2.Controls.Add(label11);
+ groupBox2.Controls.Add(textBox9);
+ groupBox2.Controls.Add(button10);
+ groupBox2.Controls.Add(button9);
+ groupBox2.Controls.Add(textBox10);
+ groupBox2.Controls.Add(label10);
+ groupBox2.Location = new Point(32, 90);
+ groupBox2.Name = "groupBox2";
+ groupBox2.Size = new Size(1145, 250);
+ groupBox2.TabIndex = 172;
+ groupBox2.TabStop = false;
+ groupBox2.Text = "可读可写";
+ //
+ // groupBox3
+ //
+ groupBox3.Controls.Add(BtnToggle);
+ groupBox3.Controls.Add(label186);
+ groupBox3.Controls.Add(label187);
+ groupBox3.Controls.Add(label188);
+ groupBox3.Controls.Add(label189);
+ groupBox3.Controls.Add(label190);
+ groupBox3.Controls.Add(label191);
+ groupBox3.Controls.Add(label192);
+ groupBox3.Controls.Add(label193);
+ groupBox3.Controls.Add(label176);
+ groupBox3.Controls.Add(label177);
+ groupBox3.Controls.Add(label178);
+ groupBox3.Controls.Add(label179);
+ groupBox3.Controls.Add(label180);
+ groupBox3.Controls.Add(label181);
+ groupBox3.Controls.Add(label182);
+ groupBox3.Controls.Add(label183);
+ groupBox3.Controls.Add(label184);
+ groupBox3.Controls.Add(label185);
+ groupBox3.Controls.Add(label142);
+ groupBox3.Controls.Add(label143);
+ groupBox3.Controls.Add(label152);
+ groupBox3.Controls.Add(label153);
+ groupBox3.Controls.Add(label162);
+ groupBox3.Controls.Add(label163);
+ groupBox3.Controls.Add(label174);
+ groupBox3.Controls.Add(label175);
+ groupBox3.Controls.Add(label172);
+ groupBox3.Controls.Add(label173);
+ groupBox3.Controls.Add(label164);
+ groupBox3.Controls.Add(label165);
+ groupBox3.Controls.Add(label166);
+ groupBox3.Controls.Add(label167);
+ groupBox3.Controls.Add(label168);
+ groupBox3.Controls.Add(label169);
+ groupBox3.Controls.Add(label170);
+ groupBox3.Controls.Add(label171);
+ groupBox3.Controls.Add(label154);
+ groupBox3.Controls.Add(label155);
+ groupBox3.Controls.Add(label156);
+ groupBox3.Controls.Add(label157);
+ groupBox3.Controls.Add(label158);
+ groupBox3.Controls.Add(label159);
+ groupBox3.Controls.Add(label160);
+ groupBox3.Controls.Add(label161);
+ groupBox3.Controls.Add(label144);
+ groupBox3.Controls.Add(label145);
+ groupBox3.Controls.Add(label146);
+ groupBox3.Controls.Add(label147);
+ groupBox3.Controls.Add(label148);
+ groupBox3.Controls.Add(label149);
+ groupBox3.Controls.Add(label150);
+ groupBox3.Controls.Add(label151);
+ groupBox3.Controls.Add(label132);
+ groupBox3.Controls.Add(label133);
+ groupBox3.Controls.Add(label134);
+ groupBox3.Controls.Add(label135);
+ groupBox3.Controls.Add(label136);
+ groupBox3.Controls.Add(label137);
+ groupBox3.Controls.Add(label138);
+ groupBox3.Controls.Add(label139);
+ groupBox3.Controls.Add(label140);
+ groupBox3.Controls.Add(label141);
+ groupBox3.Controls.Add(label122);
+ groupBox3.Controls.Add(label123);
+ groupBox3.Controls.Add(label124);
+ groupBox3.Controls.Add(label125);
+ groupBox3.Controls.Add(label126);
+ groupBox3.Controls.Add(label127);
+ groupBox3.Controls.Add(label128);
+ groupBox3.Controls.Add(label129);
+ groupBox3.Controls.Add(label130);
+ groupBox3.Controls.Add(label131);
+ groupBox3.Controls.Add(label112);
+ groupBox3.Controls.Add(label113);
+ groupBox3.Controls.Add(label114);
+ groupBox3.Controls.Add(label115);
+ groupBox3.Controls.Add(label116);
+ groupBox3.Controls.Add(label117);
+ groupBox3.Controls.Add(label118);
+ groupBox3.Controls.Add(label119);
+ groupBox3.Controls.Add(label120);
+ groupBox3.Controls.Add(label121);
+ groupBox3.Controls.Add(label102);
+ groupBox3.Controls.Add(label103);
+ groupBox3.Controls.Add(label104);
+ groupBox3.Controls.Add(label105);
+ groupBox3.Controls.Add(label106);
+ groupBox3.Controls.Add(label107);
+ groupBox3.Controls.Add(label108);
+ groupBox3.Controls.Add(label109);
+ groupBox3.Controls.Add(label110);
+ groupBox3.Controls.Add(label111);
+ groupBox3.Controls.Add(label92);
+ groupBox3.Controls.Add(label93);
+ groupBox3.Controls.Add(label94);
+ groupBox3.Controls.Add(label95);
+ groupBox3.Controls.Add(label96);
+ groupBox3.Controls.Add(label97);
+ groupBox3.Controls.Add(label98);
+ groupBox3.Controls.Add(label99);
+ groupBox3.Controls.Add(label100);
+ groupBox3.Controls.Add(label101);
+ groupBox3.Controls.Add(label82);
+ groupBox3.Controls.Add(label83);
+ groupBox3.Controls.Add(label84);
+ groupBox3.Controls.Add(label85);
+ groupBox3.Controls.Add(label86);
+ groupBox3.Controls.Add(label87);
+ groupBox3.Controls.Add(label88);
+ groupBox3.Controls.Add(label89);
+ groupBox3.Controls.Add(label90);
+ groupBox3.Controls.Add(label91);
+ groupBox3.Controls.Add(label72);
+ groupBox3.Controls.Add(label73);
+ groupBox3.Controls.Add(label74);
+ groupBox3.Controls.Add(label75);
+ groupBox3.Controls.Add(label76);
+ groupBox3.Controls.Add(label77);
+ groupBox3.Controls.Add(label78);
+ groupBox3.Controls.Add(label79);
+ groupBox3.Controls.Add(label80);
+ groupBox3.Controls.Add(label81);
+ groupBox3.Controls.Add(label62);
+ groupBox3.Controls.Add(label63);
+ groupBox3.Controls.Add(label64);
+ groupBox3.Controls.Add(label65);
+ groupBox3.Controls.Add(label66);
+ groupBox3.Controls.Add(label67);
+ groupBox3.Controls.Add(label68);
+ groupBox3.Controls.Add(label69);
+ groupBox3.Controls.Add(label70);
+ groupBox3.Controls.Add(label71);
+ groupBox3.Controls.Add(label52);
+ groupBox3.Controls.Add(label53);
+ groupBox3.Controls.Add(label54);
+ groupBox3.Controls.Add(label55);
+ groupBox3.Controls.Add(label56);
+ groupBox3.Controls.Add(label57);
+ groupBox3.Controls.Add(label58);
+ groupBox3.Controls.Add(label59);
+ groupBox3.Controls.Add(label60);
+ groupBox3.Controls.Add(label61);
+ groupBox3.Controls.Add(label42);
+ groupBox3.Controls.Add(label43);
+ groupBox3.Controls.Add(label44);
+ groupBox3.Controls.Add(label45);
+ groupBox3.Controls.Add(label46);
+ groupBox3.Controls.Add(label47);
+ groupBox3.Controls.Add(label48);
+ groupBox3.Controls.Add(label49);
+ groupBox3.Controls.Add(label50);
+ groupBox3.Controls.Add(label51);
+ groupBox3.Controls.Add(label32);
+ groupBox3.Controls.Add(label33);
+ groupBox3.Controls.Add(label34);
+ groupBox3.Controls.Add(label35);
+ groupBox3.Controls.Add(label36);
+ groupBox3.Controls.Add(label37);
+ groupBox3.Controls.Add(label38);
+ groupBox3.Controls.Add(label39);
+ groupBox3.Controls.Add(label40);
+ groupBox3.Controls.Add(label41);
+ groupBox3.Controls.Add(label30);
+ groupBox3.Controls.Add(label31);
+ groupBox3.Controls.Add(label28);
+ groupBox3.Controls.Add(label29);
+ groupBox3.Controls.Add(label26);
+ groupBox3.Controls.Add(label27);
+ groupBox3.Controls.Add(label24);
+ groupBox3.Controls.Add(label25);
+ groupBox3.Controls.Add(label23);
+ groupBox3.Controls.Add(label19);
+ groupBox3.Location = new Point(30, 355);
+ groupBox3.Name = "groupBox3";
+ groupBox3.Size = new Size(1147, 645);
+ groupBox3.TabIndex = 173;
+ groupBox3.TabStop = false;
+ groupBox3.Text = "A 相线电压";
+ //
+ // label164
+ //
+ label164.AutoSize = true;
+ label164.Location = new Point(815, 512);
+ label164.Name = "label164";
+ label164.Size = new Size(87, 20);
+ label164.TabIndex = 147;
+ label164.Text = "0.0001kVA";
+ //
+ // label165
+ //
+ label165.AutoSize = true;
+ label165.Location = new Point(691, 512);
+ label165.Name = "label165";
+ label165.Size = new Size(99, 20);
+ label165.TabIndex = 146;
+ label165.Text = "A 相视在功率";
+ //
+ // label166
+ //
+ label166.AutoSize = true;
+ label166.Location = new Point(584, 512);
+ label166.Name = "label166";
+ label166.Size = new Size(87, 20);
+ label166.TabIndex = 145;
+ label166.Text = "0.0001kVA";
+ //
+ // label167
+ //
+ label167.AutoSize = true;
+ label167.Location = new Point(460, 512);
+ label167.Name = "label167";
+ label167.Size = new Size(99, 20);
+ label167.TabIndex = 144;
+ label167.Text = "A 相视在功率";
+ //
+ // label168
+ //
+ label168.AutoSize = true;
+ label168.Location = new Point(355, 512);
+ label168.Name = "label168";
+ label168.Size = new Size(87, 20);
+ label168.TabIndex = 143;
+ label168.Text = "0.0001kVA";
+ //
+ // label169
+ //
+ label169.AutoSize = true;
+ label169.Location = new Point(227, 512);
+ label169.Name = "label169";
+ label169.Size = new Size(99, 20);
+ label169.TabIndex = 142;
+ label169.Text = "A 相视在功率";
+ //
+ // label170
+ //
+ label170.AutoSize = true;
+ label170.Location = new Point(143, 512);
+ label170.Name = "label170";
+ label170.Size = new Size(87, 20);
+ label170.TabIndex = 141;
+ label170.Text = "0.0001kVA";
+ //
+ // label171
+ //
+ label171.AutoSize = true;
+ label171.Location = new Point(19, 512);
+ label171.Name = "label171";
+ label171.Size = new Size(84, 20);
+ label171.TabIndex = 140;
+ label171.Text = "总视在功率";
+ //
+ // label154
+ //
+ label154.AutoSize = true;
+ label154.Location = new Point(817, 482);
+ label154.Name = "label154";
+ label154.Size = new Size(88, 20);
+ label154.TabIndex = 137;
+ label154.Text = "0.0001kvar";
+ //
+ // label155
+ //
+ label155.AutoSize = true;
+ label155.Location = new Point(693, 482);
+ label155.Name = "label155";
+ label155.Size = new Size(118, 20);
+ label155.TabIndex = 136;
+ label155.Text = "A 相无功总功率 ";
+ //
+ // label156
+ //
+ label156.AutoSize = true;
+ label156.Location = new Point(586, 482);
+ label156.Name = "label156";
+ label156.Size = new Size(88, 20);
+ label156.TabIndex = 135;
+ label156.Text = "0.0001kvar";
+ //
+ // label157
+ //
+ label157.AutoSize = true;
+ label157.Location = new Point(462, 482);
+ label157.Name = "label157";
+ label157.Size = new Size(118, 20);
+ label157.TabIndex = 134;
+ label157.Text = "A 相无功总功率 ";
+ //
+ // label158
+ //
+ label158.AutoSize = true;
+ label158.Location = new Point(357, 482);
+ label158.Name = "label158";
+ label158.Size = new Size(88, 20);
+ label158.TabIndex = 133;
+ label158.Text = "0.0001kvar";
+ //
+ // label159
+ //
+ label159.AutoSize = true;
+ label159.Location = new Point(229, 482);
+ label159.Name = "label159";
+ label159.Size = new Size(118, 20);
+ label159.TabIndex = 132;
+ label159.Text = "A 相无功总功率 ";
+ //
+ // label160
+ //
+ label160.AutoSize = true;
+ label160.Location = new Point(145, 482);
+ label160.Name = "label160";
+ label160.Size = new Size(88, 20);
+ label160.TabIndex = 131;
+ label160.Text = "0.0001kvar";
+ //
+ // label161
+ //
+ label161.AutoSize = true;
+ label161.Location = new Point(21, 482);
+ label161.Name = "label161";
+ label161.Size = new Size(88, 20);
+ label161.TabIndex = 130;
+ label161.Text = "无功总功率 ";
+ //
+ // label144
+ //
+ label144.AutoSize = true;
+ label144.Location = new Point(817, 450);
+ label144.Name = "label144";
+ label144.Size = new Size(81, 20);
+ label144.TabIndex = 127;
+ label144.Text = "0.0001kW";
+ //
+ // label145
+ //
+ label145.AutoSize = true;
+ label145.Location = new Point(693, 450);
+ label145.Name = "label145";
+ label145.Size = new Size(114, 20);
+ label145.TabIndex = 126;
+ label145.Text = "A 相有功总功率";
+ //
+ // label146
+ //
+ label146.AutoSize = true;
+ label146.Location = new Point(586, 450);
+ label146.Name = "label146";
+ label146.Size = new Size(81, 20);
+ label146.TabIndex = 125;
+ label146.Text = "0.0001kW";
+ //
+ // label147
+ //
+ label147.AutoSize = true;
+ label147.Location = new Point(462, 450);
+ label147.Name = "label147";
+ label147.Size = new Size(114, 20);
+ label147.TabIndex = 124;
+ label147.Text = "A 相有功总功率";
+ //
+ // label148
+ //
+ label148.AutoSize = true;
+ label148.Location = new Point(357, 450);
+ label148.Name = "label148";
+ label148.Size = new Size(81, 20);
+ label148.TabIndex = 123;
+ label148.Text = "0.0001kW";
+ //
+ // label149
+ //
+ label149.AutoSize = true;
+ label149.Location = new Point(229, 450);
+ label149.Name = "label149";
+ label149.Size = new Size(114, 20);
+ label149.TabIndex = 122;
+ label149.Text = "A 相有功总功率";
+ //
+ // label150
+ //
+ label150.AutoSize = true;
+ label150.Location = new Point(145, 450);
+ label150.Name = "label150";
+ label150.Size = new Size(81, 20);
+ label150.TabIndex = 121;
+ label150.Text = "0.0001kW";
+ //
+ // label151
+ //
+ label151.AutoSize = true;
+ label151.Location = new Point(21, 450);
+ label151.Name = "label151";
+ label151.Size = new Size(84, 20);
+ label151.TabIndex = 120;
+ label151.Text = "有功总功率";
+ //
+ // label132
+ //
+ label132.AutoSize = true;
+ label132.Location = new Point(836, 419);
+ label132.Name = "label132";
+ label132.Size = new Size(69, 20);
+ label132.TabIndex = 119;
+ label132.Text = "0.0001A";
+ //
+ // label133
+ //
+ label133.AutoSize = true;
+ label133.Location = new Point(752, 419);
+ label133.Name = "label133";
+ label133.Size = new Size(63, 20);
+ label133.TabIndex = 118;
+ label133.Text = "B相电流";
+ //
+ // label134
+ //
+ label134.AutoSize = true;
+ label134.Location = new Point(646, 419);
+ label134.Name = "label134";
+ label134.Size = new Size(69, 20);
+ label134.TabIndex = 117;
+ label134.Text = "0.0001A";
+ //
+ // label135
+ //
+ label135.AutoSize = true;
+ label135.Location = new Point(571, 419);
+ label135.Name = "label135";
+ label135.Size = new Size(69, 20);
+ label135.TabIndex = 116;
+ label135.Text = "A 相电流";
+ //
+ // label136
+ //
+ label136.AutoSize = true;
+ label136.Location = new Point(450, 419);
+ label136.Name = "label136";
+ label136.Size = new Size(68, 20);
+ label136.TabIndex = 115;
+ label136.Text = "0.0001V";
+ //
+ // label137
+ //
+ label137.AutoSize = true;
+ label137.Location = new Point(380, 419);
+ label137.Name = "label137";
+ label137.Size = new Size(64, 20);
+ label137.TabIndex = 114;
+ label137.Text = "C相电压";
+ //
+ // label138
+ //
+ label138.AutoSize = true;
+ label138.Location = new Point(270, 419);
+ label138.Name = "label138";
+ label138.Size = new Size(68, 20);
+ label138.TabIndex = 113;
+ label138.Text = "0.0001V";
+ //
+ // label139
+ //
+ label139.AutoSize = true;
+ label139.Location = new Point(201, 419);
+ label139.Name = "label139";
+ label139.Size = new Size(63, 20);
+ label139.TabIndex = 112;
+ label139.Text = "B相电压";
+ //
+ // label140
+ //
+ label140.AutoSize = true;
+ label140.Location = new Point(100, 419);
+ label140.Name = "label140";
+ label140.Size = new Size(68, 20);
+ label140.TabIndex = 111;
+ label140.Text = "0.0001V";
+ //
+ // label141
+ //
+ label141.AutoSize = true;
+ label141.Location = new Point(21, 419);
+ label141.Name = "label141";
+ label141.Size = new Size(73, 20);
+ label141.TabIndex = 110;
+ label141.Text = "A 相电压 ";
+ //
+ // label122
+ //
+ label122.AutoSize = true;
+ label122.Location = new Point(1067, 369);
+ label122.Name = "label122";
+ label122.Size = new Size(82, 20);
+ label122.TabIndex = 109;
+ label122.Text = "0.01kVAh ";
+ //
+ // label123
+ //
+ label123.AutoSize = true;
+ label123.Location = new Point(929, 369);
+ label123.Name = "label123";
+ label123.Size = new Size(114, 20);
+ label123.TabIndex = 108;
+ label123.Text = "组合有功谷电能";
+ //
+ // label124
+ //
+ label124.AutoSize = true;
+ label124.Location = new Point(819, 369);
+ label124.Name = "label124";
+ label124.Size = new Size(82, 20);
+ label124.TabIndex = 107;
+ label124.Text = "0.01kVAh ";
+ //
+ // label125
+ //
+ label125.AutoSize = true;
+ label125.Location = new Point(695, 369);
+ label125.Name = "label125";
+ label125.Size = new Size(118, 20);
+ label125.TabIndex = 106;
+ label125.Text = "组合有功平电能 ";
+ //
+ // label126
+ //
+ label126.AutoSize = true;
+ label126.Location = new Point(588, 369);
+ label126.Name = "label126";
+ label126.Size = new Size(82, 20);
+ label126.TabIndex = 105;
+ label126.Text = "0.01kVAh ";
+ //
+ // label127
+ //
+ label127.AutoSize = true;
+ label127.Location = new Point(464, 369);
+ label127.Name = "label127";
+ label127.Size = new Size(118, 20);
+ label127.TabIndex = 104;
+ label127.Text = "组合有功峰电能 ";
+ //
+ // label128
+ //
+ label128.AutoSize = true;
+ label128.Location = new Point(359, 369);
+ label128.Name = "label128";
+ label128.Size = new Size(82, 20);
+ label128.TabIndex = 103;
+ label128.Text = "0.01kVAh ";
+ //
+ // label129
+ //
+ label129.AutoSize = true;
+ label129.Location = new Point(231, 369);
+ label129.Name = "label129";
+ label129.Size = new Size(122, 20);
+ label129.TabIndex = 102;
+ label129.Text = "组合有功尖电能 ";
+ //
+ // label130
+ //
+ label130.AutoSize = true;
+ label130.Location = new Point(147, 369);
+ label130.Name = "label130";
+ label130.Size = new Size(82, 20);
+ label130.TabIndex = 101;
+ label130.Text = "0.01kVAh ";
+ //
+ // label131
+ //
+ label131.AutoSize = true;
+ label131.Location = new Point(23, 369);
+ label131.Name = "label131";
+ label131.Size = new Size(114, 20);
+ label131.TabIndex = 100;
+ label131.Text = "反向视在总电能";
+ //
+ // label112
+ //
+ label112.AutoSize = true;
+ label112.Location = new Point(1067, 338);
+ label112.Name = "label112";
+ label112.Size = new Size(82, 20);
+ label112.TabIndex = 99;
+ label112.Text = "0.01kVAh ";
+ //
+ // label113
+ //
+ label113.AutoSize = true;
+ label113.Location = new Point(929, 338);
+ label113.Name = "label113";
+ label113.Size = new Size(114, 20);
+ label113.TabIndex = 98;
+ label113.Text = "组合有功谷电能";
+ //
+ // label114
+ //
+ label114.AutoSize = true;
+ label114.Location = new Point(819, 338);
+ label114.Name = "label114";
+ label114.Size = new Size(82, 20);
+ label114.TabIndex = 97;
+ label114.Text = "0.01kVAh ";
+ //
+ // label115
+ //
+ label115.AutoSize = true;
+ label115.Location = new Point(695, 338);
+ label115.Name = "label115";
+ label115.Size = new Size(118, 20);
+ label115.TabIndex = 96;
+ label115.Text = "组合有功平电能 ";
+ //
+ // label116
+ //
+ label116.AutoSize = true;
+ label116.Location = new Point(588, 338);
+ label116.Name = "label116";
+ label116.Size = new Size(82, 20);
+ label116.TabIndex = 95;
+ label116.Text = "0.01kVAh ";
+ //
+ // label117
+ //
+ label117.AutoSize = true;
+ label117.Location = new Point(464, 338);
+ label117.Name = "label117";
+ label117.Size = new Size(118, 20);
+ label117.TabIndex = 94;
+ label117.Text = "组合有功峰电能 ";
+ //
+ // label118
+ //
+ label118.AutoSize = true;
+ label118.Location = new Point(359, 338);
+ label118.Name = "label118";
+ label118.Size = new Size(82, 20);
+ label118.TabIndex = 93;
+ label118.Text = "0.01kVAh ";
+ //
+ // label119
+ //
+ label119.AutoSize = true;
+ label119.Location = new Point(231, 338);
+ label119.Name = "label119";
+ label119.Size = new Size(122, 20);
+ label119.TabIndex = 92;
+ label119.Text = "组合有功尖电能 ";
+ //
+ // label120
+ //
+ label120.AutoSize = true;
+ label120.Location = new Point(147, 338);
+ label120.Name = "label120";
+ label120.Size = new Size(82, 20);
+ label120.TabIndex = 91;
+ label120.Text = "0.01kVAh ";
+ //
+ // label121
+ //
+ label121.AutoSize = true;
+ label121.Location = new Point(23, 338);
+ label121.Name = "label121";
+ label121.Size = new Size(118, 20);
+ label121.TabIndex = 90;
+ label121.Text = "正向视在总电能 ";
+ //
+ // label102
+ //
+ label102.AutoSize = true;
+ label102.Location = new Point(1065, 308);
+ label102.Name = "label102";
+ label102.Size = new Size(79, 20);
+ label102.TabIndex = 89;
+ label102.Text = "0.01kvarh";
+ //
+ // label103
+ //
+ label103.AutoSize = true;
+ label103.Location = new Point(927, 308);
+ label103.Name = "label103";
+ label103.Size = new Size(114, 20);
+ label103.TabIndex = 88;
+ label103.Text = "组合有功谷电能";
+ //
+ // label104
+ //
+ label104.AutoSize = true;
+ label104.Location = new Point(817, 308);
+ label104.Name = "label104";
+ label104.Size = new Size(79, 20);
+ label104.TabIndex = 87;
+ label104.Text = "0.01kvarh";
+ //
+ // label105
+ //
+ label105.AutoSize = true;
+ label105.Location = new Point(693, 308);
+ label105.Name = "label105";
+ label105.Size = new Size(118, 20);
+ label105.TabIndex = 86;
+ label105.Text = "组合有功平电能 ";
+ //
+ // label106
+ //
+ label106.AutoSize = true;
+ label106.Location = new Point(586, 308);
+ label106.Name = "label106";
+ label106.Size = new Size(79, 20);
+ label106.TabIndex = 85;
+ label106.Text = "0.01kvarh";
+ //
+ // label107
+ //
+ label107.AutoSize = true;
+ label107.Location = new Point(462, 308);
+ label107.Name = "label107";
+ label107.Size = new Size(118, 20);
+ label107.TabIndex = 84;
+ label107.Text = "组合有功峰电能 ";
+ //
+ // label108
+ //
+ label108.AutoSize = true;
+ label108.Location = new Point(357, 308);
+ label108.Name = "label108";
+ label108.Size = new Size(79, 20);
+ label108.TabIndex = 83;
+ label108.Text = "0.01kvarh";
+ //
+ // label109
+ //
+ label109.AutoSize = true;
+ label109.Location = new Point(229, 308);
+ label109.Name = "label109";
+ label109.Size = new Size(122, 20);
+ label109.TabIndex = 82;
+ label109.Text = "组合有功尖电能 ";
+ //
+ // label110
+ //
+ label110.AutoSize = true;
+ label110.Location = new Point(145, 308);
+ label110.Name = "label110";
+ label110.Size = new Size(79, 20);
+ label110.TabIndex = 81;
+ label110.Text = "0.01kvarh";
+ //
+ // label111
+ //
+ label111.AutoSize = true;
+ label111.Location = new Point(21, 308);
+ label111.Name = "label111";
+ label111.Size = new Size(129, 20);
+ label111.TabIndex = 80;
+ label111.Text = "四象限无功总电能";
+ //
+ // label92
+ //
+ label92.AutoSize = true;
+ label92.Location = new Point(1065, 276);
+ label92.Name = "label92";
+ label92.Size = new Size(79, 20);
+ label92.TabIndex = 79;
+ label92.Text = "0.01kvarh";
+ //
+ // label93
+ //
+ label93.AutoSize = true;
+ label93.Location = new Point(927, 276);
+ label93.Name = "label93";
+ label93.Size = new Size(114, 20);
+ label93.TabIndex = 78;
+ label93.Text = "组合有功谷电能";
+ //
+ // label94
+ //
+ label94.AutoSize = true;
+ label94.Location = new Point(817, 276);
+ label94.Name = "label94";
+ label94.Size = new Size(79, 20);
+ label94.TabIndex = 77;
+ label94.Text = "0.01kvarh";
+ //
+ // label95
+ //
+ label95.AutoSize = true;
+ label95.Location = new Point(693, 276);
+ label95.Name = "label95";
+ label95.Size = new Size(118, 20);
+ label95.TabIndex = 76;
+ label95.Text = "组合有功平电能 ";
+ //
+ // label96
+ //
+ label96.AutoSize = true;
+ label96.Location = new Point(586, 276);
+ label96.Name = "label96";
+ label96.Size = new Size(79, 20);
+ label96.TabIndex = 75;
+ label96.Text = "0.01kvarh";
+ //
+ // label97
+ //
+ label97.AutoSize = true;
+ label97.Location = new Point(462, 276);
+ label97.Name = "label97";
+ label97.Size = new Size(118, 20);
+ label97.TabIndex = 74;
+ label97.Text = "组合有功峰电能 ";
+ //
+ // label98
+ //
+ label98.AutoSize = true;
+ label98.Location = new Point(357, 276);
+ label98.Name = "label98";
+ label98.Size = new Size(79, 20);
+ label98.TabIndex = 73;
+ label98.Text = "0.01kvarh";
+ //
+ // label99
+ //
+ label99.AutoSize = true;
+ label99.Location = new Point(229, 276);
+ label99.Name = "label99";
+ label99.Size = new Size(122, 20);
+ label99.TabIndex = 72;
+ label99.Text = "组合有功尖电能 ";
+ //
+ // label100
+ //
+ label100.AutoSize = true;
+ label100.Location = new Point(145, 276);
+ label100.Name = "label100";
+ label100.Size = new Size(79, 20);
+ label100.TabIndex = 71;
+ label100.Text = "0.01kvarh";
+ //
+ // label101
+ //
+ label101.AutoSize = true;
+ label101.Location = new Point(21, 276);
+ label101.Name = "label101";
+ label101.Size = new Size(129, 20);
+ label101.TabIndex = 70;
+ label101.Text = "三象限无功总电能";
+ //
+ // label82
+ //
+ label82.AutoSize = true;
+ label82.Location = new Point(1063, 244);
+ label82.Name = "label82";
+ label82.Size = new Size(79, 20);
+ label82.TabIndex = 69;
+ label82.Text = "0.01kvarh";
+ //
+ // label83
+ //
+ label83.AutoSize = true;
+ label83.Location = new Point(925, 244);
+ label83.Name = "label83";
+ label83.Size = new Size(114, 20);
+ label83.TabIndex = 68;
+ label83.Text = "组合有功谷电能";
+ //
+ // label84
+ //
+ label84.AutoSize = true;
+ label84.Location = new Point(815, 244);
+ label84.Name = "label84";
+ label84.Size = new Size(79, 20);
+ label84.TabIndex = 67;
+ label84.Text = "0.01kvarh";
+ //
+ // label85
+ //
+ label85.AutoSize = true;
+ label85.Location = new Point(691, 244);
+ label85.Name = "label85";
+ label85.Size = new Size(118, 20);
+ label85.TabIndex = 66;
+ label85.Text = "组合有功平电能 ";
+ //
+ // label86
+ //
+ label86.AutoSize = true;
+ label86.Location = new Point(584, 244);
+ label86.Name = "label86";
+ label86.Size = new Size(79, 20);
+ label86.TabIndex = 65;
+ label86.Text = "0.01kvarh";
+ //
+ // label87
+ //
+ label87.AutoSize = true;
+ label87.Location = new Point(460, 244);
+ label87.Name = "label87";
+ label87.Size = new Size(118, 20);
+ label87.TabIndex = 64;
+ label87.Text = "组合有功峰电能 ";
+ //
+ // label88
+ //
+ label88.AutoSize = true;
+ label88.Location = new Point(355, 244);
+ label88.Name = "label88";
+ label88.Size = new Size(79, 20);
+ label88.TabIndex = 63;
+ label88.Text = "0.01kvarh";
+ //
+ // label89
+ //
+ label89.AutoSize = true;
+ label89.Location = new Point(227, 244);
+ label89.Name = "label89";
+ label89.Size = new Size(122, 20);
+ label89.TabIndex = 62;
+ label89.Text = "组合有功尖电能 ";
+ //
+ // label90
+ //
+ label90.AutoSize = true;
+ label90.Location = new Point(143, 244);
+ label90.Name = "label90";
+ label90.Size = new Size(79, 20);
+ label90.TabIndex = 61;
+ label90.Text = "0.01kvarh";
+ //
+ // label91
+ //
+ label91.AutoSize = true;
+ label91.Location = new Point(19, 244);
+ label91.Name = "label91";
+ label91.Size = new Size(129, 20);
+ label91.TabIndex = 60;
+ label91.Text = "二象限无功总电能";
+ //
+ // label72
+ //
+ label72.AutoSize = true;
+ label72.Location = new Point(1063, 210);
+ label72.Name = "label72";
+ label72.Size = new Size(79, 20);
+ label72.TabIndex = 59;
+ label72.Text = "0.01kvarh";
+ //
+ // label73
+ //
+ label73.AutoSize = true;
+ label73.Location = new Point(925, 210);
+ label73.Name = "label73";
+ label73.Size = new Size(114, 20);
+ label73.TabIndex = 58;
+ label73.Text = "组合有功谷电能";
+ //
+ // label74
+ //
+ label74.AutoSize = true;
+ label74.Location = new Point(815, 210);
+ label74.Name = "label74";
+ label74.Size = new Size(79, 20);
+ label74.TabIndex = 57;
+ label74.Text = "0.01kvarh";
+ //
+ // label75
+ //
+ label75.AutoSize = true;
+ label75.Location = new Point(691, 210);
+ label75.Name = "label75";
+ label75.Size = new Size(118, 20);
+ label75.TabIndex = 56;
+ label75.Text = "组合有功平电能 ";
+ //
+ // label76
+ //
+ label76.AutoSize = true;
+ label76.Location = new Point(584, 210);
+ label76.Name = "label76";
+ label76.Size = new Size(79, 20);
+ label76.TabIndex = 55;
+ label76.Text = "0.01kvarh";
+ //
+ // label77
+ //
+ label77.AutoSize = true;
+ label77.Location = new Point(460, 210);
+ label77.Name = "label77";
+ label77.Size = new Size(118, 20);
+ label77.TabIndex = 54;
+ label77.Text = "组合有功峰电能 ";
+ //
+ // label78
+ //
+ label78.AutoSize = true;
+ label78.Location = new Point(355, 210);
+ label78.Name = "label78";
+ label78.Size = new Size(79, 20);
+ label78.TabIndex = 53;
+ label78.Text = "0.01kvarh";
+ //
+ // label79
+ //
+ label79.AutoSize = true;
+ label79.Location = new Point(227, 210);
+ label79.Name = "label79";
+ label79.Size = new Size(122, 20);
+ label79.TabIndex = 52;
+ label79.Text = "组合有功尖电能 ";
+ //
+ // label80
+ //
+ label80.AutoSize = true;
+ label80.Location = new Point(143, 210);
+ label80.Name = "label80";
+ label80.Size = new Size(79, 20);
+ label80.TabIndex = 51;
+ label80.Text = "0.01kvarh";
+ //
+ // label81
+ //
+ label81.AutoSize = true;
+ label81.Location = new Point(19, 210);
+ label81.Name = "label81";
+ label81.Size = new Size(129, 20);
+ label81.TabIndex = 50;
+ label81.Text = "一象限无功总电能";
+ //
+ // label62
+ //
+ label62.AutoSize = true;
+ label62.Location = new Point(1063, 179);
+ label62.Name = "label62";
+ label62.Size = new Size(79, 20);
+ label62.TabIndex = 49;
+ label62.Text = "0.01kvarh";
+ //
+ // label63
+ //
+ label63.AutoSize = true;
+ label63.Location = new Point(925, 179);
+ label63.Name = "label63";
+ label63.Size = new Size(114, 20);
+ label63.TabIndex = 48;
+ label63.Text = "组合有功谷电能";
+ //
+ // label64
+ //
+ label64.AutoSize = true;
+ label64.Location = new Point(815, 179);
+ label64.Name = "label64";
+ label64.Size = new Size(79, 20);
+ label64.TabIndex = 47;
+ label64.Text = "0.01kvarh";
+ //
+ // label65
+ //
+ label65.AutoSize = true;
+ label65.Location = new Point(691, 179);
+ label65.Name = "label65";
+ label65.Size = new Size(118, 20);
+ label65.TabIndex = 46;
+ label65.Text = "组合有功平电能 ";
+ //
+ // label66
+ //
+ label66.AutoSize = true;
+ label66.Location = new Point(584, 179);
+ label66.Name = "label66";
+ label66.Size = new Size(79, 20);
+ label66.TabIndex = 45;
+ label66.Text = "0.01kvarh";
+ //
+ // label67
+ //
+ label67.AutoSize = true;
+ label67.Location = new Point(460, 179);
+ label67.Name = "label67";
+ label67.Size = new Size(118, 20);
+ label67.TabIndex = 44;
+ label67.Text = "组合有功峰电能 ";
+ //
+ // label68
+ //
+ label68.AutoSize = true;
+ label68.Location = new Point(355, 179);
+ label68.Name = "label68";
+ label68.Size = new Size(79, 20);
+ label68.TabIndex = 43;
+ label68.Text = "0.01kvarh";
+ //
+ // label69
+ //
+ label69.AutoSize = true;
+ label69.Location = new Point(227, 179);
+ label69.Name = "label69";
+ label69.Size = new Size(122, 20);
+ label69.TabIndex = 42;
+ label69.Text = "组合有功尖电能 ";
+ //
+ // label70
+ //
+ label70.AutoSize = true;
+ label70.Location = new Point(143, 179);
+ label70.Name = "label70";
+ label70.Size = new Size(79, 20);
+ label70.TabIndex = 41;
+ label70.Text = "0.01kvarh";
+ //
+ // label71
+ //
+ label71.AutoSize = true;
+ label71.Location = new Point(19, 179);
+ label71.Name = "label71";
+ label71.Size = new Size(127, 20);
+ label71.TabIndex = 40;
+ label71.Text = "组合无功2总电能 ";
+ //
+ // label52
+ //
+ label52.AutoSize = true;
+ label52.Location = new Point(1065, 149);
+ label52.Name = "label52";
+ label52.Size = new Size(79, 20);
+ label52.TabIndex = 39;
+ label52.Text = "0.01kvarh";
+ //
+ // label53
+ //
+ label53.AutoSize = true;
+ label53.Location = new Point(927, 149);
+ label53.Name = "label53";
+ label53.Size = new Size(127, 20);
+ label53.TabIndex = 38;
+ label53.Text = "组合无功1谷电能 ";
+ //
+ // label54
+ //
+ label54.AutoSize = true;
+ label54.Location = new Point(817, 149);
+ label54.Name = "label54";
+ label54.Size = new Size(79, 20);
+ label54.TabIndex = 37;
+ label54.Text = "0.01kvarh";
+ //
+ // label55
+ //
+ label55.AutoSize = true;
+ label55.Location = new Point(693, 149);
+ label55.Name = "label55";
+ label55.Size = new Size(127, 20);
+ label55.TabIndex = 36;
+ label55.Text = "组合无功1平电能 ";
+ //
+ // label56
+ //
+ label56.AutoSize = true;
+ label56.Location = new Point(586, 149);
+ label56.Name = "label56";
+ label56.Size = new Size(79, 20);
+ label56.TabIndex = 35;
+ label56.Text = "0.01kvarh";
+ //
+ // label57
+ //
+ label57.AutoSize = true;
+ label57.Location = new Point(462, 149);
+ label57.Name = "label57";
+ label57.Size = new Size(127, 20);
+ label57.TabIndex = 34;
+ label57.Text = "组合无功1峰电能 ";
+ //
+ // label58
+ //
+ label58.AutoSize = true;
+ label58.Location = new Point(357, 149);
+ label58.Name = "label58";
+ label58.Size = new Size(79, 20);
+ label58.TabIndex = 33;
+ label58.Text = "0.01kvarh";
+ //
+ // label59
+ //
+ label59.AutoSize = true;
+ label59.Location = new Point(229, 149);
+ label59.Name = "label59";
+ label59.Size = new Size(127, 20);
+ label59.TabIndex = 32;
+ label59.Text = "组合无功1尖电能 ";
+ //
+ // label60
+ //
+ label60.AutoSize = true;
+ label60.Location = new Point(145, 149);
+ label60.Name = "label60";
+ label60.Size = new Size(79, 20);
+ label60.TabIndex = 31;
+ label60.Text = "0.01kvarh";
+ //
+ // label61
+ //
+ label61.AutoSize = true;
+ label61.Location = new Point(21, 149);
+ label61.Name = "label61";
+ label61.Size = new Size(123, 20);
+ label61.TabIndex = 30;
+ label61.Text = "组合无功1总电能";
+ //
+ // label42
+ //
+ label42.AutoSize = true;
+ label42.Location = new Point(1063, 120);
+ label42.Name = "label42";
+ label42.Size = new Size(72, 20);
+ label42.TabIndex = 29;
+ label42.Text = "0.01kWh";
+ //
+ // label43
+ //
+ label43.AutoSize = true;
+ label43.Location = new Point(925, 120);
+ label43.Name = "label43";
+ label43.Size = new Size(114, 20);
+ label43.TabIndex = 28;
+ label43.Text = "正向有功谷电能";
+ //
+ // label44
+ //
+ label44.AutoSize = true;
+ label44.Location = new Point(815, 120);
+ label44.Name = "label44";
+ label44.Size = new Size(72, 20);
+ label44.TabIndex = 27;
+ label44.Text = "0.01kWh";
+ //
+ // label45
+ //
+ label45.AutoSize = true;
+ label45.Location = new Point(691, 120);
+ label45.Name = "label45";
+ label45.Size = new Size(118, 20);
+ label45.TabIndex = 26;
+ label45.Text = "正向有功平电能 ";
+ //
+ // label46
+ //
+ label46.AutoSize = true;
+ label46.Location = new Point(584, 120);
+ label46.Name = "label46";
+ label46.Size = new Size(72, 20);
+ label46.TabIndex = 25;
+ label46.Text = "0.01kWh";
+ //
+ // label47
+ //
+ label47.AutoSize = true;
+ label47.Location = new Point(460, 120);
+ label47.Name = "label47";
+ label47.Size = new Size(118, 20);
+ label47.TabIndex = 24;
+ label47.Text = "正向有功峰电能 ";
+ //
+ // label48
+ //
+ label48.AutoSize = true;
+ label48.Location = new Point(355, 120);
+ label48.Name = "label48";
+ label48.Size = new Size(80, 20);
+ label48.TabIndex = 23;
+ label48.Text = "0.01kWh ";
+ //
+ // label49
+ //
+ label49.AutoSize = true;
+ label49.Location = new Point(227, 120);
+ label49.Name = "label49";
+ label49.Size = new Size(122, 20);
+ label49.TabIndex = 22;
+ label49.Text = "正向有功尖电能 ";
+ //
+ // label50
+ //
+ label50.AutoSize = true;
+ label50.Location = new Point(143, 120);
+ label50.Name = "label50";
+ label50.Size = new Size(80, 20);
+ label50.TabIndex = 21;
+ label50.Text = "0.01kWh ";
+ //
+ // label51
+ //
+ label51.AutoSize = true;
+ label51.Location = new Point(19, 120);
+ label51.Name = "label51";
+ label51.Size = new Size(118, 20);
+ label51.TabIndex = 20;
+ label51.Text = "反向有功总电能 ";
+ //
+ // label32
+ //
+ label32.AutoSize = true;
+ label32.Location = new Point(1065, 81);
+ label32.Name = "label32";
+ label32.Size = new Size(72, 20);
+ label32.TabIndex = 19;
+ label32.Text = "0.01kWh";
+ //
+ // label33
+ //
+ label33.AutoSize = true;
+ label33.Location = new Point(927, 81);
+ label33.Name = "label33";
+ label33.Size = new Size(114, 20);
+ label33.TabIndex = 18;
+ label33.Text = "组合有功谷电能";
+ //
+ // label34
+ //
+ label34.AutoSize = true;
+ label34.Location = new Point(817, 81);
+ label34.Name = "label34";
+ label34.Size = new Size(72, 20);
+ label34.TabIndex = 17;
+ label34.Text = "0.01kWh";
+ //
+ // label35
+ //
+ label35.AutoSize = true;
+ label35.Location = new Point(693, 81);
+ label35.Name = "label35";
+ label35.Size = new Size(118, 20);
+ label35.TabIndex = 16;
+ label35.Text = "组合有功平电能 ";
+ //
+ // label36
+ //
+ label36.AutoSize = true;
+ label36.Location = new Point(586, 81);
+ label36.Name = "label36";
+ label36.Size = new Size(72, 20);
+ label36.TabIndex = 15;
+ label36.Text = "0.01kWh";
+ //
+ // label37
+ //
+ label37.AutoSize = true;
+ label37.Location = new Point(462, 81);
+ label37.Name = "label37";
+ label37.Size = new Size(118, 20);
+ label37.TabIndex = 14;
+ label37.Text = "组合有功峰电能 ";
+ //
+ // label38
+ //
+ label38.AutoSize = true;
+ label38.Location = new Point(357, 81);
+ label38.Name = "label38";
+ label38.Size = new Size(80, 20);
+ label38.TabIndex = 13;
+ label38.Text = "0.01kWh ";
+ //
+ // label39
+ //
+ label39.AutoSize = true;
+ label39.Location = new Point(229, 81);
+ label39.Name = "label39";
+ label39.Size = new Size(122, 20);
+ label39.TabIndex = 12;
+ label39.Text = "组合有功尖电能 ";
+ //
+ // label40
+ //
+ label40.AutoSize = true;
+ label40.Location = new Point(145, 81);
+ label40.Name = "label40";
+ label40.Size = new Size(80, 20);
+ label40.TabIndex = 11;
+ label40.Text = "0.01kWh ";
+ //
+ // label41
+ //
+ label41.AutoSize = true;
+ label41.Location = new Point(21, 81);
+ label41.Name = "label41";
+ label41.Size = new Size(118, 20);
+ label41.TabIndex = 10;
+ label41.Text = "正向有功总电能 ";
+ //
+ // label30
+ //
+ label30.AutoSize = true;
+ label30.Location = new Point(1065, 43);
+ label30.Name = "label30";
+ label30.Size = new Size(72, 20);
+ label30.TabIndex = 9;
+ label30.Text = "0.01kWh";
+ //
+ // label31
+ //
+ label31.AutoSize = true;
+ label31.Location = new Point(927, 43);
+ label31.Name = "label31";
+ label31.Size = new Size(114, 20);
+ label31.TabIndex = 8;
+ label31.Text = "组合有功谷电能";
+ //
+ // label28
+ //
+ label28.AutoSize = true;
+ label28.Location = new Point(817, 43);
+ label28.Name = "label28";
+ label28.Size = new Size(72, 20);
+ label28.TabIndex = 7;
+ label28.Text = "0.01kWh";
+ //
+ // label29
+ //
+ label29.AutoSize = true;
+ label29.Location = new Point(693, 43);
+ label29.Name = "label29";
+ label29.Size = new Size(118, 20);
+ label29.TabIndex = 6;
+ label29.Text = "组合有功平电能 ";
+ //
+ // label26
+ //
+ label26.AutoSize = true;
+ label26.Location = new Point(586, 43);
+ label26.Name = "label26";
+ label26.Size = new Size(72, 20);
+ label26.TabIndex = 5;
+ label26.Text = "0.01kWh";
+ //
+ // label27
+ //
+ label27.AutoSize = true;
+ label27.Location = new Point(462, 43);
+ label27.Name = "label27";
+ label27.Size = new Size(118, 20);
+ label27.TabIndex = 4;
+ label27.Text = "组合有功峰电能 ";
+ //
+ // label24
+ //
+ label24.AutoSize = true;
+ label24.Location = new Point(357, 43);
+ label24.Name = "label24";
+ label24.Size = new Size(80, 20);
+ label24.TabIndex = 3;
+ label24.Text = "0.01kWh ";
+ //
+ // label25
+ //
+ label25.AutoSize = true;
+ label25.Location = new Point(229, 43);
+ label25.Name = "label25";
+ label25.Size = new Size(122, 20);
+ label25.TabIndex = 2;
+ label25.Text = "组合有功尖电能 ";
+ //
+ // label23
+ //
+ label23.AutoSize = true;
+ label23.Location = new Point(145, 43);
+ label23.Name = "label23";
+ label23.Size = new Size(80, 20);
+ label23.TabIndex = 1;
+ label23.Text = "0.01kWh ";
+ //
+ // label19
+ //
+ label19.AutoSize = true;
+ label19.Location = new Point(21, 43);
+ label19.Name = "label19";
+ label19.Size = new Size(118, 20);
+ label19.TabIndex = 0;
+ label19.Text = "组合有功总电能 ";
+ //
+ // BtnToggle
+ //
+ BtnToggle.Location = new Point(1023, 508);
+ BtnToggle.Name = "BtnToggle";
+ BtnToggle.Size = new Size(114, 29);
+ BtnToggle.TabIndex = 150;
+ BtnToggle.Text = "数据显示切换";
+ BtnToggle.UseVisualStyleBackColor = true;
+ BtnToggle.Click += BtnToggle_Click;
+ //
+ // label172
+ //
+ label172.AutoSize = true;
+ label172.Location = new Point(1022, 419);
+ label172.Name = "label172";
+ label172.Size = new Size(69, 20);
+ label172.TabIndex = 151;
+ label172.Text = "0.0001A";
+ //
+ // label173
+ //
+ label173.AutoSize = true;
+ label173.Location = new Point(938, 419);
+ label173.Name = "label173";
+ label173.Size = new Size(64, 20);
+ label173.TabIndex = 150;
+ label173.Text = "C相电流";
+ //
+ // label142
+ //
+ label142.AutoSize = true;
+ label142.Location = new Point(817, 581);
+ label142.Name = "label142";
+ label142.Size = new Size(59, 20);
+ label142.TabIndex = 159;
+ label142.Text = "0.01Hz";
+ //
+ // label143
+ //
+ label143.AutoSize = true;
+ label143.Location = new Point(693, 581);
+ label143.Name = "label143";
+ label143.Size = new Size(69, 20);
+ label143.TabIndex = 158;
+ label143.Text = "电网频率";
+ //
+ // label152
+ //
+ label152.AutoSize = true;
+ label152.Location = new Point(586, 581);
+ label152.Name = "label152";
+ label152.Size = new Size(46, 20);
+ label152.TabIndex = 157;
+ label152.Text = "0.01°";
+ //
+ // label153
+ //
+ label153.AutoSize = true;
+ label153.Location = new Point(462, 581);
+ label153.Name = "label153";
+ label153.Size = new Size(69, 20);
+ label153.TabIndex = 156;
+ label153.Text = "A 相相角";
+ //
+ // label162
+ //
+ label162.AutoSize = true;
+ label162.Location = new Point(357, 581);
+ label162.Name = "label162";
+ label162.Size = new Size(46, 20);
+ label162.TabIndex = 155;
+ label162.Text = "0.01°";
+ //
+ // label163
+ //
+ label163.AutoSize = true;
+ label163.Location = new Point(229, 581);
+ label163.Name = "label163";
+ label163.Size = new Size(69, 20);
+ label163.TabIndex = 154;
+ label163.Text = "A 相相角";
+ //
+ // label174
+ //
+ label174.AutoSize = true;
+ label174.Location = new Point(145, 581);
+ label174.Name = "label174";
+ label174.Size = new Size(46, 20);
+ label174.TabIndex = 153;
+ label174.Text = "0.01°";
+ //
+ // label175
+ //
+ label175.AutoSize = true;
+ label175.Location = new Point(21, 581);
+ label175.Name = "label175";
+ label175.Size = new Size(69, 20);
+ label175.TabIndex = 152;
+ label175.Text = "A 相相角";
+ //
+ // label176
+ //
+ label176.AutoSize = true;
+ label176.Location = new Point(1061, 615);
+ label176.Name = "label176";
+ label176.Size = new Size(68, 20);
+ label176.TabIndex = 169;
+ label176.Text = "0.0001V";
+ //
+ // label177
+ //
+ label177.AutoSize = true;
+ label177.Location = new Point(923, 615);
+ label177.Name = "label177";
+ label177.Size = new Size(114, 20);
+ label177.TabIndex = 168;
+ label177.Text = "三相平均相电压";
+ //
+ // label178
+ //
+ label178.AutoSize = true;
+ label178.Location = new Point(813, 615);
+ label178.Name = "label178";
+ label178.Size = new Size(68, 20);
+ label178.TabIndex = 167;
+ label178.Text = "0.0001V";
+ //
+ // label179
+ //
+ label179.AutoSize = true;
+ label179.Location = new Point(689, 615);
+ label179.Name = "label179";
+ label179.Size = new Size(122, 20);
+ label179.TabIndex = 166;
+ label179.Text = "三相平均线电压 ";
+ //
+ // label180
+ //
+ label180.AutoSize = true;
+ label180.Location = new Point(582, 615);
+ label180.Name = "label180";
+ label180.Size = new Size(68, 20);
+ label180.TabIndex = 165;
+ label180.Text = "0.0001V";
+ //
+ // label181
+ //
+ label181.AutoSize = true;
+ label181.Location = new Point(458, 615);
+ label181.Name = "label181";
+ label181.Size = new Size(84, 20);
+ label181.TabIndex = 164;
+ label181.Text = "A 相线电压";
+ //
+ // label182
+ //
+ label182.AutoSize = true;
+ label182.Location = new Point(353, 615);
+ label182.Name = "label182";
+ label182.Size = new Size(68, 20);
+ label182.TabIndex = 163;
+ label182.Text = "0.0001V";
+ //
+ // label183
+ //
+ label183.AutoSize = true;
+ label183.Location = new Point(225, 615);
+ label183.Name = "label183";
+ label183.Size = new Size(84, 20);
+ label183.TabIndex = 162;
+ label183.Text = "A 相线电压";
+ //
+ // label184
+ //
+ label184.AutoSize = true;
+ label184.Location = new Point(141, 615);
+ label184.Name = "label184";
+ label184.Size = new Size(68, 20);
+ label184.TabIndex = 161;
+ label184.Text = "0.0001V";
+ //
+ // label185
+ //
+ label185.AutoSize = true;
+ label185.Location = new Point(17, 615);
+ label185.Name = "label185";
+ label185.Size = new Size(84, 20);
+ label185.TabIndex = 160;
+ label185.Text = "A 相线电压";
+ //
+ // label186
+ //
+ label186.AutoSize = true;
+ label186.Location = new Point(815, 545);
+ label186.Name = "label186";
+ label186.Size = new Size(49, 20);
+ label186.TabIndex = 177;
+ label186.Text = "0.001";
+ //
+ // label187
+ //
+ label187.AutoSize = true;
+ label187.Location = new Point(691, 545);
+ label187.Name = "label187";
+ label187.Size = new Size(95, 20);
+ label187.TabIndex = 176;
+ label187.Text = "A相功率因数";
+ //
+ // label188
+ //
+ label188.AutoSize = true;
+ label188.Location = new Point(584, 545);
+ label188.Name = "label188";
+ label188.Size = new Size(49, 20);
+ label188.TabIndex = 175;
+ label188.Text = "0.001";
+ //
+ // label189
+ //
+ label189.AutoSize = true;
+ label189.Location = new Point(460, 545);
+ label189.Name = "label189";
+ label189.Size = new Size(95, 20);
+ label189.TabIndex = 174;
+ label189.Text = "A相功率因数";
+ //
+ // label190
+ //
+ label190.AutoSize = true;
+ label190.Location = new Point(355, 545);
+ label190.Name = "label190";
+ label190.Size = new Size(49, 20);
+ label190.TabIndex = 173;
+ label190.Text = "0.001";
+ //
+ // label191
+ //
+ label191.AutoSize = true;
+ label191.Location = new Point(227, 545);
+ label191.Name = "label191";
+ label191.Size = new Size(95, 20);
+ label191.TabIndex = 172;
+ label191.Text = "A相功率因数";
+ //
+ // label192
+ //
+ label192.AutoSize = true;
+ label192.Location = new Point(143, 545);
+ label192.Name = "label192";
+ label192.Size = new Size(49, 20);
+ label192.TabIndex = 171;
+ label192.Text = "0.001";
+ //
+ // label193
+ //
+ label193.AutoSize = true;
+ label193.Location = new Point(19, 545);
+ label193.Name = "label193";
+ label193.Size = new Size(88, 20);
+ label193.TabIndex = 170;
+ label193.Text = "总功率因数 ";
+ //
+ // FrmPLCConnect
+ //
+ AutoScaleDimensions = new SizeF(9F, 20F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(1195, 1023);
+ Controls.Add(groupBox3);
+ Controls.Add(groupBox2);
+ Controls.Add(groupBox1);
+ Name = "FrmPLCConnect";
+ Text = "FrmPLCConnect";
+ groupBox1.ResumeLayout(false);
+ groupBox1.PerformLayout();
+ groupBox2.ResumeLayout(false);
+ groupBox2.PerformLayout();
+ groupBox3.ResumeLayout(false);
+ groupBox3.PerformLayout();
+ ResumeLayout(false);
+ }
+
+ #endregion
+ private Button button18;
+ private TextBox textBox20;
+ private Label label18;
+ private Button button17;
+ private TextBox textBox19;
+ private Label label17;
+ private Button button16;
+ private TextBox textBox18;
+ private Label label16;
+ private Button button15;
+ private TextBox textBox17;
+ private Label label15;
+ private GroupBox groupBox1;
+ private Button BtnCollectionAssignment;
+ private Label label22;
+ private Label label21;
+ private Label label20;
+ private TextBox TxtSite;
+ private Label LblConState;
+ private Button BtnConnect;
+ private TextBox TxtPort;
+ private TextBox TxtIp;
+ private Button button14;
+ private TextBox textBox14;
+ private Label label14;
+ private Button button13;
+ private TextBox textBox13;
+ private Label label13;
+ private Button button12;
+ private TextBox textBox12;
+ private Label label12;
+ private Button button11;
+ private TextBox textBox11;
+ private Label label11;
+ private Button button10;
+ private TextBox textBox10;
+ private Label label10;
+ private Button button9;
+ private TextBox textBox9;
+ private Label label9;
+ private Button button8;
+ private TextBox textBox8;
+ private Label label8;
+ private Button button7;
+ private TextBox textBox7;
+ private Label label7;
+ private Button button6;
+ private TextBox textBox6;
+ private Label label6;
+ private Button button5;
+ private TextBox textBox5;
+ private Label label5;
+ private Button button4;
+ private TextBox textBox4;
+ private Label label4;
+ private Button button3;
+ private TextBox textBox3;
+ private Label label3;
+ private Button button2;
+ private TextBox textBox2;
+ private Label label2;
+ private Button button1;
+ private TextBox textBox1;
+ private Label label1;
+ private GroupBox groupBox2;
+ private GroupBox groupBox3;
+ private Label label164;
+ private Label label165;
+ private Label label166;
+ private Label label167;
+ private Label label168;
+ private Label label169;
+ private Label label170;
+ private Label label171;
+ private Label label154;
+ private Label label155;
+ private Label label156;
+ private Label label157;
+ private Label label158;
+ private Label label159;
+ private Label label160;
+ private Label label161;
+ private Label label144;
+ private Label label145;
+ private Label label146;
+ private Label label147;
+ private Label label148;
+ private Label label149;
+ private Label label150;
+ private Label label151;
+ private Label label132;
+ private Label label133;
+ private Label label134;
+ private Label label135;
+ private Label label136;
+ private Label label137;
+ private Label label138;
+ private Label label139;
+ private Label label140;
+ private Label label141;
+ private Label label122;
+ private Label label123;
+ private Label label124;
+ private Label label125;
+ private Label label126;
+ private Label label127;
+ private Label label128;
+ private Label label129;
+ private Label label130;
+ private Label label131;
+ private Label label112;
+ private Label label113;
+ private Label label114;
+ private Label label115;
+ private Label label116;
+ private Label label117;
+ private Label label118;
+ private Label label119;
+ private Label label120;
+ private Label label121;
+ private Label label102;
+ private Label label103;
+ private Label label104;
+ private Label label105;
+ private Label label106;
+ private Label label107;
+ private Label label108;
+ private Label label109;
+ private Label label110;
+ private Label label111;
+ private Label label92;
+ private Label label93;
+ private Label label94;
+ private Label label95;
+ private Label label96;
+ private Label label97;
+ private Label label98;
+ private Label label99;
+ private Label label100;
+ private Label label101;
+ private Label label82;
+ private Label label83;
+ private Label label84;
+ private Label label85;
+ private Label label86;
+ private Label label87;
+ private Label label88;
+ private Label label89;
+ private Label label90;
+ private Label label91;
+ private Label label72;
+ private Label label73;
+ private Label label74;
+ private Label label75;
+ private Label label76;
+ private Label label77;
+ private Label label78;
+ private Label label79;
+ private Label label80;
+ private Label label81;
+ private Label label62;
+ private Label label63;
+ private Label label64;
+ private Label label65;
+ private Label label66;
+ private Label label67;
+ private Label label68;
+ private Label label69;
+ private Label label70;
+ private Label label71;
+ private Label label52;
+ private Label label53;
+ private Label label54;
+ private Label label55;
+ private Label label56;
+ private Label label57;
+ private Label label58;
+ private Label label59;
+ private Label label60;
+ private Label label61;
+ private Label label42;
+ private Label label43;
+ private Label label44;
+ private Label label45;
+ private Label label46;
+ private Label label47;
+ private Label label48;
+ private Label label49;
+ private Label label50;
+ private Label label51;
+ private Label label32;
+ private Label label33;
+ private Label label34;
+ private Label label35;
+ private Label label36;
+ private Label label37;
+ private Label label38;
+ private Label label39;
+ private Label label40;
+ private Label label41;
+ private Label label30;
+ private Label label31;
+ private Label label28;
+ private Label label29;
+ private Label label26;
+ private Label label27;
+ private Label label24;
+ private Label label25;
+ private Label label23;
+ private Label label19;
+ private Button BtnToggle;
+ private Label label186;
+ private Label label187;
+ private Label label188;
+ private Label label189;
+ private Label label190;
+ private Label label191;
+ private Label label192;
+ private Label label193;
+ private Label label176;
+ private Label label177;
+ private Label label178;
+ private Label label179;
+ private Label label180;
+ private Label label181;
+ private Label label182;
+ private Label label183;
+ private Label label184;
+ private Label label185;
+ private Label label142;
+ private Label label143;
+ private Label label152;
+ private Label label153;
+ private Label label162;
+ private Label label163;
+ private Label label174;
+ private Label label175;
+ private Label label172;
+ private Label label173;
+ }
+}
\ No newline at end of file
diff --git a/WinFormStarter/FrmPLCConnect.cs b/WinFormStarter/FrmPLCConnect.cs
new file mode 100644
index 0000000..6c327e0
--- /dev/null
+++ b/WinFormStarter/FrmPLCConnect.cs
@@ -0,0 +1,291 @@
+using HslCommunication;
+using HslCommunication.Core.Address;
+using HslCommunication.ModBus;
+using HybirdFrameworkCore.Utils;
+using HybirdFrameworkServices.Plc;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Reflection;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using static System.Windows.Forms.VisualStyles.VisualStyleElement.Button;
+
+namespace WinFormStarter
+{
+ public partial class FrmPLCConnect : Form
+ {
+ #region 连接参数
+ ///
+ /// ModbusTcp客户端
+ ///
+ public static ModbusTcpNet _client = null;
+ public string _ipaddr
+ {
+ get
+ {
+ return TxtIp.Text;
+ }
+ set { }
+ }
+ public int _port
+ {
+ get
+ {
+ return Convert.ToInt32(TxtPort.Text);
+ }
+ set { }
+ }
+ public byte _site
+ {
+ get
+ {
+ return Convert.ToByte(TxtSite.Text);
+ }
+ set { }
+ }
+ #endregion
+
+ PlcReadAndWritten PlcReadAndWritten;
+ PlcReadonly PlcReadonly;
+ PlcTurnsRatio PlcTurnsRatio;
+
+ public FrmPLCConnect()
+ {
+ InitializeComponent();
+ }
+
+ private void BtnConnect_Click(object sender, EventArgs e)
+ {
+ //简单判断
+ if (string.IsNullOrEmpty(_ipaddr))
+ {
+ MessageBox.Show("IP地址不能为空");
+ return;
+ }
+ if (string.IsNullOrEmpty(TxtPort.Text))
+ {
+ MessageBox.Show("端口号不能为空");
+ return;
+ }
+ if (string.IsNullOrEmpty(TxtSite.Text))
+ {
+ MessageBox.Show("站号不能为空");
+ return;
+ }
+ _client = new ModbusTcpNet(_ipaddr, _port, _site);
+ OperateResult OptRet = _client.ConnectServer();
+ if (OptRet.IsSuccess)
+ {
+ LblConState.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "连接成功";
+ BtnCollectionAssignment.Enabled = true;
+ //OperateResult writeResult = _client.Write("x=6;1", "");
+ }
+ if (OptRet.IsSuccess)
+ {
+ LblConState.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "连接失败";
+ }
+ }
+
+ private void BtnCollectionAssignment_Click(object sender, EventArgs e)
+ {
+ OperateResult read1 = _client.Read("x=3;100", 164);
+ OperateResult read2 = _client.Read("x=3;39424", 110);
+ OperateResult read3 = _client.Read("x=3;40960", 18);
+
+ PlcReadAndWritten = ModelConvert.Decode(read1.Content);
+ PlcReadonly = ModelConvert.Decode(read1.Content);
+ PlcTurnsRatio = ModelConvert.Decode(read1.Content);
+
+ textBox1.Text = PlcReadAndWritten.ProgrammingEnable.ToString();
+ textBox2.Text = PlcReadAndWritten.Modbus1Addres.ToString();
+ textBox3.Text = PlcReadAndWritten.BaudRate.ToString();
+ textBox4.Text = PlcReadAndWritten.CheckBit.ToString();
+ textBox5.Text = PlcReadAndWritten.Seconds.ToString();
+ textBox6.Text = PlcReadAndWritten.Points.ToString();
+ textBox7.Text = PlcReadAndWritten.When.ToString();
+ textBox8.Text = PlcReadAndWritten.Weeks.ToString();
+ textBox9.Text = PlcReadAndWritten.Day.ToString();
+ textBox10.Text = PlcReadAndWritten.Month.ToString();
+ textBox11.Text = PlcReadAndWritten.Years.ToString();
+ textBox12.Text = PlcReadAndWritten.Modbus1Addres2.ToString();
+ textBox13.Text = PlcReadAndWritten.Reserve.ToString();
+ textBox14.Text = PlcReadAndWritten.VoltageRatio.ToString();
+ textBox17.Text = PlcReadAndWritten.CurrentRatio.ToString();
+ textBox18.Text = PlcReadAndWritten.PulsePerSecond.ToString();
+ textBox19.Text = PlcReadAndWritten.CurrentReversal.ToString();
+ textBox20.Text = PlcReadAndWritten.MeterReset.ToString();
+ }
+
+ bool now;
+ private void BtnToggle_Click(object sender, EventArgs e)
+ {
+ now = !now;
+ if (now)
+ {
+
+ #region
+ label31.Text = PlcReadonly.GroupHaveAll.ToString();
+ label29.Text = PlcReadonly.GroupHaveTip.ToString();
+ label27.Text = PlcReadonly.GroupHavePeak.ToString();
+ label25.Text = PlcReadonly.GroupHaveFlat.ToString();
+ label19.Text = PlcReadonly.GroupHaveValley.ToString();
+ label40.Text = PlcReadonly.ForwardHaveAll.ToString();
+ label38.Text = PlcReadonly.ForwardHaveTip.ToString();
+ label36.Text = PlcReadonly.ForwardHavePeak.ToString();
+ label34.Text = PlcReadonly.ForwardHaveFlat.ToString();
+ label32.Text = PlcReadonly.ForwardHaveValley.ToString();
+ label50.Text = PlcReadonly.ReverseHaveAll.ToString();
+ label48.Text = PlcReadonly.ReverseHaveTip.ToString();
+ label46.Text = PlcReadonly.ReverseHavePeak.ToString();
+ label44.Text = PlcReadonly.ReverseHaveFlat.ToString();
+ label42.Text = PlcReadonly.ReverseHaveValley.ToString();
+ label60.Text = PlcReadonly.GroupNoAll1.ToString();
+ label58.Text = PlcReadonly.GroupNoTip1.ToString();
+ label56.Text = PlcReadonly.GroupNoPeak1.ToString();
+ label54.Text = PlcReadonly.GroupNoFlat1.ToString();
+ label52.Text = PlcReadonly.GroupNoValley1.ToString();
+ label70.Text = PlcReadonly.GroupNoAll2.ToString();
+ label68.Text = PlcReadonly.GroupNoTip2.ToString();
+ label66.Text = PlcReadonly.GroupNoPeak2.ToString();
+ label64.Text = PlcReadonly.GroupNoFlat2.ToString();
+ label62.Text = PlcReadonly.GroupNoValley2.ToString();
+ label80.Text = PlcReadonly.QuadrantNoAll1.ToString();
+ label78.Text = PlcReadonly.QuadrantNoTip1.ToString();
+ label76.Text = PlcReadonly.QuadrantNoPeak1.ToString();
+ label74.Text = PlcReadonly.QuadrantNoFlat1.ToString();
+ label72.Text = PlcReadonly.QuadrantNoValley1.ToString();
+ label90.Text = PlcReadonly.QuadrantNoAll2.ToString();
+ label88.Text = PlcReadonly.QuadrantNoTip2.ToString();
+ label86.Text = PlcReadonly.QuadrantNoPeak2.ToString();
+ label84.Text = PlcReadonly.QuadrantNoFlat2.ToString();
+ label82.Text = PlcReadonly.QuadrantNoValley2.ToString();
+ label100.Text = PlcReadonly.QuadrantNoAll3.ToString();
+ label98.Text = PlcReadonly.QuadrantNoTip3.ToString();
+ label96.Text = PlcReadonly.QuadrantNoPeak3.ToString();
+ label94.Text = PlcReadonly.QuadrantNoFlat3.ToString();
+ label92.Text = PlcReadonly.QuadrantNoValley3.ToString();
+ label110.Text = PlcReadonly.QuadrantNoAll4.ToString();
+ label108.Text = PlcReadonly.QuadrantNoTip4.ToString();
+ label106.Text = PlcReadonly.QuadrantNoPeak4.ToString();
+ label104.Text = PlcReadonly.QuadrantNoFlat4.ToString();
+ label102.Text = PlcReadonly.QuadrantNoValley4.ToString();
+ label120.Text = PlcReadonly.ForwardHaveApparentAll.ToString();
+ label118.Text = PlcReadonly.ForwardHaveApparentTip.ToString();
+ label116.Text = PlcReadonly.ForwardHaveApparentPeak.ToString();
+ label114.Text = PlcReadonly.ForwardHaveApparentFlat.ToString();
+ label112.Text = PlcReadonly.ForwardHaveApparentValley.ToString();
+ label130.Text = PlcReadonly.ReverseHaveApparentAll.ToString();
+ label128.Text = PlcReadonly.ReverseHaveApparentTip.ToString();
+ label126.Text = PlcReadonly.ReverseHaveApparentPeak.ToString();
+ label124.Text = PlcReadonly.ReverseHaveApparentFlat.ToString();
+ label122.Text = PlcReadonly.ReverseHaveApparentValley.ToString();
+
+
+ label140.Text = PlcReadonly.PhaseVoltageA.ToString();
+ label138.Text = PlcReadonly.PhaseVoltageB.ToString();
+ label136.Text = PlcReadonly.PhaseVoltageC.ToString();
+ label134.Text = PlcReadonly.PhaseElectricityA.ToString();
+ label132.Text = PlcReadonly.PhaseElectricityB.ToString();
+ label172.Text = PlcReadonly.PhaseElectricityC.ToString();
+
+ label150.Text = PlcReadonly.TotalActivePower.ToString();
+ label148.Text = PlcReadonly.TotalActivePowerA.ToString();
+ label146.Text = PlcReadonly.TotalActivePowerB.ToString();
+ label144.Text = PlcReadonly.TotalActivePowerC.ToString();
+
+ label160.Text = PlcReadonly.TotalReactivePower.ToString();
+ label158.Text = PlcReadonly.TotalReactivePowerA.ToString();
+ label156.Text = PlcReadonly.TotalReactivePowerB.ToString();
+ label144.Text = PlcReadonly.TotalReactivePowerC.ToString();
+
+ label170.Text = PlcReadonly.TotalApparentPower.ToString();
+ label168.Text = PlcReadonly.TotalApparentPowerA.ToString();
+ label166.Text = PlcReadonly.TotalApparentPowerB.ToString();
+ label164.Text = PlcReadonly.TotalApparentPowerC.ToString();
+
+ label192.Text = PlcReadonly.OverallPowerFactor.ToString();
+ label190.Text = PlcReadonly.OverallPowerFactorA.ToString();
+ label188.Text = PlcReadonly.OverallPowerFactorB.ToString();
+ label184.Text = PlcReadonly.OverallPowerFactorC.ToString();
+
+ label174.Text = PlcReadonly.PhaseAngleA.ToString();
+ label162.Text = PlcReadonly.PhaseAngleB.ToString();
+ label152.Text = PlcReadonly.PhaseAngleC.ToString();
+ label142.Text = PlcReadonly.LineFrequency.ToString();
+
+ label184.Text = PlcReadonly.PhaseLineVoltageA.ToString();
+ label182.Text = PlcReadonly.PhaseLineVoltageB.ToString();
+ label180.Text = PlcReadonly.PhaseLineVoltageC.ToString();
+ label178.Text = PlcReadonly.ThreePhaseMeanLineVoltage.ToString();
+ label176.Text = PlcReadonly.ThreePhaseMeanPhaseVoltage.ToString();
+
+ #endregion
+ }
+ if (now)
+ {
+ #region
+ label31.Text = PlcTurnsRatio.GroupHaveAll.ToString();
+ label29.Text = PlcTurnsRatio.GroupHaveTip.ToString();
+ label27.Text = PlcTurnsRatio.GroupHavePeak.ToString();
+ label25.Text = PlcTurnsRatio.GroupHaveFlat.ToString();
+ label19.Text = PlcTurnsRatio.GroupHaveValley.ToString();
+ label40.Text = PlcTurnsRatio.ForwardHaveAll.ToString();
+ label38.Text = PlcTurnsRatio.ForwardHaveTip.ToString();
+ label36.Text = PlcTurnsRatio.ForwardHavePeak.ToString();
+ label34.Text = PlcTurnsRatio.ForwardHaveFlat.ToString();
+ label32.Text = PlcTurnsRatio.ForwardHaveValley.ToString();
+ label50.Text = PlcTurnsRatio.ReverseHaveAll.ToString();
+ label48.Text = PlcTurnsRatio.ReverseHaveTip.ToString();
+ label46.Text = PlcTurnsRatio.ReverseHavePeak.ToString();
+ label44.Text = PlcTurnsRatio.ReverseHaveFlat.ToString();
+ label42.Text = PlcTurnsRatio.ReverseHaveValley.ToString();
+ label60.Text = PlcTurnsRatio.GroupNoAll1.ToString();
+ label58.Text = PlcTurnsRatio.GroupNoTip1.ToString();
+ label56.Text = PlcTurnsRatio.GroupNoPeak1.ToString();
+ label54.Text = PlcTurnsRatio.GroupNoFlat1.ToString();
+ label52.Text = PlcTurnsRatio.GroupNoValley1.ToString();
+ label70.Text = PlcTurnsRatio.GroupNoAll2.ToString();
+ label68.Text = PlcTurnsRatio.GroupNoTip2.ToString();
+ label66.Text = PlcTurnsRatio.GroupNoPeak2.ToString();
+ label64.Text = PlcTurnsRatio.GroupNoFlat2.ToString();
+ label62.Text = PlcTurnsRatio.GroupNoValley2.ToString();
+ label80.Text = PlcTurnsRatio.QuadrantNoAll1.ToString();
+ label78.Text = PlcTurnsRatio.QuadrantNoTip1.ToString();
+ label76.Text = PlcTurnsRatio.QuadrantNoPeak1.ToString();
+ label74.Text = PlcTurnsRatio.QuadrantNoFlat1.ToString();
+ label72.Text = PlcTurnsRatio.QuadrantNoValley1.ToString();
+ label90.Text = PlcTurnsRatio.QuadrantNoAll2.ToString();
+ label88.Text = PlcTurnsRatio.QuadrantNoTip2.ToString();
+ label86.Text = PlcTurnsRatio.QuadrantNoPeak2.ToString();
+ label84.Text = PlcTurnsRatio.QuadrantNoFlat2.ToString();
+ label82.Text = PlcTurnsRatio.QuadrantNoValley2.ToString();
+ label100.Text = PlcTurnsRatio.QuadrantNoAll3.ToString();
+ label98.Text = PlcTurnsRatio.QuadrantNoTip3.ToString();
+ label96.Text = PlcTurnsRatio.QuadrantNoPeak3.ToString();
+ label94.Text = PlcTurnsRatio.QuadrantNoFlat3.ToString();
+ label92.Text = PlcTurnsRatio.QuadrantNoValley3.ToString();
+ label110.Text = PlcTurnsRatio.QuadrantNoAll4.ToString();
+ label108.Text = PlcTurnsRatio.QuadrantNoTip4.ToString();
+ label106.Text = PlcTurnsRatio.QuadrantNoPeak4.ToString();
+ label104.Text = PlcTurnsRatio.QuadrantNoFlat4.ToString();
+ label102.Text = PlcTurnsRatio.QuadrantNoValley4.ToString();
+ label120.Text = PlcTurnsRatio.ForwardHaveApparentAll.ToString();
+ label118.Text = PlcTurnsRatio.ForwardHaveApparentTip.ToString();
+ label116.Text = PlcTurnsRatio.ForwardHaveApparentPeak.ToString();
+ label114.Text = PlcTurnsRatio.ForwardHaveApparentFlat.ToString();
+ label112.Text = PlcTurnsRatio.ForwardHaveApparentValley.ToString();
+ label130.Text = PlcTurnsRatio.ReverseHaveApparentAll.ToString();
+ label128.Text = PlcTurnsRatio.ReverseHaveApparentTip.ToString();
+ label126.Text = PlcTurnsRatio.ReverseHaveApparentPeak.ToString();
+ label124.Text = PlcTurnsRatio.ReverseHaveApparentFlat.ToString();
+ label122.Text = PlcTurnsRatio.ReverseHaveApparentValley.ToString();
+ #endregion
+ }
+ }
+ }
+}
diff --git a/WinFormStarter/FrmPLCConnect.resx b/WinFormStarter/FrmPLCConnect.resx
new file mode 100644
index 0000000..f298a7b
--- /dev/null
+++ b/WinFormStarter/FrmPLCConnect.resx
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WinFormStarter/WinFormStarter.csproj b/WinFormStarter/WinFormStarter.csproj
index 1cfba00..f234456 100644
--- a/WinFormStarter/WinFormStarter.csproj
+++ b/WinFormStarter/WinFormStarter.csproj
@@ -22,6 +22,12 @@
+
+
+ ..\HybirdFrameworkServices\bin\Debug\net6.0\HybirdFrameworkServices.dll
+
+
+
true
diff --git a/WinFormStarter/WinFormStarter.csproj.user b/WinFormStarter/WinFormStarter.csproj.user
index b5309f2..af3b79d 100644
--- a/WinFormStarter/WinFormStarter.csproj.user
+++ b/WinFormStarter/WinFormStarter.csproj.user
@@ -1,5 +1,9 @@
-
+
+
+ Form
+
+
\ No newline at end of file
diff --git a/WinFormStarter/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.Abstractions.dll b/WinFormStarter/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.Abstractions.dll
index 2c87f79..bb27a2f 100644
Binary files a/WinFormStarter/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.Abstractions.dll and b/WinFormStarter/bin/Debug/net6.0-windows/Microsoft.Extensions.Logging.Abstractions.dll differ
diff --git a/WinFormStarter/obj/Debug/net6.0-windows/WinFormStarter.designer.deps.json b/WinFormStarter/obj/Debug/net6.0-windows/WinFormStarter.designer.deps.json
index 44914b5..2653014 100644
--- a/WinFormStarter/obj/Debug/net6.0-windows/WinFormStarter.designer.deps.json
+++ b/WinFormStarter/obj/Debug/net6.0-windows/WinFormStarter.designer.deps.json
@@ -107,6 +107,18 @@
}
}
},
+ "HslCommunication/11.1.1": {
+ "dependencies": {
+ "Newtonsoft.Json": "13.0.3",
+ "System.IO.Ports": "4.7.0"
+ },
+ "runtime": {
+ "lib/netstandard2.1/HslCommunication.dll": {
+ "assemblyVersion": "11.1.1.0",
+ "fileVersion": "11.1.1.0"
+ }
+ }
+ },
"log4net/2.0.15": {
"dependencies": {
"System.Configuration.ConfigurationManager": "6.0.0"
@@ -302,7 +314,7 @@
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "5.0.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
- "Microsoft.Extensions.Logging.Abstractions": "5.0.0",
+ "Microsoft.Extensions.Logging.Abstractions": "6.0.0",
"Microsoft.Extensions.Options": "5.0.0"
},
"runtime": {
@@ -312,11 +324,11 @@
}
}
},
- "Microsoft.Extensions.Logging.Abstractions/5.0.0": {
+ "Microsoft.Extensions.Logging.Abstractions/6.0.0": {
"runtime": {
- "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": {
- "assemblyVersion": "5.0.0.0",
- "fileVersion": "5.0.20.51904"
+ "lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll": {
+ "assemblyVersion": "6.0.0.0",
+ "fileVersion": "6.0.21.52210"
}
}
},
@@ -491,6 +503,61 @@
}
}
},
+ "Pipelines.Sockets.Unofficial/2.2.8": {
+ "dependencies": {
+ "System.IO.Pipelines": "5.0.1"
+ },
+ "runtime": {
+ "lib/net5.0/Pipelines.Sockets.Unofficial.dll": {
+ "assemblyVersion": "1.0.0.0",
+ "fileVersion": "2.2.8.1080"
+ }
+ }
+ },
+ "runtime.linux-arm.runtime.native.System.IO.Ports/4.7.0": {
+ "runtimeTargets": {
+ "runtimes/linux-arm/native/System.IO.Ports.Native.so": {
+ "rid": "linux-arm",
+ "assetType": "native",
+ "fileVersion": "0.0.0.0"
+ }
+ }
+ },
+ "runtime.linux-arm64.runtime.native.System.IO.Ports/4.7.0": {
+ "runtimeTargets": {
+ "runtimes/linux-arm64/native/System.IO.Ports.Native.so": {
+ "rid": "linux-arm64",
+ "assetType": "native",
+ "fileVersion": "0.0.0.0"
+ }
+ }
+ },
+ "runtime.linux-x64.runtime.native.System.IO.Ports/4.7.0": {
+ "runtimeTargets": {
+ "runtimes/linux-x64/native/System.IO.Ports.Native.so": {
+ "rid": "linux-x64",
+ "assetType": "native",
+ "fileVersion": "0.0.0.0"
+ }
+ }
+ },
+ "runtime.native.System.IO.Ports/4.7.0": {
+ "dependencies": {
+ "runtime.linux-arm.runtime.native.System.IO.Ports": "4.7.0",
+ "runtime.linux-arm64.runtime.native.System.IO.Ports": "4.7.0",
+ "runtime.linux-x64.runtime.native.System.IO.Ports": "4.7.0",
+ "runtime.osx-x64.runtime.native.System.IO.Ports": "4.7.0"
+ }
+ },
+ "runtime.osx-x64.runtime.native.System.IO.Ports/4.7.0": {
+ "runtimeTargets": {
+ "runtimes/osx-x64/native/System.IO.Ports.Native.dylib": {
+ "rid": "osx-x64",
+ "assetType": "native",
+ "fileVersion": "0.0.0.0"
+ }
+ }
+ },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.4": {
"dependencies": {
"SQLitePCLRaw.lib.e_sqlite3": "2.1.4",
@@ -695,6 +762,18 @@
}
}
},
+ "StackExchange.Redis/2.7.33": {
+ "dependencies": {
+ "Microsoft.Extensions.Logging.Abstractions": "6.0.0",
+ "Pipelines.Sockets.Unofficial": "2.2.8"
+ },
+ "runtime": {
+ "lib/net6.0/StackExchange.Redis.dll": {
+ "assemblyVersion": "2.0.0.0",
+ "fileVersion": "2.7.33.41805"
+ }
+ }
+ },
"System.Collections/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "5.0.0",
@@ -868,6 +947,46 @@
"System.Threading.Tasks": "4.3.0"
}
},
+ "System.IO.Pipelines/5.0.1": {
+ "runtime": {
+ "lib/netcoreapp3.0/System.IO.Pipelines.dll": {
+ "assemblyVersion": "5.0.0.1",
+ "fileVersion": "5.0.120.57516"
+ }
+ }
+ },
+ "System.IO.Ports/4.7.0": {
+ "dependencies": {
+ "Microsoft.Win32.Registry": "4.7.0",
+ "runtime.native.System.IO.Ports": "4.7.0"
+ },
+ "runtime": {
+ "lib/netstandard2.0/System.IO.Ports.dll": {
+ "assemblyVersion": "4.0.3.0",
+ "fileVersion": "4.700.19.56404"
+ }
+ },
+ "runtimeTargets": {
+ "runtimes/linux/lib/netstandard2.0/System.IO.Ports.dll": {
+ "rid": "linux",
+ "assetType": "runtime",
+ "assemblyVersion": "4.0.3.0",
+ "fileVersion": "4.700.19.56404"
+ },
+ "runtimes/osx/lib/netstandard2.0/System.IO.Ports.dll": {
+ "rid": "osx",
+ "assetType": "runtime",
+ "assemblyVersion": "4.0.3.0",
+ "fileVersion": "4.700.19.56404"
+ },
+ "runtimes/win/lib/netstandard2.0/System.IO.Ports.dll": {
+ "rid": "win",
+ "assetType": "runtime",
+ "assemblyVersion": "4.0.3.0",
+ "fileVersion": "4.700.19.56404"
+ }
+ }
+ },
"System.Memory/4.5.3": {},
"System.Reflection/4.3.0": {
"dependencies": {
@@ -1209,6 +1328,13 @@
"path": "dotnetty.transport/0.7.5",
"hashPath": "dotnetty.transport.0.7.5.nupkg.sha512"
},
+ "HslCommunication/11.1.1": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-+HUfjin0STcIuiSsZ7ksohWBbeTFW7XbkDR+/jK19/ikmzCoRwwB8688dWc4szTruuF00URB998SU8snPxtIKQ==",
+ "path": "hslcommunication/11.1.1",
+ "hashPath": "hslcommunication.11.1.1.nupkg.sha512"
+ },
"log4net/2.0.15": {
"type": "package",
"serviceable": true,
@@ -1321,12 +1447,12 @@
"path": "microsoft.extensions.logging/5.0.0",
"hashPath": "microsoft.extensions.logging.5.0.0.nupkg.sha512"
},
- "Microsoft.Extensions.Logging.Abstractions/5.0.0": {
+ "Microsoft.Extensions.Logging.Abstractions/6.0.0": {
"type": "package",
"serviceable": true,
- "sha512": "sha512-NxP6ahFcBnnSfwNBi2KH2Oz8Xl5Sm2krjId/jRR3I7teFphwiUoUeZPwTNA21EX+5PtjqmyAvKaOeBXcJjcH/w==",
- "path": "microsoft.extensions.logging.abstractions/5.0.0",
- "hashPath": "microsoft.extensions.logging.abstractions.5.0.0.nupkg.sha512"
+ "sha512": "sha512-/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==",
+ "path": "microsoft.extensions.logging.abstractions/6.0.0",
+ "hashPath": "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/5.0.0": {
"type": "package",
@@ -1440,6 +1566,48 @@
"path": "oracle.manageddataaccess.core/3.21.100",
"hashPath": "oracle.manageddataaccess.core.3.21.100.nupkg.sha512"
},
+ "Pipelines.Sockets.Unofficial/2.2.8": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-zG2FApP5zxSx6OcdJQLbZDk2AVlN2BNQD6MorwIfV6gVj0RRxWPEp2LXAxqDGZqeNV1Zp0BNPcNaey/GXmTdvQ==",
+ "path": "pipelines.sockets.unofficial/2.2.8",
+ "hashPath": "pipelines.sockets.unofficial.2.2.8.nupkg.sha512"
+ },
+ "runtime.linux-arm.runtime.native.System.IO.Ports/4.7.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-pCaX07mRrO11GfUb+whjn2AJgCofx26slw0sI3XC9v0pEZO8101iK6q4ymZOiI2M4a9sQxLr2LawAEDvF4RNXg==",
+ "path": "runtime.linux-arm.runtime.native.system.io.ports/4.7.0",
+ "hashPath": "runtime.linux-arm.runtime.native.system.io.ports.4.7.0.nupkg.sha512"
+ },
+ "runtime.linux-arm64.runtime.native.System.IO.Ports/4.7.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-/J6A4bexUUJciGUwrhtzrFW4tIHqoJYlCsz5RudRmqUaqvuG2tjrbn6bEopOFs7CU4gZqAKWcU9pkp180c3DkQ==",
+ "path": "runtime.linux-arm64.runtime.native.system.io.ports/4.7.0",
+ "hashPath": "runtime.linux-arm64.runtime.native.system.io.ports.4.7.0.nupkg.sha512"
+ },
+ "runtime.linux-x64.runtime.native.System.IO.Ports/4.7.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-aaaiH4ttfkLizo0OKf++5kPN0yxKbgzcyAD3w52Y3YP96aB/M79fm0r06SedXJGv86Iou6ipj3wUQBMFaL8LnQ==",
+ "path": "runtime.linux-x64.runtime.native.system.io.ports/4.7.0",
+ "hashPath": "runtime.linux-x64.runtime.native.system.io.ports.4.7.0.nupkg.sha512"
+ },
+ "runtime.native.System.IO.Ports/4.7.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-yidiZEGEIOyGnRkZvoV6XbeqzEBg9L47PyZNBymLIsu9HHseF98wiOxR6RnHmMqQMTBlc/EONfw4NT3pw0S6YQ==",
+ "path": "runtime.native.system.io.ports/4.7.0",
+ "hashPath": "runtime.native.system.io.ports.4.7.0.nupkg.sha512"
+ },
+ "runtime.osx-x64.runtime.native.System.IO.Ports/4.7.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-c1h87v6gopjfeAu3WhVGguUhzCdpZFqX8oXrevO1ciuH4g/mFrxnzlo5POlp+TtZdQ1i8yu0ZzBMKbmX2bJJ0g==",
+ "path": "runtime.osx-x64.runtime.native.system.io.ports/4.7.0",
+ "hashPath": "runtime.osx-x64.runtime.native.system.io.ports.4.7.0.nupkg.sha512"
+ },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.4": {
"type": "package",
"serviceable": true,
@@ -1496,6 +1664,13 @@
"path": "sqlsugarcore.kdbndp/7.4.0",
"hashPath": "sqlsugarcore.kdbndp.7.4.0.nupkg.sha512"
},
+ "StackExchange.Redis/2.7.33": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-2kCX5fvhEE824a4Ab5Imyi8DRuGuTxyklXV01kegkRpsWJcPmO6+GAQ+HegKxvXAxlXZ8yaRspvWJ8t3mMClfQ==",
+ "path": "stackexchange.redis/2.7.33",
+ "hashPath": "stackexchange.redis.2.7.33.nupkg.sha512"
+ },
"System.Collections/4.3.0": {
"type": "package",
"serviceable": true,
@@ -1580,6 +1755,20 @@
"path": "system.io/4.3.0",
"hashPath": "system.io.4.3.0.nupkg.sha512"
},
+ "System.IO.Pipelines/5.0.1": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-qEePWsaq9LoEEIqhbGe6D5J8c9IqQOUuTzzV6wn1POlfdLkJliZY3OlB0j0f17uMWlqZYjH7txj+2YbyrIA8Yg==",
+ "path": "system.io.pipelines/5.0.1",
+ "hashPath": "system.io.pipelines.5.0.1.nupkg.sha512"
+ },
+ "System.IO.Ports/4.7.0": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-tNHiZcdskfRpxU7LBBlA69YYgBqWMBE/JDdmrEIDa4iw944VK1u4+B0FeSls1FUm+Pm4X/Fl0fSGqi8MDhb8/Q==",
+ "path": "system.io.ports/4.7.0",
+ "hashPath": "system.io.ports.4.7.0.nupkg.sha512"
+ },
"System.Memory/4.5.3": {
"type": "package",
"serviceable": true,