Bug 301 - Alarm Maximum FPS now monitor specific.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1904 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2006-03-31 12:49:34 +00:00
parent cbfb343835
commit 8ddb996c14
2 changed files with 2 additions and 0 deletions

View File

@ -285,6 +285,7 @@ CREATE TABLE Monitors (
SectionLength int(10) unsigned NOT NULL default '600',
FrameSkip smallint(5) unsigned NOT NULL default '0',
MaxFPS decimal(5,2) default NULL,
AlarmMaxFPS decimal(5,2) default NULL,
FPSReportInterval smallint(5) unsigned NOT NULL default '250',
RefBlendPerc tinyint(3) unsigned NOT NULL default '10',
Controllable tinyint(3) unsigned NOT NULL default '0',

View File

@ -14,6 +14,7 @@ alter table Monitors modify column LabelX smallint(5) unsigned not null default
alter table Monitors modify column LabelY smallint(5) unsigned not null default 0;
alter table Monitors modify column MaxFPS decimal(5,2) default NULL;
update Monitors set MaxFPS = NULL where MaxFPS = 0.00;
alter table Monitors add column AlarmMaxFPS decimal(5,2) default NULL after MaxFPS;
--
-- Modify zone presets a bit