- notification = zavai.registry.sbus.get_object(
- "org.freesmartphone",
- "org/freesmartphone/Notification",
- "org.freesmartphone.Notification");
- notification.Alarm += on_alarm;
+ if (otimed_alarm == null)
+ zavai.log.error("ALARM IS NULL");
+
+ zavai.registry.sbus.register_object("/", listener);
+
+ //notification = zavai.registry.sbus.get_object(
+ // "org.freesmartphone",
+ // "org/freesmartphone/Notification",
+ // "org.freesmartphone.Notification");
+ //notification.Alarm += on_alarm;