Пример #1
0
        public TaxCardValue()
        {
            int num;

            this.slvList         = new List <double>();
            this.DataPrecision   = 1E-08;
            this.Card_Type       = 0;
            this.SoftTaxPre      = 0.06;
            this.SoftAmountLimit = 0.0;
            this.SoftTaxRate     = 0.0;
            for (num = 0; num < taxCard.get_TaxRateAuthorize().TaxRateNoTax.Count; num++)
            {
                this.slvList.Add(taxCard.get_TaxRateAuthorize().TaxRateNoTax[num]);
            }
            for (num = 0; num < taxCard.get_TaxRateAuthorize().TaxRateTax.Count; num++)
            {
                this.slvList.Add(taxCard.get_TaxRateAuthorize().TaxRateTax[num]);
            }
            if (taxCard.get_ECardType() != 0)
            {
                SoftTaxLimit         = 42949672.95;
                this.SoftAmountLimit = 10995116277.75;
                this.SoftTaxPre      = 0.06;
                this.SoftTaxRate     = 25.5;
                SoftATaxPre          = 1.27;
                this.Card_Type       = 1;
            }
            else
            {
                SoftTaxLimit         = 17000000.0;
                this.SoftAmountLimit = 100000000.0;
                this.SoftTaxPre      = 0.06;
                this.SoftTaxRate     = 32.0;
                SoftAAmountPre       = 0.625;
                this.Card_Type       = 0;
            }
        }