Linking industrial devices to building automation systems