Flange-type-motor