public TimerService() { try { DeviceAlarmService = DependencyService.Get <IDeviceAlarmService>(); DeviceAlarmService.AlarmEvent += OnAlarmEvent; } catch (Exception ex) { } }
public TimerService() { try { DeviceAlarmService = DependencyService.Get <IDeviceAlarmService>(); DeviceAlarmService.AlarmEvent += OnAlarmEvent; } catch (Exception ex) { } }