Skip to content
Snippets Groups Projects
Commit 83adc074 authored by Aymeric Haefflinger's avatar Aymeric Haefflinger
Browse files

ajout scénario 2 et 3

parent 1bb2ddf5
Branches
No related merge requests found
......@@ -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;
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment