| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 | using SqlSugar;using System.Collections.Generic;namespace WCS.Entity{    ///// <summary>    ///// 设备列表    ///// </summary>    //[SugarTable(nameof(WCS_DeviceInfo), "设备列表")]    //public class WCS_DeviceInfo : OBJ    //{    //    [SugarColumn(IsIgnore = true)]    //    public override int ID { get; set; }    //    /// <summary>    //    /// 设备编号    //    /// </summary>    //    [SugarColumn(IsPrimaryKey = true, ColumnDescription = "设备编号", Length = 50)]    //    public string Code { get; set; }    //    /// <summary>    //    /// 设备名称    //    /// </summary>    //    [SugarColumn(Length = 50, ColumnDescription = "设备名称")]    //    public string Name { get; set; }    //    /// <summary>    //    /// 设备可用协议集合    //    /// </summary>    //    [Navigate(NavigateType.OneToMany, nameof(WCS_DeviceProt.DeviceCode))]    //    public List<WCS_DeviceProt> DeviceProtocol { get; set; }    //    /// <summary>    //    /// 上一个设备集合    //    /// </summary>    //    [Navigate(NavigateType.OneToMany, nameof(WCS_Route.NextCode))]    //    public List<WCS_Route> FormerRoutes { get; set; }    //    /// <summary>    //    /// 下一个设备集合    //    /// </summary>    //    [Navigate(NavigateType.OneToMany, nameof(WCS_Route.DeviceCode))]    //    public List<WCS_Route> NextRoutes { get; set; }    //    /// <summary>    //    /// 设备可用路径集合    //    /// </summary>    //    [Navigate(NavigateType.OneToMany, nameof(WCS_PathGrp.StartCode))]    //    public List<WCS_PathGrp> Paths { get; set; }    //    /// <summary>    //    /// 设备对应设备组信息    //    /// </summary>    //    [Navigate(NavigateType.OneToMany, nameof(WCS_DeviceGrp.GroupCode))]    //    public List<WCS_DeviceGrp> DeviceGroup { get; set; }    //    public override string ToString()    //    {    //        return Code;    //    }    //}}
 |