123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- using LiveCharts;
- using MECF.Framework.Common.CommonData.Metal;
- using Prism.Mvvm;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace CyberX8_MainPages.Model
- {
- public class ReservoirsUIData : BindableBase
- {
- #region 内部变量
- /// <summary>
- /// metal名字
- /// </summary>
- private string _name;
- /// <summary>
- /// 模块是否可用
- /// </summary>
- private bool _isEnable;
- /// <summary>
- /// 模块Auto模式可用
- /// </summary>
- private bool _isAutoEnable;
- /// <summary>
- /// metal WHClamp阀
- /// </summary>
- private bool _isFlowing1;
- /// <summary>
- /// metal WHUnClamp阀
- /// </summary>
- private bool _isFlowing2;
- /// <summary>
- /// metal CellFlowValve
- /// </summary>
- private bool _isFlowing3;
- /// <summary>
- /// catholyte页面metal液位过高指示灯
- /// </summary>
- private bool _isMetalCellHigh;
- /// <summary>
- /// catholyte页面metal液位过低指示灯
- /// </summary>
- private bool _isMetalCellLow;
- /// <summary>
- ///Aonlyte页面A面metal液位过高指示灯
- /// </summary>
- private bool _isMetalCellSideAHigh;
- /// <summary>
- /// Aonlyte页面A面metal液位过低指示灯
- /// </summary>
- private bool _isMetalCellSideALow;
- /// <summary>
- /// Aonlyte页面B面metal液位过高指示灯
- /// </summary>
- private bool _isMetalCellSideBHigh;
- /// <summary>
- /// Aonlyte页面B面metal液位过低指示灯
- /// </summary>
- private bool _isMetalCellSideBLow;
- /// <summary>
- /// metal阴极流量
- /// </summary>
- private double _metalCellFlow;
- /// <summary>
- /// metal A面流量
- /// </summary>
- private double _metalSideAFlow;
- /// <summary>
- /// metal B面流量
- /// </summary>
- private double _metalSideBFlow;
- /// <summary>
- ///metal A面状态
- /// </summary>
- private string _metalSideAStatus;
- /// <summary>
- ///metal B面状态
- /// </summary>
- private string _metalSideBStatus;
- /// <summary>
- /// metal阴极流量阀
- /// </summary>
- private bool _metalCellFlowValve;
- /// <summary>
- /// AN泵是否启用
- /// </summary>
- private bool _anPumpEnable;
- /// <summary>
- /// 是否Manual模式
- /// </summary>
- private bool _isManualOperationMode;
- /// <summary>
- /// metal设备相关数据
- /// </summary>
- private CompactMembranMetalDeviceData _metalDatas;
- /// <summary>
- ///阳极metal A面是否注满
- /// </summary>
- private bool _isSideAFull = false;
- /// <summary>
- ///阳极metal B面是否注满
- /// </summary>
- private bool _isSideBFull = false;
- #endregion
- #region 属性
- public string Name { get { return _name; } set { SetProperty(ref _name, value); } }
-
- public bool IsEnable { get { return _isEnable; } set { SetProperty(ref _isEnable, value); } }
-
- public bool IsAutoEnable { get { return _isAutoEnable; } set { SetProperty(ref _isAutoEnable, value); } }
-
- public bool IsFlowing1 { get { return _isFlowing1; } set { SetProperty(ref _isFlowing1, value); } }
-
- public bool IsFlowing2 { get { return _isFlowing2; } set { SetProperty(ref _isFlowing2, value); } }
-
- public bool IsFlowing3 { get { return _isFlowing3; } set { SetProperty(ref _isFlowing3, value); } }
-
- public bool IsMetalCellHigh { get { return _isMetalCellHigh; } set { SetProperty(ref _isMetalCellHigh, value); } }
-
- public bool IsMetalCellLow { get { return _isMetalCellLow; } set { SetProperty(ref _isMetalCellLow, value); } }
- public bool IsMetalCellSideAHigh { get { return _isMetalCellSideAHigh; } set { SetProperty(ref _isMetalCellSideAHigh, value); } }
- public bool IsMetalCellSideALow { get { return _isMetalCellSideALow; } set { SetProperty(ref _isMetalCellSideALow, value); } }
- public bool IsMetalCellSideBHigh { get { return _isMetalCellSideBHigh; } set { SetProperty(ref _isMetalCellSideBHigh, value); } }
- public bool IsMetalCellSideBLow { get { return _isMetalCellSideBLow; } set { SetProperty(ref _isMetalCellSideBLow, value); } }
- public bool MetalCellFlowValve { get { return _metalCellFlowValve; } set { SetProperty(ref _metalCellFlowValve, value); } }
-
- public bool ANPumpEnable { get { return _anPumpEnable; } set { SetProperty(ref _anPumpEnable, value); } }
-
- public bool IsManualOperationMode { get { return _isManualOperationMode; } set { SetProperty(ref _isManualOperationMode, value); } }
-
- public double MetalCellFlow { get { return _metalCellFlow; } set { SetProperty(ref _metalCellFlow, value); } }
-
- public double MetalSideAFlow { get { return _metalSideAFlow; } set { SetProperty(ref _metalSideAFlow, value); } }
-
- public double MetalSideBFlow { get { return _metalSideBFlow; } set { SetProperty(ref _metalSideBFlow, value); } }
- public string MetalSideAStatus { get { return _metalSideAStatus; } set { SetProperty(ref _metalSideAStatus, value); } }
-
- public string MetalSideBStatus { get { return _metalSideBStatus; } set { SetProperty(ref _metalSideBStatus, value); } }
-
- public CompactMembranMetalDeviceData MetalDatas { get { return _metalDatas; } set { SetProperty(ref _metalDatas, value); } }
- public bool IsSideAFull { get { return _isSideAFull; } set { SetProperty(ref _isSideAFull, value); } }
- public bool IsSideBFull{ get { return _isSideBFull; } set { SetProperty(ref _isSideBFull, value); } }
- #endregion
- }
- }
|