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.
60 lines
1.5 KiB
C#
60 lines
1.5 KiB
C#
using SqlSugar;
|
|
using System;
|
|
|
|
namespace CompressorXN_Model
|
|
{
|
|
/// <summary>
|
|
/// 参数项点位表
|
|
/// </summary>
|
|
[SugarTable("t_para_plc_point")]
|
|
public class T_ParaPlcPoint
|
|
{
|
|
public T_ParaPlcPoint()
|
|
{
|
|
Id = Guid.NewGuid().ToString();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
|
public string Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 参数类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "para_type")]
|
|
public string ParaType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 参数名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "para_name")]
|
|
public string ParaName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 目标值地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "target_address")]
|
|
public string TargetAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// 下限值地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "min_address")]
|
|
public string MinAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// 上限值地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "max_address")]
|
|
public string MaxAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否检查地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "check_address")]
|
|
public string CheckAddress { get; set; }
|
|
}
|
|
}
|