/// <summary>
        /// Delegatormethode
        /// </summary>
        public void Planen()
        {
            if (this.cont == null)
              {
              this.cont = DataContainer.Instance;
              }

              this.KategorieBestimmen();
              this.PrimaereProduktionsplanung();
              this.Lagerendwert();

              if (cont.UeberstundenErlaubt)
              {
              this.SetUeberstunde();
              }
              else
              {
              this.AnpassungMengeAnZeit();
              }
              Dictionary<int, int[]> tmp = new Dictionary<int, int[]>();
              foreach (Arbeitsplatz arbPl in this.cont.ArbeitsplatzList)
              {
              this.ReihenfolgeAnpassung(arbPl, ref tmp);
              }
              this.ReihenfolgePart2(tmp);
        }
 /// <summary>
 /// setzt die Prognosen auf Null, damit bei zwei maligem berechnen die Werte sich nicht verdoppeln
 /// </summary>
 public void ClearData()
 {
     if (this.cont == null)
       {
       this.cont = DataContainer.Instance;
       }
       foreach (Kaufteil teil in cont.KaufteilList)
       {
       teil.VerbrauchAktuell = 0;
       teil.VerbrauchPrognose1 = 0;
       teil.VerbrauchPrognose2 = 0;
       teil.VerbrauchPrognose3 = 0;
       }
       foreach (ETeil teil in cont.ETeilList)
       {
       teil.VerbrauchAktuell = 0;
       teil.VerbrauchPrognose1 = 0;
       teil.VerbrauchPrognose2 = 0;
       teil.VerbrauchPrognose3 = 0;
       }
 }
 public Produktionsplanung()
 {
     this.cont = DataContainer.Instance;
 }