You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

447 lines
16 KiB

using HybirdFrameworkCore.Autofac.Attribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HybirdFrameworkServices.Plc
{
/// <summary>
/// 只读数据区
/// </summary>
public class PlcReadonly
{
/// <summary>
/// 组合有功总电能
/// </summary>
[Property(0, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupHaveAll { get; set; }
/// <summary>
/// 组合有功尖电能
/// </summary>
[Property(4, 4, PropertyReadConstant.Byte, 0.01)]
public float GroupHaveTip { get; set; }
/// <summary>
/// 组合有功峰电能
/// </summary>
[Property(8, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupHavePeak { get; set; }
/// <summary>
/// 组合有功平电能
/// </summary>
[Property(12, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupHaveFlat { get; set; }
/// <summary>
/// 组合有功谷电能
/// </summary>
[Property(16, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupHaveValley { get; set; }
/// <summary>
/// 正向有功总电能
/// </summary>
[Property(20, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ForwardHaveAll { get; set; }
/// <summary>
/// 正向有功尖电能
/// </summary>
[Property(24, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ForwardHaveTip { get; set; }
/// <summary>
/// 正向有功峰电能
/// </summary>
[Property(28, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ForwardHavePeak { get; set; }
/// <summary>
/// 正向有功平电能
/// </summary>
[Property(32, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ForwardHaveFlat { get; set; }
/// <summary>
/// 正向有功谷电能
/// </summary>
[Property(36, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ForwardHaveValley { get; set; }
/// <summary>
/// 反向有功总电能
/// </summary>
[Property(40, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ReverseHaveAll { get; set; }
/// <summary>
/// 反向有功尖电能
/// </summary>
[Property(44, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ReverseHaveTip { get; set; }
/// <summary>
/// 反向有功峰电能
/// </summary>
[Property(48, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ReverseHavePeak { get; set; }
/// <summary>
/// 反向有功平电能
/// </summary>
[Property(52, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ReverseHaveFlat { get; set; }
/// <summary>
/// 反向有功谷电能
/// </summary>
[Property(56, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ReverseHaveValley { get; set; }
/// <summary>
/// 组合无功1总电能
/// </summary>
[Property(60, 4, PropertyReadConstant.Byte, 0.01)]
public float GroupNoAll1 { get; set; }
/// <summary>
/// 组合无功1尖电能
/// </summary>
[Property(64, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupNoTip1 { get; set; }
/// <summary>
/// 组合无功1峰电能
/// </summary>
[Property(68, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupNoPeak1 { get; set; }
/// <summary>
/// 组合无功1平电能
/// </summary>
[Property(72, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupNoFlat1 { get; set; }
/// <summary>
/// 组合无功1谷电能
/// </summary>
[Property(76, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupNoValley1 { get; set; }
/// <summary>
/// 组合无功2总电能
/// </summary>
[Property(80, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupNoAll2 { get; set; }
/// <summary>
/// 组合无功2尖电能
/// </summary>
[Property(84, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupNoTip2 { get; set; }
/// <summary>
/// 组合无功2峰电能
/// </summary>
[Property(88, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupNoPeak2 { get; set; }
/// <summary>
/// 组合无功2平电能
/// </summary>
[Property(92, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupNoFlat2 { get; set; }
/// <summary>
/// 组合无功2谷电能
/// </summary>
[Property(96, 4, PropertyReadConstant.Byte, 0.01)]
public Int32 GroupNoValley2 { get; set; }
/// <summary>
/// 一象限无功总电能
/// </summary>
[Property(100, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoAll1 { get; set; }
/// <summary>
/// 一象限无功尖电能
/// </summary>
[Property(104, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoTip1 { get; set; }
/// <summary>
/// 一象限无功峰电能
/// </summary>
[Property(108, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoPeak1 { get; set; }
/// <summary>
/// 一象限无功平电能
/// </summary>
[Property(112, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoFlat1 { get; set; }
/// <summary>
/// 一象限无功谷电能
/// </summary>
[Property(116, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoValley1 { get; set; }
/// <summary>
/// 二象限无功总电能
/// </summary>
[Property(120, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoAll2 { get; set; }
/// <summary>
/// 二象限无功尖电能
/// </summary>
[Property(124, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoTip2 { get; set; }
/// <summary>
/// 二象限无功峰电能
/// </summary>
[Property(128, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoPeak2 { get; set; }
/// <summary>
/// 二象限无功平电能
/// </summary>
[Property(132, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoFlat2 { get; set; }
/// <summary>
/// 二象限无功谷电能
/// </summary>
[Property(136, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoValley2 { get; set; }
/// <summary>
/// 三象限无功总电能
/// </summary>
[Property(140, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoAll3 { get; set; }
/// <summary>
/// 三象限无功尖电能
/// </summary>
[Property(144, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoTip3 { get; set; }
/// <summary>
/// 三象限无功峰电能
/// </summary>
[Property(148, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoPeak3 { get; set; }
/// <summary>
/// 三象限无功平电能
/// </summary>
[Property(152, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoFlat3 { get; set; }
/// <summary>
/// 三象限无功谷电能
/// </summary>
[Property(156, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoValley3 { get; set; }
/// <summary>
/// 四象限无功总电能
/// </summary>
[Property(160, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoAll4 { get; set; }
/// <summary>
/// 四象限无功尖电能
/// </summary>
[Property(164, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoTip4 { get; set; }
/// <summary>
/// 四象限无功峰电能
/// </summary>
[Property(168, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoPeak4 { get; set; }
/// <summary>
/// 四象限无功平电能
/// </summary>
[Property(172, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoFlat4 { get; set; }
/// <summary>
/// 四象限无功谷电能
/// </summary>
[Property(176, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 QuadrantNoValley4 { get; set; }
/// <summary>
/// 正向视在总电能
/// </summary>
[Property(180, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ForwardHaveApparentAll { get; set; }
/// <summary>
/// 正向视在尖电能
/// </summary>
[Property(184, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ForwardHaveApparentTip { get; set; }
/// <summary>
/// 正向视在峰电能
/// </summary>
[Property(188, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ForwardHaveApparentPeak { get; set; }
/// <summary>
/// 正向视在平电能
/// </summary>
[Property(192, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ForwardHaveApparentFlat { get; set; }
/// <summary>
/// 正向视在谷电能
/// </summary>
[Property(196, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ForwardHaveApparentValley { get; set; }
/// <summary>
/// 反向视在总电能
/// </summary>
[Property(200, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ReverseHaveApparentAll { get; set; }
/// <summary>
/// 反向视在尖电能
/// </summary>
[Property(204, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ReverseHaveApparentTip { get; set; }
/// <summary>
/// 反向视在峰电能
/// </summary>
[Property(208, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ReverseHaveApparentPeak { get; set; }
/// <summary>
/// 反向视在平电能
/// </summary>
[Property(212, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ReverseHaveApparentFlat { get; set; }
/// <summary>
/// 反向视在谷电能
/// </summary>
[Property(216, 4, PropertyReadConstant.Byte, 0.01)]
public UInt32 ReverseHaveApparentValley { get; set; }
/// <summary>
/// A 相电压
/// </summary>
[Property(220, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 PhaseVoltageA { get; set; }
/// <summary>
/// B 相电压
/// </summary>
[Property(224, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 PhaseVoltageB { get; set; }
/// <summary>
/// C 相电压
/// </summary>
[Property(228, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 PhaseVoltageC { get; set; }
/// <summary>
/// A 相电流
/// </summary>
[Property(232, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 PhaseElectricityA { get; set; }
/// <summary>
/// B 相电流
/// </summary>
[Property(236, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 PhaseElectricityB { get; set; }
/// <summary>
/// C 相电流
/// </summary>
[Property(240, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 PhaseElectricityC { get; set; }
/// <summary>
/// 有功总功率
/// </summary>
[Property(244, 4, PropertyReadConstant.Byte, 0.0001)]
public Int32 TotalActivePower { get; set; }
/// <summary>
/// A 相有功总功率
/// </summary>
[Property(248, 4, PropertyReadConstant.Byte, 0.0001)]
public Int32 TotalActivePowerA { get; set; }
/// <summary>
/// B 相有功总功率
/// </summary>
[Property(252, 4, PropertyReadConstant.Byte, 0.0001)]
public Int32 TotalActivePowerB { get; set; }
/// <summary>
/// C 相有功总功率
/// </summary>
[Property(256, 4, PropertyReadConstant.Byte, 0.0001)]
public Int32 TotalActivePowerC { get; set; }
/// <summary>
/// 无功总功率
/// </summary>
[Property(260, 4, PropertyReadConstant.Byte, 0.0001)]
public Int32 TotalReactivePower { get; set; }
/// <summary>
/// A 相无功总功率
/// </summary>
[Property(264, 4, PropertyReadConstant.Byte, 0.0001)]
public Int32 TotalReactivePowerA { get; set; }
/// <summary>
/// B 相无功总功率
/// </summary>
[Property(268, 4, PropertyReadConstant.Byte, 0.0001)]
public Int32 TotalReactivePowerB { get; set; }
/// <summary>
/// C 相无功总功率
/// </summary>
[Property(272, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 TotalReactivePowerC { get; set; }
/// <summary>
/// 总视在功率
/// </summary>
[Property(276, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 TotalApparentPower { get; set; }
/// <summary>
/// A 相视在功率
/// </summary>
[Property(280, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 TotalApparentPowerA { get; set; }
/// <summary>
/// B 相视在功率
/// </summary>
[Property(284, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 TotalApparentPowerB { get; set; }
/// <summary>
/// C 相视在功率
/// </summary>
[Property(288, 4, PropertyReadConstant.Byte, 0.0001)]
public UInt32 TotalApparentPowerC { get; set; }
/// <summary>
/// 总功率因数
/// </summary>
[Property(292, 2, PropertyReadConstant.Byte, 0.001)]
public short OverallPowerFactor { get; set; }
/// <summary>
/// A 相功率因数
/// </summary>
[Property(294, 2, PropertyReadConstant.Byte, 0.001)]
public short OverallPowerFactorA { get; set; }
/// <summary>
/// B 相功率因数
/// </summary>
[Property(296, 2, PropertyReadConstant.Byte, 0.001)]
public short OverallPowerFactorB { get; set; }
/// <summary>
/// C 相功率因数
/// </summary>
[Property(298, 2, PropertyReadConstant.Byte, 0.001)]
public short OverallPowerFactorC { get; set; }
/// <summary>
/// A 相相角
/// </summary>
[Property(300, 2, PropertyReadConstant.Byte, 0.01)]
public ushort PhaseAngleA { get; set; }
/// <summary>
/// B 相相角
/// </summary>
[Property(302, 2, PropertyReadConstant.Byte, 0.01)]
public ushort PhaseAngleB { get; set; }
/// <summary>
/// C 相相角
/// </summary>
[Property(304, 2, PropertyReadConstant.Byte, 0.01)]
public ushort PhaseAngleC { get; set; }
/// <summary>
/// 电网频率
/// </summary>
[Property(306, 2, PropertyReadConstant.Byte, 0.01)]
public ushort LineFrequency { get; set; }
/// <summary>
/// A 相线电压
/// </summary>
[Property(308, 4, PropertyReadConstant.Byte, 0.0001)]
public float PhaseLineVoltageA { get; set; }
/// <summary>
/// B 相线电压
/// </summary>
[Property(312, 4, PropertyReadConstant.Byte, 0.0001)]
public float PhaseLineVoltageB { get; set; }
/// <summary>
/// C 相线电压
/// </summary>
[Property(316, 4, PropertyReadConstant.Byte, 0.0001)]
public float PhaseLineVoltageC { get; set; }
/// <summary>
/// 三相平均线电压
/// </summary>
[Property(320, 4, PropertyReadConstant.Byte, 0.0001)]
public float ThreePhaseMeanLineVoltage { get; set; }
/// <summary>
/// 三相平均相电压
/// </summary>
[Property(324, 4, PropertyReadConstant.Byte, 0.0001)]
public float ThreePhaseMeanPhaseVoltage { get; set; }
}
}