write immediate device status to postgresql table:WhatsUpDeviceStatus
add sqlclient class
add postgresql connection string