Maintenance in operational condition and retrofitting of locomotives in the military railway service