Line for the production of aerated concrete blocks and panels