Dustproof and waterproof bearings for industrial machinery