1添加真值表XML配置
2添加实时气体流量显示界面,封装单独用户控件 3添加后台数据绑定,添加后台数据 4修改S02数据不显示问题
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
|
||||
namespace MECF.Framework.Common.Aitex.Core.Common.DeviceData
|
||||
{
|
||||
public class GasFlowData
|
||||
{
|
||||
private const double RUN_LOWER_LIMIT = 2.0;
|
||||
|
||||
public string GasName { get; set; }
|
||||
|
||||
public double Flow { get; set; }
|
||||
|
||||
public double RunFlow { get; set; }
|
||||
|
||||
public double VentFlow { get; set; }
|
||||
|
||||
public double Mol { get; set; }
|
||||
|
||||
public bool IsRun => Flow > RUN_LOWER_LIMIT;
|
||||
|
||||
public Visibility RunVisibility => RunFlow > RUN_LOWER_LIMIT ? Visibility.Visible : Visibility.Hidden;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user