Skip to content

Commit bb61ba7

Browse files
Merge pull request #4740 from IgorA100/patch-583777
Feat: Added a description of some possible value options for recognizing ONVIF events on Monitor page
2 parents 9aa2f2c + 37fd7a0 commit bb61ba7

3 files changed

Lines changed: 41 additions & 1 deletion

File tree

web/lang/en_gb.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,26 @@ function zmVlang($langVarArray, $count) {
11061106
help to get it to work... it is confirmed to work in some chinese cameras that do not implement ONVIF entirely
11071107
'
11081108
),
1109+
'OPTIONS_ONVIF_Alarm_Text' => array(
1110+
'Help' => '
1111+
Text associated with event when alarm is activated.~~
1112+
Some standard values:~~
1113+
- AnalyticsService~~
1114+
- ConfigurationChanged~~
1115+
- Crossed~~
1116+
- DetectedSound~~
1117+
- Face~~
1118+
- FireAlarm~~
1119+
- IPConflict~~
1120+
- Motion~~
1121+
- MotionAlarm (set by default)~~
1122+
- ObjectsInside~~
1123+
- ProfileChanged~~
1124+
- SceneTemperature~~
1125+
- Tamper~~
1126+
For more details, see the instructions for your camera, as well as the specifications at the link:~~https://www.onvif.org/specs/core/ONVIF-Core-Specification.pdf
1127+
'
1128+
),
11091129
'ZM_OPT_TRAINING' => array(
11101130
'Prompt' => 'Enable custom model training features',
11111131
'Help' => 'Enable annotation tools on the event view for correcting object detection results.~~Corrected annotations are saved in YOLO format for training custom models via pyzm.~~When enabled, an Annotate button appears on the event view toolbar.'

web/lang/ru_ru.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,26 @@ function zmVlang( $langVarArray, $count )
11551155
~~ Отключение может помочь заставить работать ONVIF на некоторых китайских камерах, которые не полностью поддерживают ONVIF
11561156
'
11571157
),
1158+
'OPTIONS_ONVIF_Alarm_Text' => array(
1159+
'Help' => '
1160+
Текст, связанный с событием при активации тревоги.~~
1161+
Некоторые стандартные значения:~~
1162+
- AnalyticsService~~
1163+
- ConfigurationChanged~~
1164+
- Crossed~~
1165+
- DetectedSound~~
1166+
- Face~~
1167+
- FireAlarm~~
1168+
- IPConflict~~
1169+
- Motion~~
1170+
- MotionAlarm (по умолчанию)~~
1171+
- ObjectsInside~~
1172+
- ProfileChanged~~
1173+
- SceneTemperature~~
1174+
- Tamper~~
1175+
Более подробно смотрите в инструкции к своей камере, а также в спецификации по ссылке:~~https://www.onvif.org/specs/core/ONVIF-Core-Specification.pdf
1176+
'
1177+
),
11581178
'FUNCTION_ANALYSIS_ENABLED' => array(
11591179
'Help' => '
11601180
Когда следует выполнять обнаружение движения на захваченном видео.

web/skins/classic/views/monitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ class="nav-link<?php echo ($tab == $name ? ' active' : '') . ' ' . (($name == 'z
624624
<input type="text" name="newMonitor[ONVIF_Options]" value="<?php echo validHtmlStr($monitor->ONVIF_Options()) ?>"/>
625625
</li>
626626
<li class="ONVIF_Alarm_Text">
627-
<label><?php echo translate('ONVIF_Alarm_Text') ?></label>
627+
<label><?php echo translate('ONVIF_Alarm_Text'); echo makeHelpLink('OPTIONS_ONVIF_Alarm_Text') ?></label>
628628
<input type="text" name="newMonitor[ONVIF_Alarm_Text]" value="<?php echo validHtmlStr($monitor->ONVIF_Alarm_Text()) ?>"/>
629629
</li>
630630
<li class="SOAP_wsa_compl">

0 commit comments

Comments
 (0)