using ClassNotify.Shared.Models;
namespace ClassNotify.Shared.Contracts;
///
/// 教师控制端 (Web / Android) 接收来自服务端的强类型 SignalR 契约
///
public interface ITeacherHubClient
{
///
/// 设备在线状态变更通知 (上线/离线/心跳刷新)
///
Task OnDeviceStatusChanged(DeviceStatusDto status);
///
/// 消息回执更新 (已送达、学生已点击【我知道了】、超时关闭)
///
Task OnAckReceiptReceived(AckReceiptDto receipt);
///
/// 收到教室端健康自检体检报告
///
Task OnHealthReportReceived(DeviceHealthReportDto report);
///
/// 新消息广播
///
Task OnNewNotificationBroadcast(NotificationDto notification);
///
/// 远程运维命令状态变更 (Pending -> Dispatched -> Succeeded / Failed / TimedOut / Expired)
///
Task OnDeviceCommandStatusChanged(DeviceCommandResultDto result);
///
/// 通知撤回/提前关闭广播
///
Task OnNotificationCancelled(string notificationId);
///
/// 视觉回执(现场大屏通知截图)上传完成广播
///
Task OnVisualReceiptUploaded(VisualReceiptUploadedEvent evt);
}