wxw
2024-08-30 d9e59ed2e947aff29b7c21a9b0e8b6e12d741692
Admin.NET/WCS.Application/Entity/WcsPlc.cs
@@ -1,11 +1,13 @@

using Org.BouncyCastle.Crypto;
namespace WCS.Application;
/// <summary>
/// PLC表
/// </summary>
[SugarTable("WCSPLC","PLC表")]
public class WcsPlc  : EntityBaseData
[SugarTable("WCSPLC", "PLC表")]
public class WcsPlc : EntityBaseData
{
    /// <summary>
    /// PLCIP地址
@@ -33,17 +35,22 @@
    [Required]
    [SugarColumn(ColumnName = "Type", ColumnDescription = "设备类型")]
    public PLCTypeEnum Type { get; set; }
    /// <summary>
    /// 仓库号
    /// </summary>
    [SugarColumn(ColumnName = "WareHouseNo", ColumnDescription = "仓库号", Length = 20)]
    public string? WareHouseNo { get; set; }
    /// <summary>
    /// 描述
    /// </summary>
    [SugarColumn(ColumnName = "Text", ColumnDescription = "描述", Length = 100)]
    public string? Text { get; set; }
    /// <summary>
    /// 是否连接
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    public bool IsConn { get; set; } = false;
}