You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.3 KiB

using Entity.DbModel.Station;
using HybirdFrameworkCore.Entity;
namespace Entity.Dto.Req;
///<summary>
///设备信息表
///</summary>
public class EquipInfoReq
{
}
public class PageEquipInfoReq : QueryPageModel
{
/// <summary>
/// Desc:设备编码
/// Default:
/// Nullable:True
/// </summary>
public string? Code { get; set; }
/// <summary>
/// Desc:设备名称
/// Default:
/// Nullable:True
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Desc:设备状态;0-未知1-正常2-报警3-停用
/// Default:
/// Nullable:True
/// </summary>
public int? Status { get; set; }
}
public class AddEquipInfoReq : EquipInfo
{
/// <summary>
/// Desc:连接地址
/// Default:
/// Nullable:True
/// </summary>
public string NetAddr { get; set; }
/// <summary>
/// Desc:连接端口
/// Default:
/// Nullable:True
/// </summary>
public string NetPort { get; set; }
/// <summary>
/// Desc:目的地址;十六进制如0a,02,03,04
/// Default:
/// Nullable:True
/// </summary>
public string DestAddr { get; set; }
}
public class UpdateEquipInfoReq : AddEquipInfoReq
{
}
public class DeleteEquipInfoReq : BaseIdReq
{
}