namespace CellularManagement.Application.Features.DeviceRuntimes.Queries.GetDeviceRuntimes;
///
/// 获取设备运行时状态列表响应
///
public class GetDeviceRuntimesResponse
{
///
/// 总记录数
///
public int TotalCount { get; set; }
///
/// 当前页码
///
public int PageNumber { get; set; }
///
/// 每页记录数
///
public int PageSize { get; set; }
///
/// 总页数
///
public int TotalPages { get; set; }
///
/// 设备运行时状态列表
///
public List Items { get; set; } = new();
}
///
/// 设备运行时状态数据传输对象
///
public class DeviceRuntimeDto
{
///
/// 运行时状态ID
///
public string Id { get; set; } = null!;
///
/// 设备编号
///
public string DeviceCode { get; set; } = null!;
///
/// 运行时状态
///
public string RuntimeStatus { get; set; } = null!;
///
/// 运行编码
///
public string? RuntimeCode { get; set; }
///
/// 网络栈配置编号
///
public string? NetworkStackCode { get; set; }
///
/// 创建时间
///
public DateTime CreatedAt { get; set; }
///
/// 更新时间
///
public DateTime UpdatedAt { get; set; }
///
/// 设备信息
///
public DeviceInfoDto? Device { get; set; }
}
///
/// 设备信息数据传输对象
///
public class DeviceInfoDto
{
///
/// 设备ID
///
public string Id { get; set; } = null!;
///
/// 设备名称
///
public string Name { get; set; } = null!;
///
/// 设备序列号
///
public string SerialNumber { get; set; } = null!;
///
/// 设备编码
///
public string DeviceCode { get; set; } = null!;
///
/// 设备描述
///
public string Description { get; set; } = null!;
///
/// IP地址
///
public string IpAddress { get; set; } = null!;
///
/// Agent端口
///
public int AgentPort { get; set; }
///
/// 是否启用
///
public bool IsEnabled { get; set; }
}