Legrand to Buy Middle Atlantic