2025-12-26 15:24:31 +08:00
|
|
|
|
using APT.BaseData.Domain.ApiModel.EX;
|
|
|
|
|
|
using APT.BaseData.Domain.Entities;
|
2025-08-25 09:56:57 +08:00
|
|
|
|
using APT.BaseData.Domain.Entities.FM;
|
|
|
|
|
|
using APT.BaseData.Domain.Enums;
|
|
|
|
|
|
using APT.Infrastructure.Api;
|
2025-12-26 15:24:31 +08:00
|
|
|
|
using APT.Infrastructure.Core;
|
2025-08-25 09:56:57 +08:00
|
|
|
|
using System;
|
2025-12-26 15:24:31 +08:00
|
|
|
|
using System.Collections.Generic;
|
2025-08-25 09:56:57 +08:00
|
|
|
|
using static APT.BaseData.Domain.ApiModel.SocketInfo;
|
|
|
|
|
|
|
|
|
|
|
|
namespace APT.BaseData.Domain.IServices.FM
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IFMNotificatoinService: ICommonService
|
|
|
|
|
|
{
|
2025-12-26 15:24:31 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 发送变更的菜单
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="Menus"></param>
|
|
|
|
|
|
/// <param name="userIds"></param>
|
|
|
|
|
|
void MenusChangeNotice(List<Guid> userIds,WebSocketClientTypeEnum clientType);
|
2025-08-25 09:56:57 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 发送通知公告
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="notificationType"></param>
|
|
|
|
|
|
/// <param name="title"></param>
|
|
|
|
|
|
/// <param name="message"></param>
|
|
|
|
|
|
void SendNotification(FMNotificationTypeEnum notificationType, FMNotificationClientTypeEnum clientType, string title, string message);
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 发送通知公告
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="sendNotificationModel"></param>
|
|
|
|
|
|
/// <param name="ingoreClientInfos"></param>
|
|
|
|
|
|
void SendNotification(SendNotificationModel sendNotificationModel, List<WebSocketClientInfo> ingoreClientInfos);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 发送报警通知公告
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="sendNotificationModel"></param>
|
|
|
|
|
|
/// <param name="ingoreClientInfos"></param>
|
|
|
|
|
|
void SendAlarmNotification(SendNotificationModel sendNotificationModel, List<WebSocketClientInfo> ingoreClientInfos);
|
|
|
|
|
|
void SendNotification(Guid userId, SocketData socketData);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|