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.
129 lines
3.4 KiB
C#
129 lines
3.4 KiB
C#
using SqlSugar;
|
|
|
|
namespace ZJ_BYD.Model
|
|
{
|
|
|
|
/// <summary>
|
|
/// PLC点位配置
|
|
/// </summary>
|
|
[SugarTable("t_plcpoint")]
|
|
public class T_PlcPoint : BaseModel
|
|
{
|
|
/// <summary>
|
|
/// 工控机标识
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "ipcid")]
|
|
public string IpcId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产线编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "linecode")]
|
|
public string LineCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工位编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "stationcode")]
|
|
public string StationCode { get; set; }
|
|
|
|
/// <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 string PointLength { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数据类型
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "pointdatatype")]
|
|
public string PointDataType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 存结果表的字段名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "resultfield")]
|
|
public string ResultField { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否再主页面显示
|
|
/// 默认值: b'0'
|
|
///</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 = "isresponsedata")]
|
|
public bool IsResponseData { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否组件条码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "issub")]
|
|
public bool IsSub { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否系统内置点位
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "issystem")]
|
|
public bool IsSystem { get; set; }
|
|
|
|
/// <summary>
|
|
/// 排序索引
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "sortindex")]
|
|
public int SortIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "remark")]
|
|
public string Remark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否启用
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "isactive")]
|
|
public bool IsActive { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否删除
|
|
/// 默认值: b'0'
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "isdeleted")]
|
|
public bool IsDeleted { get; set; }
|
|
}
|
|
}
|