Files
2024-12-18 15:50:21 +08:00

119 lines
3.2 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Model
{
/// <summary>
/// 速度表设置
/// </summary>
[Table(Name = "MeterSpeed")]
public class MeterSpeed
{
/// <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; }
/// <summary>
/// ///////////////////////////////////////////跟随速度小步骤的常量数据///////////////////////////////////////////////////////
/// </summary>
/// <summary>
/// 输出锁定0/1
/// 跟随速度步骤的常值数据
/// </summary>
[Column(Name = "OutLock")]
public bool OutLock { get; set; }
/// <summary>
///参数编号116
/// 跟随速度步骤的常值数据
/// </summary>
[Column(Name = "ParNo")]
public int ParNo { get; set; }
/// <summary>
///EV14
/// 跟随速度步骤的常值数据
/// </summary>
[Column(Name = "Ev")]
public int Ev { get; set; }
// <summary>
/// 压缩机使能0/1
/// 跟随速度步骤的常值数据
/// </summary>
[Column(Name = "CapEnable")]
public bool CapEnable { get; set; }
// <summary>
/// 吸排气阀0/1
/// 跟随速度步骤的常值数据
/// </summary>
[Column(Name = "InhExhValve")]
public bool InhExhValve { get; set; }
// <summary>
/// 加热器使能0/1PTC使能
/// 跟随速度步骤的常值数据
/// </summary>
[Column(Name = "PTCEnable")]
public bool PTCEnable { 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; }
}
}