Beispiel #1
0
 private void OnCallCreate(object sender, RoutedEventArgs e)
 {
     //LoadMessage(new JObject { { "type", "cmd" }, { "id", "vcall-create" },
     //    { "data", new JObject {
     //        { "call-id", "testcall1" },
     //        { "sources", new JArray("EvacuationText") },
     //        { "zones", new JArray("Floor 3", "Floor 4", "Lobby", "Staircase") },
     //        { "priority", 42 },
     //        { "owner", "Workstation 1"}
     //    }}
     //});
     LoadMessage(Vd1.VCallCreate("testcall1", new string[] { "EvacuationText" },
                                 new string[] { "Floor 3", "Floor 4", "Lobby", "Staircase" }, 42, "Workstation 1"));
 }
Beispiel #2
0
 private void OnDeviceStatusFilter(object sender, RoutedEventArgs e)
 {
     LoadMessage(Vd1.VDeviceStatusFilter(ignore_not_installed: true, include_filter: null, exclude_filter: @"\.(pr|lr)\."));
 }
Beispiel #3
0
 private void OnDeviceStatus(object sender, RoutedEventArgs e)
 {
     LoadMessage(Vd1.VDeviceStatus(device_id: "*", ignore_not_installed: true, include_filter: @"lo\.64", exclude_filter: @"\.(pr|lr)\."));
 }