Added X10 output field.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@203 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2002-12-24 11:49:48 +00:00
parent dbd233999e
commit e8fc83f9d8
2 changed files with 6 additions and 4 deletions

View File

@ -13,8 +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 add column X10Activation char(32);
alter table Monitors add column X10AlarmInput char(32);
alter table Monitors add column X10AlarmOutput 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;

View File

@ -91,8 +91,9 @@ 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,
X10Activation varchar(32) default NULL,
X10AlarmInput varchar(32) default NULL,
X10AlarmOutput varchar(32) default NULL,
PRIMARY KEY (Id)
) TYPE=MyISAM;