You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lj_plc/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressureSettingView.cs

91 lines
1.4 KiB
C#

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