|
@@ -230,8 +230,17 @@ public class RealtimeService : IRealtimeService, IScopeDependency
|
|
|
public Task EnforcementOrderHandlingDetailAsync(object obj, CancellationToken cancellationToken) =>
|
|
|
SendToGroupAsync(RealtimeGroupNames.EnforcementBigDataScreen, RealtimeMethods.EnforcementOrderHandlingDetail, obj, cancellationToken);
|
|
|
|
|
|
-
|
|
|
|
|
|
+ #region 话务排队信息
|
|
|
+
|
|
|
+ public Task TodayWaitNumAsync(int count, CancellationToken cancellationToken) =>
|
|
|
+ SendToGroupAsync(RealtimeGroupNames.CallCenter, RealtimeMethods.ToDayWaitNum, count, cancellationToken);
|
|
|
+
|
|
|
+ public Task CurrentWaitNumAsync(int count, CancellationToken cancellationToken) =>
|
|
|
+ SendToGroupAsync(RealtimeGroupNames.CallCenter, RealtimeMethods.CurrentWaitNum, count, cancellationToken);
|
|
|
+
|
|
|
+
|
|
|
+ #endregion
|
|
|
#region private
|
|
|
|
|
|
private async Task SendCallCenterMsgAsync(string userId, string msg, object? value, CancellationToken cancellationToken)
|
|
@@ -264,4 +273,7 @@ public class RealtimeService : IRealtimeService, IScopeDependency
|
|
|
_hubContext.Clients.Group(groupName).SendAsync(method, value, cancellationToken);
|
|
|
|
|
|
#endregion
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|