private void SendAlarm_Click(object sender, RoutedEventArgs e)
 {
     AlarmMessage a = new AlarmMessage();
     HubProxy.Invoke("RaiseAlarm", a);
 }
Esempio n. 2
0
 public void RaiseAlarm(AlarmMessage notification)
 {
     Clients.All.SendNotification(notification);
 }