Management of the Greenhouse Environment for Quality Control