using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
using WCS.PLC.Model.Equipment;
namespace WCS.PLC
{
public class WCS_DBDEFINITION
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public int DB_ID { get; set; }
///
/// PLC名称
///
public string DB_PLCNAME { get; set; }
///
/// DB块编号
///
public int DB_NAME { get; set; }
///
/// DB类型
///
public int DB_TYPE { get; set; }
[SugarColumn(IsIgnore = true)]
public DB_TypeEnum DB_TypeCh
{
get
{
return (DB_TypeEnum)DB_TYPE;
}
}
///
/// DB起点地址
///
public int DB_STARTADDRESS { get; set; }
///
/// DB长度
///
public int DB_LENGTH { get; set; }
///
/// DB总长度
///
public int DB_TOLLENGTH { get; set; }
public string DB_NOTES { get; set; }
public byte[] DB_EQUDATA { get; set; }
}
}