|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmartClient.Academy._50L
- {
- public class DeviceStatus:NotifyBase
- {
- #region 按钮状态反馈
- /// <summary>
- /// 反应釜旋转电机 V2000.0
- /// </summary>
- public bool IsSetReactTurnMotor { get { return _isSetreactTurnMotor; } set { _isSetreactTurnMotor = value; OnPropertyChanged(); } }
- private bool _isSetreactTurnMotor;
- /// <summary>
- /// 负压风机 V2000.1
- /// </summary>
- public bool IsSetFans { get { return _isSetfans; } set { _isSetfans = value; OnPropertyChanged(); } }
- private bool _isSetfans;
-
- /// <summary>
- /// 卤水泵 V2000.2
- /// </summary>
- public bool IsSetBrinePumpState { get { return _isSetbrinePumpState; } set { _isSetbrinePumpState = value; OnPropertyChanged(); } }
- private bool _isSetbrinePumpState;
-
- /// <summary>
- /// 反应釜回原点
- /// </summary>
- public bool IsSetReactHomeBit { get { return _isSetreactHomeBit; } set { _isSetreactHomeBit = value; OnPropertyChanged(); } }
- private bool _isSetreactHomeBit;
-
- /// <summary>
- /// 反应釜去倒料位
- /// </summary>
- public bool IsSetReactOut { get { return _isSetreactOut; } set { _isSetreactOut = value; OnPropertyChanged(); } }
- private bool _isSetreactOut;
-
- /// <summary>
- /// 反应釜旋转电机点动 V2000.0
- /// </summary>
- public bool IsSetReactTurnMotorJogging { get { return _isSetreactTurnMotorJogging; } set { _isSetreactTurnMotorJogging = value; OnPropertyChanged(); } }
- private bool _isSetreactTurnMotorJogging;
-
- /// <summary>
- /// 反应釜升温 V2000.0
- /// </summary>
- public bool IsSetReactHeat { get { return _isSetReactHeat; } set { _isSetReactHeat = value; OnPropertyChanged(); } }
- private bool _isSetReactHeat;
-
- /// <summary>
- /// 反应釜降温 V2000.0
- /// </summary>
- public bool IsSetReactCool { get { return _isSetReactCool; } set { _isSetReactCool = value; OnPropertyChanged(); } }
- private bool _isSetReactCool;
-
- /// <summary>
- /// 冷凝水罐降温 V2000.0
- /// </summary>
- public bool IsSetCWTCool { get { return _isSetCWTCool; } set { _isSetCWTCool = value; OnPropertyChanged(); } }
- private bool _isSetCWTCool;
-
- /// <summary>
- /// 反应釜泄压阀 V2001.7
- /// </summary>
- public bool IsSetReactPressureReliefValve { get { return _isSetreactPressureReliefValve; } set { _isSetreactPressureReliefValve = value; OnPropertyChanged(); } }
- private bool _isSetreactPressureReliefValve;
-
- /// <summary>
- /// 反应釜排热空气阀(抽真空阀) V2001.2
- /// </summary>
- public bool IsSetReactOutHotGasValve { get { return _isSetreactOutHotGasValve; } set { _isSetreactOutHotGasValve = value; OnPropertyChanged(); } }
- private bool _isSetreactOutHotGasValve;
-
- /// <summary>
- /// 热气排空阀 V1001.3
- /// </summary>
- public bool IsSetHotGasEmptyValve { get { return _isSethotGasEmptyValve; } set { _isSethotGasEmptyValve = value; OnPropertyChanged(); } }
- private bool _isSethotGasEmptyValve;
-
- /// <summary>
- /// 冷凝水进气阀 V2001.4
- /// </summary>
- public bool IsSetColdWaterTankInAirValve { get { return _isSetcoldWaterTankInAirValve; } set { _isSetcoldWaterTankInAirValve = value; OnPropertyChanged(); } }
- private bool _isSetcoldWaterTankInAirValve;
- /// <summary>
- /// 反应釜排水阀 V2000.6
- /// </summary>
- public bool IsSetReactDrainValve { get { return _isSetreactDrainValve; } set { _isSetreactDrainValve = value; OnPropertyChanged(); } }
- private bool _isSetreactDrainValve;
-
- /// <summary>
- /// 反应釜进清水阀 V2000.7
- /// </summary>
- public bool IsSetReactInCleanWaterValve { get { return _isSetreactInCleanWaterValve; } set { _isSetreactInCleanWaterValve = value; OnPropertyChanged(); } }
- private bool _isSetreactInCleanWaterValve;
-
- /// <summary>
- /// 反应釜压缩空气进气阀 V2001.0
- /// </summary>
- public bool IsSetReactPressureAirInValve { get { return _isSetreactPressureAirInValve; } set { _isSetreactPressureAirInValve = value; OnPropertyChanged(); } }
- private bool _isSetreactPressureAirInValve;
-
- /// <summary>
- /// 反应釜进卤水阀 V2001.1
- /// </summary>
- public bool IsSetReactInBrineWaterValve { get { return _isSetreactInBrineWaterValve; } set { _isSetreactInBrineWaterValve = value; OnPropertyChanged(); } }
- private bool _isSetreactInBrineWaterValve;
- /// <summary>
- /// 冷凝水罐真空阀 V2002.0
- /// </summary>
- public bool IsSetColdWaterTankVacuumValve { get { return _isSetcoldWaterTankVacuumValve; } set { _isSetcoldWaterTankVacuumValve = value; OnPropertyChanged(); } }
- private bool _isSetcoldWaterTankVacuumValve;
-
- /// <summary>
- /// 空压机启动 V2002.1
- /// </summary>
- public bool IsSetCompressorRunning { get { return _isSetcompressorRunning; } set { _isSetcompressorRunning = value; OnPropertyChanged(); } }
- private bool _isSetcompressorRunning;
-
- /// <summary>
- /// 反应釜进料 V2002.1
- /// </summary>
- public bool IsSetReactEnter { get { return _isSetReactEnter; } set { _isSetReactEnter = value; OnPropertyChanged(); } }
- private bool _isSetReactEnter;
-
- /// <summary>
- /// 反应釜反转 V2002.1
- /// </summary>
- public bool IsSetReactReverse { get { return _isSetReactReverse; } set { _isSetReactReverse = value; OnPropertyChanged(); } }
- private bool _isSetReactReverse;
-
- /// <summary>
- /// 进卤水启动 V2002.1
- /// </summary>
- public bool IsSetStartEnterBrine { get { return _isSetStartEnterBrine; } set { _isSetStartEnterBrine = value; OnPropertyChanged(); } }
- private bool _isSetStartEnterBrine;
-
- /// <summary>
- /// 排水启动 V2002.1
- /// </summary>
- public bool IsSetStartEmptyWater { get { return _isSetStartEmptyWater; } set { _isSetStartEmptyWater = value; OnPropertyChanged(); } }
- private bool _isSetStartEmptyWater;
- /// <summary>
- /// 反应釜出冷却水阀 V2000.5
- /// </summary>
- public bool IsSetReactOutColdValve { get { return _isSetreactOutColdValve; } set { _isSetreactOutColdValve = value; OnPropertyChanged(); } }
- private bool _isSetreactOutColdValve;
-
- /// <summary>
- /// 冷凝水罐进水阀 V2001.5
- /// </summary>
- public bool IsSetColdWaterTankInWaterValve { get { return _isSetcoldWaterTankInWaterValve; } set { _isSetcoldWaterTankInWaterValve = value; OnPropertyChanged(); } }
- private bool _isSetcoldWaterTankInWaterValve;
-
- /// <summary>
- /// 清洗启动按钮 V2001.5
- /// </summary>
- public bool IsSetStartClean { get { return _isSetStartClean; } set { _isSetStartClean = value; OnPropertyChanged(); } }
- private bool _isSetStartClean;
-
- /// <summary>
- /// 真空蒸馏 V2001.5
- /// </summary>
- public bool IsSetVacuumDistill { get { return _isSetVacuumDistill; } set { _isSetVacuumDistill = value; OnPropertyChanged(); } }
- private bool _isSetVacuumDistill;
-
- /// <summary>
- /// 去加料位 V2001.5
- /// </summary>
- public bool IsSetGoAddPosition { get { return _isSetGoAddPosition; } set { _isSetGoAddPosition = value; OnPropertyChanged(); } }
- private bool _isSetGoAddPosition;
-
- /// <summary>
- /// 称重水罐重量清零 V1003.7
- /// </summary>
- public bool IsSetColdWaterTankZero { get { return _isSetColdWaterTankZero; } set { _isSetColdWaterTankZero = value; OnPropertyChanged(); } }
- private bool _isSetColdWaterTankZero;
-
- /// <summary>
- /// 卤水配制罐重量清零 V1003.7
- /// </summary>
- public bool IsSetBrineTankZero { get { return _isSetBrineTankZero; } set { _isSetBrineTankZero = value; OnPropertyChanged(); } }
- private bool _isSetBrineTankZero;
-
- /// <summary>
- /// 系统启动 V1003.7
- /// </summary>
- public bool IsSetSystemStart { get { return _isSetSystemStart; } set { _isSetSystemStart = value; OnPropertyChanged(); } }
- private bool _isSetSystemStart;
- /// <summary>
- /// 心跳 V1003.7
- /// </summary>
- public bool IsSetHeartBeat { get { return _isSetheartBeat; } set { _isSetheartBeat = value; OnPropertyChanged(); } }
- private bool _isSetheartBeat;
- #endregion
-
- #region 电机阀门反馈
- /// <summary>
- /// 旋转电机启停反馈 V2000.0
- /// </summary>
- public bool ReactTurnMotor { get { return _reactTurnMotor; } set { _reactTurnMotor = value; OnPropertyChanged(); } }
- private bool _reactTurnMotor;
- /// <summary>
- /// 负压风机启动反馈 V2000.1
- /// </summary>
- public bool Fans { get { return _fans; } set { _fans = value; OnPropertyChanged(); } }
- private bool _fans;
-
- /// <summary>
- /// 卤水泵启动反馈 V2000.2
- /// </summary>
- public bool BrinePumpState { get { return _brinePumpState; } set { _brinePumpState = value; OnPropertyChanged(); } }
- private bool _brinePumpState;
-
- /// <summary>
- /// 反应釜进蒸汽阀 V2000.3
- /// </summary>
- public bool ReactInSteamValue { get { return _reactInSteamValue; } set { _reactInSteamValue = value; OnPropertyChanged(); } }
- private bool _reactInSteamValue;
-
- /// <summary>
- /// 反应釜进冷却水阀 V2000.4
- /// </summary>
- public bool ReactInColdValve { get { return _reactInColdValve; } set { _reactInColdValve = value; OnPropertyChanged(); } }
- private bool _reactInColdValve;
- /// <summary>
- /// 反应釜出冷却水阀 V2000.5
- /// </summary>
- public bool ReactOutColdValve { get { return _reactOutColdValve; } set { _reactOutColdValve = value; OnPropertyChanged(); } }
- private bool _reactOutColdValve;
-
- /// <summary>
- /// 反应釜排水阀 V2000.6
- /// </summary>
- public bool ReactDrainValve { get { return _reactDrainValve; } set { _reactDrainValve = value; OnPropertyChanged(); } }
- private bool _reactDrainValve;
-
- /// <summary>
- /// 反应釜进清水阀 V2000.7
- /// </summary>
- public bool ReactInCleanWaterValve { get { return _reactInCleanWaterValve; } set { _reactInCleanWaterValve = value; OnPropertyChanged(); } }
- private bool _reactInCleanWaterValve;
-
- /// <summary>
- /// 压缩空气进气阀反馈 V2001.0
- /// </summary>
- public bool ReactPressureAirInValve { get { return _reactPressureAirInValve; } set { _reactPressureAirInValve = value; OnPropertyChanged(); } }
- private bool _reactPressureAirInValve;
-
- /// <summary>
- /// 反应釜进卤水阀 V2001.1
- /// </summary>
- public bool ReactInBrineWaterValve { get { return _reactInBrineWaterValve; } set { _reactInBrineWaterValve = value; OnPropertyChanged(); } }
- private bool _reactInBrineWaterValve;
-
- /// <summary>
- /// 反应釜排热空气阀反馈 V2001.2
- /// </summary>
- public bool ReactOutHotGasValve { get { return _reactOutHotGasValve; } set { _reactOutHotGasValve = value; OnPropertyChanged(); } }
- private bool _reactOutHotGasValve;
-
- /// <summary>
- /// 热气排空阀反馈 V2001.3
- /// </summary>
- public bool HotGasEmptyValve { get { return _hotGasEmptyValve; } set { _hotGasEmptyValve = value; OnPropertyChanged(); } }
- private bool _hotGasEmptyValve;
-
-
- /// <summary>
- /// 冷凝水罐进气阀 V2001.4
- /// </summary>
- public bool ColdWaterTankInAirValve { get { return _coldWaterTankInAirValve; } set { _coldWaterTankInAirValve = value; OnPropertyChanged(); } }
- private bool _coldWaterTankInAirValve;
-
- /// <summary>
- /// 冷凝水罐进水阀反馈 V2001.5
- /// </summary>
- public bool ColdWaterTankInWaterValve { get { return _coldWaterTankInWaterValve; } set { _coldWaterTankInWaterValve = value; OnPropertyChanged(); } }
- private bool _coldWaterTankInWaterValve;
-
- /// <summary>
- /// 反应釜原点位置反馈 V2001.6
- /// </summary>
- public bool ReactHomeBit { get { return _reactHomeBit; } set { _reactHomeBit = value; OnPropertyChanged(); } }
- private bool _reactHomeBit;
-
- /// <summary>
- /// 反应釜泄压阀反馈 V2001.7
- /// </summary>
- public bool ReactPressureReliefValve { get { return _reactPressureReliefValve; } set { _reactPressureReliefValve = value; OnPropertyChanged(); } }
- private bool _reactPressureReliefValve;
- /// <summary>
- /// 冷凝水罐真空阀反馈 V2002.0
- /// </summary>
- public bool ColdWaterTankVacuumValve { get { return _coldWaterTankVacuumValve; } set { _coldWaterTankVacuumValve = value; OnPropertyChanged(); } }
- private bool _coldWaterTankVacuumValve;
-
- /// <summary>
- /// 空压机启动反馈 V2002.1
- /// </summary>
- public bool CompressorRunning { get { return _compressorRunning; } set { _compressorRunning = value; OnPropertyChanged(); } }
- private bool _compressorRunning;
-
- /// <summary>
- /// 心跳反馈 V2003.7
- /// </summary>
- public bool HeartBeat { get { return _heartBeat; } set { _heartBeat = value; OnPropertyChanged(); } }
- private bool _heartBeat;
-
- ///// 蒸汽梳水阀反馈
- ///// </summary>
- //public bool CardWater { get { return _cardWater; } set { _cardWater = value; OnPropertyChanged(); } }
- //private bool _cardWater;
-
- ///// <summary>
- ///// 称重水罐负压阀反馈
- ///// </summary>
- //public bool WeightPot { get { return _weightPot; } set { _weightPot = value; OnPropertyChanged(); } }
- //private bool _weightPot;
- #endregion
-
- #region 模拟量
- /// <summary>
- /// 反应釜温度 VD2006
- /// </summary>
- public float ReactTemp { get { return _reactTemp; } set { _reactTemp = value; OnPropertyChanged(); } }
- private float _reactTemp;
-
- /// <summary>
- /// 反应釜蒸汽压力 VD2010
- /// </summary>
- public float ReactSteamPressure { get { return _reactSteamPressure; } set { _reactSteamPressure = value; OnPropertyChanged(); } }
- private float _reactSteamPressure;
-
- /// <summary>
- /// 反应釜蒸汽流量 VD2014
- /// </summary>
- public float ReactSteamFlow { get { return _reactSteamFlow; } set { _reactSteamFlow = value; OnPropertyChanged(); } }
- private float _reactSteamFlow;
-
- /// <summary>
- /// 冷凝水罐温度 VD2018
- /// </summary>
- public float ColdWaterTankTemp { get { return _coldWaterTankTemp; } set { _coldWaterTankTemp = value; OnPropertyChanged(); } }
- private float _coldWaterTankTemp;
-
- /// <summary>
- /// 冷凝水罐湿度 VD2022
- /// </summary>
- public float ColdWaterTankHumidity { get { return _coldWaterTankHumidity; } set { _coldWaterTankHumidity = value; OnPropertyChanged(); } }
- private float _coldWaterTankHumidity;
-
- /// <summary>
- /// 负压流量 VD2026
- /// </summary>
- public float VacuumFlow { get { return _vacuumFlow; } set { _vacuumFlow = value; OnPropertyChanged(); } }
- private float _vacuumFlow;
-
- /// <summary>
- /// 称重水罐重量 VD2030
- /// </summary>
- public float WaterTankWeight { get { return _waterTankWeight; } set { _waterTankWeight = value; OnPropertyChanged(); } }
- private float _waterTankWeight;
-
- /// <summary>
- /// 反应釜编码器值 VD2034
- /// </summary>
- public float ReactEncoderValue { get { return _reactEncoderValue; } set { _reactEncoderValue = value; OnPropertyChanged(); } }
- private float _reactEncoderValue;
-
- /// <summary>
- /// 蒸汽比例阀实际开度 VD2038
- /// </summary>
- public float SteamProportValveRealOpening { get { return _steamProportValveRealOpening; } set { _steamProportValveRealOpening = value; OnPropertyChanged(); } }
- private float _steamProportValveRealOpening;
-
- /// <summary>
- /// 卤水配制罐重量 VD2042
- /// </summary>
- public float BrineTankWeight { get { return _brineTankWeight; } set { _brineTankWeight = value; OnPropertyChanged(); } }
- private float _brineTankWeight;
-
- /// <summary>
- /// 反应釜压力 VD2046
- /// </summary>
- public float ReactPressure { get { return _reactPressure; } set { _reactPressure = value; OnPropertyChanged(); } }
- private float _reactPressure;
- #endregion
- }
- }
|