public void UpdateDevicesAndBindings(DeviceListResponseEventArgs e)
 {
     GlobalHost.ConnectionManager.GetHubContext <WebControlHub>().Clients.All.updateDevices(e);
 }
示例#2
0
 private void _deviceController_DeviceListChangedEvent(object sender, DeviceListResponseEventArgs e)
 {
     _webAccessHost.UpdateDevicesAndBindings(e);
 }
 protected virtual void DeviceListChangedEvent(DeviceListResponseEventArgs e)
 {
     GlobalHost.ConnectionManager.GetHubContext <WebControlHub>().Clients.All.updateVol(e);
 }