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