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
|
|
|
|
|
|
|
var statHeaderStrings = {};
|
|
|
|
statHeaderStrings.ZoneName = "<?php echo translate('Zone') ?>";
|
|
|
|
statHeaderStrings.PixelDiff = "<?php echo translate('PixelDiff') ?>";
|
|
|
|
statHeaderStrings.AlarmPixels = "<?php echo translate('AlarmPx') ?>";
|
|
|
|
statHeaderStrings.FilterPixels = "<?php echo translate('FilterPx') ?>";
|
|
|
|
statHeaderStrings.BlobPixels = "<?php echo translate('BlobPx') ?>";
|
|
|
|
statHeaderStrings.Blobs = "<?php echo translate('Blobs') ?>";
|
|
|
|
statHeaderStrings.BlobSizes = "<?php echo translate('BlobSizes') ?>";
|
|
|
|
statHeaderStrings.AlarmLimits = "<?php echo translate('AlarmLimits') ?>";
|
|
|
|
statHeaderStrings.Score = "<?php echo translate('Score') ?>";
|
|
|
|
|