using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.Reflection; using System.Diagnostics; using System.Windows.Media; using Misc; namespace FLY.IBC.Common { public class IBCData : INotifyPropertyChanged { public IBCData() { } /// /// 与PLC连接状态 /// public bool IsConnectedWithPLC { get; set; } #region 辅助代码生成 /// /// 外风指示 /// [Description("外风指示")] public bool IsExAirOn { get; set; } /// /// 外风运行频率(Hz) /// [Description("外风运行频率(Hz)")] public float ExAirFreq { get; set; } /// /// 外风设定频率(Hz) /// [Description("外风设定频率(Hz)")] public float ExAirFreqSet { get; set; } /// /// 进风指示 /// [Description("进风指示")] public bool IsInletAirOn { get; set; } /// /// 进风运行频率(Hz)(自动调节) /// [Description("进风运行频率(Hz)(自动调节)")] public float InletAirFreq { get; set; } /// /// 进风设定频率(Hz) /// [Description("进风设定频率(Hz)")] public float InletAirFreqSet { get; set; } /// /// 出风指示 /// [Description("出风指示")] public bool IsOutletAirOn { get; set; } /// /// 出风运行频率(Hz) /// [Description("出风运行频率(Hz)")] public float OutletAirFreq { get; set; } /// /// 出风设定频率(Hz) /// [Description("出风设定频率(Hz)")] public float OutletAirFreqSet { get; set; } /// /// 出风设定频率后通知 /// [Description("出风设定频率后通知")] public bool IsOutletAirFreqChanged { get; set; } /// /// 折径显示(mm) /// [Description("折径显示(mm)")] public float FilmWidth { get; set; } /// /// 折径设定(mm) /// [Description("折径设定(mm)")] public float FilmWidthSet { get; set; } /// /// 折径设定后通知 /// [Description("折径设定后通知")] public bool IsFilmWidthChanged { get; set; } /// /// 误差校正 /// [Description("误差校正")] public float ErrorCorrection { get; set; } /// /// IBC自动 /// [Description("IBC自动")] public bool IsIBCAuto { get; set; } /// /// K1 /// [Description("K1")] public float K1 { get; set; } /// /// K2 /// [Description("K2")] public float K2 { get; set; } /// /// K3 /// [Description("K3")] public float K3 { get; set; } /// /// L /// [Description("L")] public float L { get; set; } /// /// 膜泡校正A /// [Description("膜泡校正A")] public float BubbleCorrA { get; set; } /// /// 膜泡校正B /// [Description("膜泡校正B")] public float BubbleCorrB { get; set; } /// /// 膜泡校正C /// [Description("膜泡校正C")] public float BubbleCorrC { get; set; } /// /// 膜泡校正R /// [Description("膜泡校正R")] public float BubbleCorrR { get; set; } /// /// 采样周期 /// [Description("采样周期")] public float SampleInterval { get; set; } /// /// 采样时间 /// [Description("采样时间")] public float SampleTime { get; set; } /// /// 区间1设置 /// [Description("区间1设置")] public float Area1Set { get; set; } /// /// 区间1P /// [Description("区间1P")] public float Area1P { get; set; } /// /// 区间1I /// [Description("区间1I")] public float Area1I { get; set; } /// /// 区间1D /// [Description("区间1D")] public float Area1D { get; set; } /// /// 区间1DI /// [Description("区间1DI")] public float Area1DI { get; set; } /// /// 调节系数 /// [Description("调节系数")] public float AdjustFactor { get; set; } /// /// 限幅基准 /// [Description("限幅基准")] public float LimitAmpBase { get; set; } /// /// 限幅系数 /// [Description("限幅系数")] public float LimitAmpFactor { get; set; } /// /// PID反馈 /// [Description("PID反馈")] public float PIDFeedback { get; set; } /// /// PID结果 /// [Description("PID结果")] public float PIDResult { get; set; } /// /// PID调节 /// [Description("PID调节")] public float PIDAdjust { get; set; } /// /// 进风速度 /// [Description("进风速度")] public float InletAirVelocity { get; set; } /// /// 出风速度 /// [Description("出风速度")] public float OutletAirVelocity { get; set; } /// /// 区间2设置 /// [Description("区间2设置")] public float Area2Set { get; set; } /// /// 区间2P /// [Description("区间2P")] public float Area2P { get; set; } /// /// 区间2I /// [Description("区间2I")] public float Area2I { get; set; } /// /// 区间2D /// [Description("区间2D")] public float Area2D { get; set; } /// /// 区间2DI /// [Description("区间2DI")] public float Area2DI { get; set; } /// /// 传感器1盲区 /// [Description("传感器1盲区")] public float Sensor1DeadZone { get; set; } /// /// 传感器2盲区 /// [Description("传感器2盲区")] public float Sensor2DeadZone { get; set; } /// /// 传感器3盲区 /// [Description("传感器3盲区")] public float Sensor3DeadZone { get; set; } /// /// 传感器1系数 /// [Description("传感器1系数")] public float Sensor1Factor { get; set; } /// /// 传感器2系数 /// [Description("传感器2系数")] public float Sensor2Factor { get; set; } /// /// 传感器3系数 /// [Description("传感器3系数")] public float Sensor3Factor { get; set; } /// /// 进风变频通讯报警 /// [Description("进风变频通讯报警")] [IsError()] public bool IsInletAirCommError { get; set; } /// /// 出风变频通讯报警 /// [Description("出风变频通讯报警")] [IsError()] public bool IsOutletAirCommError { get; set; } /// /// 外风变频通讯报警 /// [Description("外风变频通讯报警")] [IsError()] public bool IExAirCommError { get; set; } /// /// 进风变频故障报警 /// [Description("进风变频故障报警")] [IsError()] public bool IsInletAirMotorError { get; set; } /// /// 出风变频故障报警 /// [Description("出风变频故障报警")] [IsError()] public bool IsOutletAirMotorError { get; set; } /// /// 外风变频故障报警 /// [Description("外风变频故障报警")] [IsError()] public bool IsExAirMotorError { get; set; } /// /// 稳泡架上下电机报警 /// [Description("稳泡架上下电机报警")] [IsError()] public bool IsBubbleHolderUpDownMotorError { get; set; } /// /// 稳泡架进出电机报警 /// [Description("稳泡架进出电机报警")] [IsError()] public bool IsBubbleHolderInOutMotorError { get; set; } /// /// 人字板1电机报警 /// [Description("人字板1电机报警")] [IsError()] public bool IsHerringboneBoard1MotorError { get; set; } /// /// 人字板2电机报警 /// [Description("人字板2电机报警")] [IsError()] public bool IsHerringboneBoard2MotorError { get; set; } #endregion public event PropertyChangedEventHandler PropertyChanged; } }