using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Model
{
///
/// PTC入口温度(℃) 表设置
///
[Table(Name = "MeterPTCEntTemp")]
public class MeterPTCEntTemp
{
///
/// 主键
///
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
///
/// 程序步骤序号
///
[Column(Name = "StepNo")]
public int StepNo { get; set; }
///
/// 开始值
///
[Column(Name = "StartValue")]
public double StartValue { get; set; }
///
/// 结束值
///
[Column(Name = "EndValue")]
public double EndValue { get; set; }
///
/// 维持时间
///
[Column(Name = "KeepTime")]
public int KeepTime { get; set; }
///
/// 配置值类型
///
[Column(MapType = typeof(int))]
public ConfigValueType ValueType { get; set; }
///
/// 常值
/// 在ValueType为常值时会使用
///
[Column(Name = "Constant")]
public double Constant { get; set; }
///
/// PID No
///
[Column(Name = "PIDNo")]
public int PIDNo { get; set; }
///
/// 限幅 No
///
[Column(Name = "LimitNo")]
public int LimitNo { get; set; }
///
/// 报警 No
///
[Column(Name = "AlarmNo")]
public int AlarmNo { get; set; }
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }
///
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
///
public long ProStepId { get; set; }
public ProStep? ProStep { get; set; }
}
}