Added X10 fields.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@189 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
68f3c0f0e2
commit
db41acd9d0
|
@ -13,6 +13,9 @@ alter table Monitors add column PostEventCount smallint unsigned NOT NULL defaul
|
|||
alter table Monitors add column AlarmFrameCount smallint unsigned NOT NULL default '1';
|
||||
alter table Monitors add column FPSReportInterval smallint unsigned NOT NULL default '250';
|
||||
alter table Monitors add column RefBlendPerc tinyint unsigned NOT NULL default '10';
|
||||
alter table Monitors add column X10Active char(32);
|
||||
alter table Monitors add column X10Alarm char(32);
|
||||
alter table Monitors modify column Function enum('None','Passive','Active','X10') default 'Passive' not null;
|
||||
update Monitors set LabelFormat = '%%s - %y/%m/%d %H:%M:%S';
|
||||
update Monitors set LabelX = 0;
|
||||
update Monitors set LabelY = Height-8;
|
||||
|
|
|
@ -74,7 +74,7 @@ CREATE TABLE Frames (
|
|||
CREATE TABLE Monitors (
|
||||
Id int(10) unsigned NOT NULL auto_increment,
|
||||
Name tinytext NOT NULL,
|
||||
Function enum('None','Passive','Active') NOT NULL default 'Passive',
|
||||
Function enum('None','Passive','Active','X10') NOT NULL default 'Passive',
|
||||
Device tinyint(3) unsigned NOT NULL default '0',
|
||||
Channel tinyint(3) unsigned NOT NULL default '0',
|
||||
Format tinyint(3) unsigned NOT NULL default '0',
|
||||
|
@ -91,6 +91,8 @@ CREATE TABLE Monitors (
|
|||
AlarmFrameCount smallint(5) unsigned NOT NULL default '1',
|
||||
FPSReportInterval smallint(5) unsigned NOT NULL default '250',
|
||||
RefBlendPerc tinyint(3) unsigned NOT NULL default '10',
|
||||
X10Active varchar(32) default NULL,
|
||||
X10Alarm varchar(32) default NULL,
|
||||
PRIMARY KEY (Id)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
|
|
Loading…
Reference in New Issue