Registration of partial discharges of high-voltage equipment