Add missing fields. defaults need to be quoted because they are evalled
This commit is contained in:
parent
440bb12a9a
commit
263a846251
|
@ -40,6 +40,10 @@ $serial = $primary_key = 'Id';
|
||||||
MonitorId
|
MonitorId
|
||||||
Type
|
Type
|
||||||
Units
|
Units
|
||||||
|
NumCoords
|
||||||
|
Coords
|
||||||
|
Area
|
||||||
|
AlarmRGB
|
||||||
CheckMethod
|
CheckMethod
|
||||||
MinPixelThreshold
|
MinPixelThreshold
|
||||||
MaxPixelThreshold
|
MaxPixelThreshold
|
||||||
|
@ -59,9 +63,13 @@ $serial = $primary_key = 'Id';
|
||||||
|
|
||||||
%defaults = (
|
%defaults = (
|
||||||
Name => '',
|
Name => '',
|
||||||
Type => 'Active',
|
Type => q`'Active'`,
|
||||||
Units => 'Pixels',
|
Units => q`'Pixels'`,
|
||||||
CheckMethod => 'Blobs',
|
NumCoords => 0,
|
||||||
|
Coords => '',
|
||||||
|
Area => 0,
|
||||||
|
AlarmRGB => 0,
|
||||||
|
CheckMethod => q`'Blobs'`,
|
||||||
MinPixelThreshold => undef,
|
MinPixelThreshold => undef,
|
||||||
MaxPixelThreshold => undef,
|
MaxPixelThreshold => undef,
|
||||||
MinAlarmPixels => undef,
|
MinAlarmPixels => undef,
|
||||||
|
|
Loading…
Reference in New Issue