Smart photoelectric direct-reading cold/hot water meter