opensourceautomation / Open-Source-Automation

Open Source Automation is a home and commercial automation engine
www.opensourceautomation.com
GNU Lesser General Public License v3.0
97 stars 63 forks source link

Phidgets RFID - Boolean settings problem #341

Closed VaughnRupp closed 8 years ago

VaughnRupp commented 8 years ago

OSA's uppercase TRUE/FALSE breaks the val() used to read in the settings, forcing them to all load as False.

VaughnRupp commented 8 years ago

Changed all to Convert.ToBoolean() and they seem to load ok now. Val was used because of NULL values and the Instal.sql did not have defaults. I fixed the SQL so all the Booleans have proper defaults and NULLs should not affect this code. However it should still be error trapped if there are any more issues. But I would like to convert to the C# base code in the future so will leave as is for now.

VaughnRupp commented 8 years ago

RFID tested well, very happy with it and the Object Type tied script I wrote. closing the ticket and publishing as 048A.