You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
442 B

using JiLinApp.Docking.FenceAlarm;
using JiLinApp.Docking.VibrateAlarm;
using ReactiveUI;
using System;
namespace JiLinApp.Core.App;
public class MessageEvent
{
public static IObservable<TcpAlarmHostMessage> VibrateAlarm { get; } = MessageBus.Current.Listen<TcpAlarmHostMessage>("VibrateAlarm");
public static IObservable<UdpAlarmHostMessage> FenceAlarm { get; } = MessageBus.Current.Listen<UdpAlarmHostMessage>("FenceAlarm");
}