提交了仪表的模型
This commit is contained in:
70
CapMachine.Model/MeterConfig/MeterCond2Temp.cs
Normal file
70
CapMachine.Model/MeterConfig/MeterCond2Temp.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// COND2温度 表设置
|
||||
/// </summary>
|
||||
[Table(Name = "MeterCond2Temp")]
|
||||
public class MeterCond2Temp
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序步骤序号
|
||||
/// </summary>
|
||||
[Column(Name = "StepNo")]
|
||||
public int StepNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始值
|
||||
/// </summary>
|
||||
[Column(Name = "StartValue")]
|
||||
public double StartValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束值
|
||||
/// </summary>
|
||||
[Column(Name = "EndValue")]
|
||||
public double EndValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 维持时间
|
||||
/// </summary>
|
||||
[Column(Name = "KeepTime")]
|
||||
public double KeepTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置值类型
|
||||
/// </summary>
|
||||
[Column(MapType = typeof(int))]
|
||||
public ConfigValueType ValueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 常值
|
||||
/// 在ValueType为常值时会使用
|
||||
/// </summary>
|
||||
[Column(Name = "Constant")]
|
||||
public double Constant { get; set; }
|
||||
|
||||
|
||||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
||||
/// </summary>
|
||||
|
||||
public long ProStepId { get; set; }
|
||||
public ProStep? ProStep { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user