Exemplo n.º 1
0
 public Utils.DefaultDict<string, string> AsReducedDict(bool Eisen = false, bool Stahl = false, bool VV4A = false, bool Chemie = false, bool Eis = false, bool Wasser = false, bool Energie = false, bool Bev = false, bool Credits = false, bool FP=false, bool Zeit = false)
 {
     Utils.DefaultDict<string, string> ret = new Utils.DefaultDict<string, string>();
     if (Eisen)
         ret.Add("Eisen", this.Eisen.ToString("N0"));
     if(Stahl)
         ret.Add("Stahl", this.Stahl.ToString("N0"));
     if (VV4A)
         ret.Add("VV4A", this.VV4A.ToString("N0"));
     if (Chemie)
         ret.Add("Chemie", this.Chemie.ToString("N0"));
     if (Eis)
         ret.Add("Eis", this.Eis.ToString("N0"));
     if (Wasser)
         ret.Add("Wasser", this.Wasser.ToString("N0"));
     if (Energie)
         ret.Add("Energie", this.Energie.ToString("N0"));
     if (Bev)
         ret.Add("Bev", this.Bev.ToString("N0"));
     if (Credits)
         ret.Add("Credits", this.Credits.ToString("N0"));
     if (FP)
         ret.Add("FP", this.FP.ToString("N0"));
     if (Zeit)
         ret.Add("Zeit (h)", this.Zeit.TotalHours.ToString("N0"));
     return ret;
 }
Exemplo n.º 2
0
 public Utils.DefaultDict<string, double> AsDict()
 {
     Utils.DefaultDict<string, double> ret = new Utils.DefaultDict<string, double>();
     ret.Add("Eisen", Eisen);
     ret.Add("Stahl", Stahl);
     ret.Add("VV4A", VV4A);
     ret.Add("Chemie", Chemie);
     ret.Add("Eis", Eis);
     ret.Add("Wasser", Wasser);
     ret.Add("Energie", Energie);
     ret.Add("Bev", Bev);
     ret.Add("Credits", Credits);
     ret.Add("Zeit (h)", Zeit.TotalHours);
     return ret;
 }