diff --git a/Arti4/Arti4/Models/Partie.cs b/Arti4/Arti4/Models/Partie.cs index b80b6d10c3507a1307dde020354065493448b749..8887f7725a22a0fc3c75786913298231c9806557 100644 --- a/Arti4/Arti4/Models/Partie.cs +++ b/Arti4/Arti4/Models/Partie.cs @@ -65,6 +65,39 @@ namespace Arti4 m_impot_societe_value = p.ImpotSociete; periodes.Add(p); break; + + case Enum.Enums.Scenario.Scenario1: + p = new Periode(1000, 200, 800, 300, 100); + p.initP0(0.8, 0.2, 0.20, 40, 100, 0.10, 0.10, 240, 100000, 100000); + m_prestation_value = p.Prestation; + m_subvention_value = p.Subvention; + m_tva_value = p.TauxTva; + m_impot_revenue_value = p.ImpotRevenu; + m_impot_societe_value = p.ImpotSociete; + periodes.Add(p); + break; + + case Enum.Enums.Scenario.Scenario2: + p = new Periode(700, 400, 600, 400, 100); + p.initP0(0.7, 0.3, 0.20, 40, 100, 0.20, 0.10, 240, 100000, 60000); + m_prestation_value = p.Prestation; + m_subvention_value = p.Subvention; + m_tva_value = p.TauxTva; + m_impot_revenue_value = p.ImpotRevenu; + m_impot_societe_value = p.ImpotSociete; + periodes.Add(p); + break; + + case Enum.Enums.Scenario.Scenario3: + p = new Periode(700, 100, 600, 100, 100); + p.initP0(0.7, 0.3, 0.15, 30, 80, 0.10, 0.10, 240, 100000, 80000); + m_prestation_value = p.Prestation; + m_subvention_value = p.Subvention; + m_tva_value = p.TauxTva; + m_impot_revenue_value = p.ImpotRevenu; + m_impot_societe_value = p.ImpotSociete; + periodes.Add(p); + break; } }