using SqlSugar;
namespace WCS.Entity
{
    ///// 
    ///// DB块读写协议
    ///// 
    //[SugarTable(nameof(WCS_DeviceProt), "DB块读写协议")]
    //public class WCS_DeviceProt : OBJ
    //{
    //    /// 
    //    /// 设备编号
    //    /// 
    //    [SugarColumn(ColumnDescription = "设备")]
    //    public string DeviceCode { get; set; }
    //    /// 
    //    /// 设备信息
    //    /// 
    //    [Navigate(NavigateType.OneToOne, nameof(DeviceCode))]
    //    public WCS_DeviceInfo Device { get; set; }
    //    /// 
    //    /// DB编号
    //    /// 
    //    [SugarColumn(ColumnDescription = "DB编号")]
    //    public string DataBlockCode { get; set; }
    //    /// 
    //    /// DB信息
    //    /// 
    //    [Navigate(NavigateType.OneToOne, nameof(DataBlockCode))]
    //    public WCS_PlcDataBlock DB { get; set; }
    //    /// 
    //    /// 起始位置
    //    /// 
    //    [SugarColumn(ColumnDescription = "起始位置")]
    //    public short Position { get; set; }
    //}
}