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.
79 lines
2.1 KiB
C#
79 lines
2.1 KiB
C#
using SqlSugar;
|
|
|
|
namespace ProductionSystem_Model.DbModel
|
|
{
|
|
/// <summary>
|
|
/// PLC点位配置
|
|
/// </summary>
|
|
[SugarTable("t_plcpoint")]
|
|
public class T_PlcPoint : BaseModel
|
|
{
|
|
/// <summary>
|
|
/// 点位编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "pointcode")]
|
|
public string PointCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 点位名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "pointname")]
|
|
public string PointName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 点位起始地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "pointstartaddress")]
|
|
public string PointStartAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// 长度
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "pointlength")]
|
|
public int PointLength { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数据类型
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "pointdatatype")]
|
|
public string PointDataType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 存结果表的字段名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "resultfield")]
|
|
public string ResultField { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否再主页面显示
|
|
/// 默认值: false
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "isshowmain")]
|
|
public bool IsShowMain { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否存数据库
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "issavedb")]
|
|
public bool IsSaveDb { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否测试项点位
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "istestitem")]
|
|
public bool IsTestItem { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否需要实时采集
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "is_realtime_collect")]
|
|
public bool IsRealTimeCollect { get; set; }
|
|
|
|
/// <summary>
|
|
/// 排序索引
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "sortindex")]
|
|
public int SortIndex { get; set; }
|
|
}
|
|
}
|