Add missing fields. defaults need to be quoted because they are evalled

This commit is contained in:
Isaac Connor 2021-09-04 10:43:38 -04:00
parent 29e8d39c74
commit 09d4f0f9c2
1 changed files with 11 additions and 3 deletions

View File

@ -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,