private async void InitAlarmHub() { alarmHub = new AlarmHub(SignalRServerURI); alarmHub.GetDeviceAlarms += AlarmHub_GetDeviceAlarms; alarmHub.GetLocationAlarms += AlarmHub_GetLocationAlarms; await alarmHub.Start(); }