2020-08-20 23:16:28 +08:00
|
|
|
<?php
|
|
|
|
global $scale;
|
2020-08-24 06:53:47 +08:00
|
|
|
global $eid;
|
|
|
|
global $fid;
|
|
|
|
global $alarmFrame;
|
2020-08-20 23:16:28 +08:00
|
|
|
?>
|
|
|
|
|
2019-02-10 07:10:42 +08:00
|
|
|
var scale = '<?php echo validJsStr($scale); ?>';
|
2016-10-27 01:34:28 +08:00
|
|
|
|
|
|
|
var SCALE_BASE = <?php echo SCALE_BASE ?>;
|
2020-08-24 06:53:47 +08:00
|
|
|
|
|
|
|
var eid = <?php echo $eid ?>;
|
|
|
|
var fid = <?php echo $fid ?>;
|
|
|
|
var record_event_stats = <?php echo ZM_RECORD_EVENT_STATS ?>;
|
|
|
|
var alarmFrame = <?php echo $alarmFrame ?>;
|
2020-12-14 03:20:26 +08:00
|
|
|
|
2021-01-10 06:01:32 +08:00
|
|
|
var statHeaderStrings = {
|
|
|
|
Id: '<?php echo translate('EventId') ?>',
|
|
|
|
FrameId: '<?php echo translate('FrameId') ?>',
|
|
|
|
ZoneName: '<?php echo translate('Zone') ?>',
|
|
|
|
PixelDiff: '<?php echo translate('PixelDiff') ?>',
|
|
|
|
AlarmPixels: '<?php echo translate('AlarmPx') ?>',
|
|
|
|
FilterPixels: '<?php echo translate('FilterPx') ?>',
|
|
|
|
BlobPixels: '<?php echo translate('BlobPx') ?>',
|
|
|
|
Blobs: '<?php echo translate('Blobs') ?>',
|
|
|
|
BlobSizes: '<?php echo translate('BlobSizes') ?>',
|
|
|
|
AlarmLimits: '<?php echo translate('AlarmLimits') ?>',
|
|
|
|
Score: '<?php echo translate('Score') ?>'
|
|
|
|
};
|