Energy meter(wh,kwh):measure the amount of electricity emitted and consumed by the device within a certain period of time.