Exemplo n.º 1
0
        public void CreateReport1()
        {
            List1 = dataProvider.Report1(BeginDate1, EndDate1);
            Sum   = List1.Sum(x => x.SOLUOT);
            int t = 0;

            foreach (ReportItem1 item in List1)
            {
                item.STT  = ++t;
                item.TILE = (double)item.SOLUOT / Sum;
            }
        }
Exemplo n.º 2
0
 private void SumExecute(string parameter)
 {
     Result = new List <int> {
         List1.Sum()
     };
 }