Exemplo n.º 1
0
 private AggregationDataItem convert(Agregation x)
 {
     return(new AggregationDataItem
     {
         Sum = x.Sum,
         PeriodStart = x.PeriodStart,
         PeriodType = x.PeriodType.ToString(),
         AgregationBy = x.AgregationBy.ToString(),
         Average = x.Average,
         Count = x.Count,
         Created = x.Created,
         Max = x.Max,
         Min = x.Min
     });
 }
Exemplo n.º 2
0
 public ActionResult GetConclusion(string action, string file, params string [] valueLv)
 {
     if (action == "RedyForms")
     {
         Phasing.StartPhasing(FKB, valueLv);
         Agregation.AgregationStart(FKB);
         Term result = Accumulation.AccumulationStart(FKB);
         Defuzzication.DefuzzicationStart(result);
         return(View(result));
     }
     else
     {
         Phasing.PhasingLv(FKB, valueLv);
         return(View("GetVievPhasing", FKB));
     }
 }
Exemplo n.º 3
0
        public ActionResult GetVievAgregation()
        {
            Agregation.AgregationStart(FKB);

            return(View(FKB));
        }