Exemplo n.º 1
0
 private Document()
 {
     City     = new CityStatistics();
     Projects = new ProjectCollection();
     FileName = string.Empty;
 }
        public CityStatistics()
        {
            Current = this;

            C01           = "Shanghai";
            C02           = DateTime.Now.Year;
            C03           = 0;
            C04           = 0;
            C05           = DateTime.Now;
            Country       = "China";
            Currency      = 6;
            Multiple      = 2;
            Questionnaire = new Dictionary <string, int>();

            Weight_Economic       = 0.2;
            Weight_Environmental  = 0.2;
            Weight_Feasibility    = 0.2;
            Weight_Necessity      = 0.2;
            Weight_PublicResponse = 0.2;

            C1A = new YearwiseExpression(C02, 4);
            C1B = new YearwiseExpression(C02, 4);
            C1C = new YearwiseExpression(C02, 4);
            C1D = new YearwiseExpression(C02, 4);
            C1E = new YearwiseExpression(C02, 4);
            C1G = new YearwiseExpression(C02, 3, false);
            C1H = new YearwiseExpression(C02, 3, false);
            C1I = new YearwiseExpression(C02, 3, false);

            C2A = new YearwiseExpression(C02, 4);
            C2B = new YearwiseExpression(C02, 4);
            C2C = new YearwiseExpression(C02, 4, false); // mod 20120206
            C2E = new YearwiseExpression(C02, 3, false); //////
            C2F = new YearwiseExpression(C02, 3, false); //////

            C3A = new YearwiseExpression(C02, 4);
            C3B = new YearwiseExpression(C02, 4);
            C3C = new YearwiseExpression(C02, 4);
            C3D = new YearwiseExpression(C02, 4);

            C4A = new YearwiseExpression(C02 + 10, 14, true);
            C4B = new YearwiseExpression(C02 + 10, 14, true);
            C4C = new YearwiseExpression(C02 + 10, 14, true);

            C6A = new YearwiseExpression(C02, 4, false);
            C6B = new YearwiseExpression(C02, 4, false);
            C6C = new YearwiseExpression(C02, 4, false);
            C6D = new YearwiseExpression(C02, 4, false);
            C6E = new YearwiseExpression(C02, 4, false);

            C7A = new YearwiseExpression(C02, 4, false);
            C7B = new YearwiseExpression(C02, 4, false);
            C7C = new YearwiseExpression(C02, 4, false);

            C8A = new YearwiseExpression(C02, 4, false);
            C8B = new YearwiseExpression(C02, 4, false);
            C8C = new YearwiseExpression(C02, 4, false);
            C8D = new YearwiseExpression(C02, 4, false);
            C8E = new YearwiseExpression(C02, 4, false);

            C9A = new YearwiseExpression(C02 + 10, 14);
            C9B = new YearwiseExpression(C02 + 10, 14);

            this.SetExpressions();
            this.SetQuestionnaire();
        }