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