Diagnosis and determination of the load-carrying capacity of lifting equipment, static and dynamic inspection