update
This commit is contained in:
12
RobotApp/Hubs/RobotMonitorHub.cs
Normal file
12
RobotApp/Hubs/RobotMonitorHub.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
|
||||
namespace RobotApp.Hubs;
|
||||
|
||||
public class RobotMonitorHub : Hub
|
||||
{
|
||||
public async Task SendRobotMonitorData(RobotApp.Common.Shares.Dtos.RobotMonitorDto data)
|
||||
{
|
||||
await Clients.All.SendAsync("ReceiveRobotMonitorData", data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user