private IGatewayMonitor GettheMonitorService(string gatewayId) { var nodeId = gatewayId.Substring(0, gatewayId.IndexOf("+")); return(GatewayService.GetGatewaySupervisorServiceAsync(nodeId, false).Result); }