From 21218491f7e1f94a5e7ff5bd520b79e57a4211a8 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 26 Nov 2021 19:22:07 -0500 Subject: [PATCH] Add EventStartCommand and EventEndCommand to monitors ui --- web/includes/Monitor.php | 2 ++ web/skins/classic/views/monitor.php | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/web/includes/Monitor.php b/web/includes/Monitor.php index 6423af11f..b5e2ef853 100644 --- a/web/includes/Monitor.php +++ b/web/includes/Monitor.php @@ -57,6 +57,8 @@ class Monitor extends ZM_Object { 'DecodingEnabled' => array('type'=>'boolean','default'=>1), 'LinkedMonitors' => array('type'=>'set', 'default'=>null), 'Triggers' => array('type'=>'set','default'=>''), + 'EventStartCommand' => '', + 'EventEndCommand' => '', 'ONVIF_URL' => '', 'ONVIF_Username' => '', 'ONVIF_Password' => '', diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index 3dc6937e8..657c2ce8c 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -675,6 +675,14 @@ if (count($available_monitor_ids)) { } ?> + + + + + + + +