namespace ClassNotify.Shared.Models;
///
/// 教室终端健康心跳与运行状态 DTO (扩展版本感知与环境指标)
///
public class DeviceHeartbeatDto
{
public string? DeviceId { get; set; }
public string? ClassId { get; set; }
public string? CorrelationId { get; set; }
public DateTimeOffset SentAtUtc { get; set; } = DateTimeOffset.UtcNow;
///
/// Windows Service 守护进程版本号 (如 "2.5.0")
///
public string ServiceVersion { get; set; } = string.Empty;
///
/// WPF / 前台显示客户端版本号 (如 "2.5.0")
///
public string ClientVersion { get; set; } = string.Empty;
///
/// 终端协议版本 (默认 1)
///
public int ProtocolVersion { get; set; } = 1;
///
/// 操作系统版本信息 (如 "Microsoft Windows 10.0.19045")
///
public string OsVersion { get; set; } = string.Empty;
///
/// 操作系统与处理器架构 (如 "X64", "Arm64")
///
public string Architecture { get; set; } = string.Empty;
///
/// WPF 界面主进程是否正常运行并处于 IPC 连接状态
///
public bool ClientProcessAvailable { get; set; } = true;
}