71 lines
1.8 KiB
C#
71 lines
1.8 KiB
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CapMachine.Model
|
|
{
|
|
/// <summary>
|
|
/// LV电压 表设置
|
|
/// </summary>
|
|
[Table(Name = "MeterLVVol")]
|
|
public class MeterLVVol
|
|
{
|
|
/// <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 int 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; }
|
|
}
|
|
}
|