Measurement mechanism of solar photovoltaic panels