The plug and the socket of the electrical devices can operate normally in water or other media whether they are connected so as to realize direct waterproof insulated connection of electrified devices in water or other media, and the multiple electric passages can be insulated from one another.