using System; namespace Mesnac.Action.ChemicalWeighing.LjPressure { /// /// PressureSetting:实体类(属性说明自动提取数据库字段的描述信息) /// [Serializable] public partial class PressureSettingView { public PressureSettingView() { } #region Model private int _id; private string _name; private float? _actualvalue; private float _lowlimit; private float _highlimit; private int? _alarm; /// /// /// public int Id { set { _id = value; } get { return _id; } } /// /// /// public string Name { set { _name = value; } get { return _name; } } /// /// 实际值 用于显示 /// public float? ActualValue { set { _actualvalue = value; } get { return _actualvalue; } } /// /// 低压设定值 /// public float LowLimit { set { _lowlimit = value; } get { return _lowlimit; } } /// /// 高压设定值 /// public float HighLimit { set { _highlimit = value; } get { return _highlimit; } } /// /// 超压报警 /// public int? Alarm { set { _alarm = value; } get { return _alarm; } } #endregion Model } public class PressureSettingListView : PressureSettingView { public string AlarmValue { get; set; } } }