Added monitor count fields to database.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@122 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2002-11-22 12:10:47 +00:00
parent db6e5103b9
commit 3a3faa5a70
1 changed files with 10 additions and 6 deletions

View File

@ -51,18 +51,22 @@ CREATE TABLE Monitors (
Id int(10) unsigned NOT NULL auto_increment,
Name tinytext NOT NULL,
Function enum('None','Passive','Active') NOT NULL default 'Passive',
Device tinyint(3) unsigned default '0',
Device tinyint(3) unsigned NOT NULL default '0',
Channel tinyint(3) unsigned NOT NULL default '0',
Format tinyint(3) unsigned default NULL,
Format tinyint(3) unsigned NOT NULL default '0',
Width smallint(5) unsigned NOT NULL default '0',
Height smallint(5) unsigned NOT NULL default '0',
Colours tinyint(3) unsigned NOT NULL default '0',
LabelFormat varchar(32) default NULL,
LabelFormat varchar(32) NOT NULL default '%%s - %y/%m/%d %H:%M:%S',
LabelX smallint(5) unsigned default NULL,
LabelY smallint(5) unsigned default NULL,
WarmUpCount tinyint(3) unsigned default NULL,
PreEventCount tinyint(3) unsigned default NULL,
PostEventCount tinyint(3) unsigned default NULL,
ImageBufferCount smallint(5) unsigned NOT NULL default '100',
WarmupCount smallint(5) unsigned NOT NULL default '25',
PreEventCount smallint(5) unsigned NOT NULL default '10',
PostEventCount smallint(5) unsigned NOT NULL default '10',
AlarmFrameCount smallint(5) unsigned NOT NULL default '1',
FPSReportInterval smallint(5) unsigned NOT NULL default '250',
RefBlendPerc tinyint(3) unsigned NOT NULL default '10',
PRIMARY KEY (Id)
) TYPE=MyISAM;