Fix nc network status
This commit is contained in:
@@ -43,17 +43,14 @@ namespace Step.Listeners.SignalR
|
||||
|
||||
public static void SendNcNetworkStatus(object ncStatus)
|
||||
{
|
||||
//if ((bool)ncStatus == false)
|
||||
{
|
||||
var context = GlobalHost.ConnectionManager.GetHubContext<NcHub>();
|
||||
// Send data to clients
|
||||
context.Clients.Group("ncData").ncNetworkStatus(
|
||||
new
|
||||
{
|
||||
connected = ncStatus
|
||||
}
|
||||
);
|
||||
}
|
||||
var context = GlobalHost.ConnectionManager.GetHubContext<NcHub>();
|
||||
// Send data to clients
|
||||
context.Clients.Group("ncData").ncNetworkStatus(
|
||||
new
|
||||
{
|
||||
connected = ncStatus
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
public static void SendProcessesData(object processesStatus)
|
||||
|
||||
Reference in New Issue
Block a user