Compressor electric circuit used in water fountain