|
|
|
|
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>
|
|
|
|
|
public float GroupHaveAll { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合有功尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupHaveTip { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合有功峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupHavePeak { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合有功平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupHaveFlat { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合有功谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupHaveValley { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// 正向有功总电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ForwardHaveAll { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 正向有功尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ForwardHaveTip { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 正向有功峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ForwardHavePeak { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 正向有功平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ForwardHaveFlat { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 正向有功谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ForwardHaveValley { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 反向有功总电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ReverseHaveAll { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 反向有功尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ReverseHaveTip { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 反向有功峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ReverseHavePeak { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 反向有功平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ReverseHaveFlat { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 反向有功谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ReverseHaveValley { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合无功1总电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupNoAll1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合无功1尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupNoTip1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合无功1峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupNoPeak1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合无功1平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupNoFlat1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合无功1谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupNoValley1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合无功2总电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupNoAll2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合无功2尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupNoTip2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合无功2峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupNoPeak2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合无功2平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupNoFlat2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 组合无功2谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float GroupNoValley2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一象限无功总电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoAll1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一象限无功尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoTip1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// 一象限无功峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoPeak1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一象限无功平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoFlat1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// 一象限无功谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoValley1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 二象限无功总电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoAll2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 二象限无功尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoTip2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 二象限无功峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoPeak2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 二象限无功平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoFlat2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 二象限无功谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoValley2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 三象限无功总电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoAll3 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 三象限无功尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoTip3 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 三象限无功峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoPeak3 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 三象限无功平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoFlat3 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 三象限无功谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoValley3 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 四象限无功总电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoAll4 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 四象限无功尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoTip4 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 四象限无功峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoPeak4 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 四象限无功平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoFlat4 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 四象限无功谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float QuadrantNoValley4 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 正向视在总电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ForwardHaveApparentAll { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 正向视在尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ForwardHaveApparentTip { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 正向视在峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ForwardHaveApparentPeak { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 正向视在平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ForwardHaveApparentFlat { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 正向视在谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ForwardHaveApparentValley { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 反向视在总电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ReverseHaveApparentAll { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 反向视在尖电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ReverseHaveApparentTip { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 反向视在峰电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ReverseHaveApparentPeak { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 反向视在平电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ReverseHaveApparentFlat { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 反向视在谷电能
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ReverseHaveApparentValley { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A 相电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float PhaseVoltageA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// B 相电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float PhaseVoltageB { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// C 相电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float PhaseVoltageC { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A 相电流
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float PhaseElectricityA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// B 相电流
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float PhaseElectricityB { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// C 相电流
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float PhaseElectricityC { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 有功总功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalActivePower { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A 相有功总功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalActivePowerA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// B 相有功总功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalActivePowerB { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// C 相有功总功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalActivePowerC { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 无功总功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalReactivePower { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A 相无功总功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalReactivePowerA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// B 相无功总功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalReactivePowerB { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// C 相无功总功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalReactivePowerC { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总视在功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalApparentPower { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A 相视在功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalApparentPowerA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// B 相视在功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalApparentPowerB { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// C 相视在功率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float TotalApparentPowerC { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总功率因数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public short OverallPowerFactor { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// A 相功率因数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public short OverallPowerFactorA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// B 相功率因数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public short OverallPowerFactorB { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// C 相功率因数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public short OverallPowerFactorC { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A 相相角
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort PhaseAngleA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// B 相相角
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort PhaseAngleB { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// C 相相角
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort PhaseAngleC { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电网频率
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort LineFrequency { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A 相线电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float PhaseLineVoltageA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// B 相线电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float PhaseLineVoltageB { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// C 相线电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float PhaseLineVoltageC { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 三相平均线电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ThreePhaseMeanLineVoltage { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 三相平均相电压
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float ThreePhaseMeanPhaseVoltage { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|