操控平台后端代码
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.

109 lines
2.2 KiB

using Admin.NET.Core;
namespace Admin.Bodk.Device.Entities.equipment;
/// <summary>
/// 获取设备分页列表输入参数
/// </summary>
public class DeviceInpt : BasePageInput
{
/// <summary>
/// 设备名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 主键
/// </summary>
public long Id { get; set; }
/// <summary>
/// 设备编号
/// </summary>
public string Code { get; set; }
/// <summary>
/// 设备类型
/// </summary>
public string Type { get; set; }
/// <summary>
/// 设备位置
/// </summary>
public string Position { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
}
/// <summary>
/// 删除设备输入参数
/// </summary>
public class DeleteEquipmentInput : BaseIdInput
{
/// <summary>
/// Id
/// </summary>
public long Id { get; set; }
}
/// <summary>
/// 删除设备输入参数
/// </summary>
public class EquipmentDto : BaseIdInput
{
/// <summary>
/// 主键
/// </summary>
public long Id { get; set; }
/// <summary>
/// 设备名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 设备编号
/// </summary>
public string Code { get; set; }
/// <summary>
/// 设备类型
/// </summary>
public string Type { get; set; }
/// <summary>
/// 设备位置
/// </summary>
public string Address { get; set; }
public float Humidity { get; set; }
public float Temperature { get; set; }
public float LiquidNitrogenHeight { get; set; }
public string BaseName { get; set; }
public string PicUrl { get; set; }
/// <summary>
/// IP
/// </summary>
public string Ip { get; set; }
/// <summary>
/// 设备状态
/// </summary>
public string Status { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
///
///
/// </summary>
public DateTime CreateTime { get; set; }
// public List<TaskChain.TaskChain> TaskChainList { get; set; }
}