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")); }
private void OnDeviceStatusFilter(object sender, RoutedEventArgs e) { LoadMessage(Vd1.VDeviceStatusFilter(ignore_not_installed: true, include_filter: null, exclude_filter: @"\.(pr|lr)\.")); }
private void OnDeviceStatus(object sender, RoutedEventArgs e) { LoadMessage(Vd1.VDeviceStatus(device_id: "*", ignore_not_installed: true, include_filter: @"lo\.64", exclude_filter: @"\.(pr|lr)\.")); }