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