示例#1
0
        //TODO: implement this with  ניתוח אשכולות
        internal static FallLocation EstimateFallLocation(ObservableCollection <FallLocation> fallsLocationlist)
        {
            List <FallLocation> flList = new List <FallLocation>(fallsLocationlist);
            List <Drop>         res    = bl.CalculateEstimateDrop(ListOfFallLocationToReports(flList));
            FallLocation        fl     = new FallLocation();

            fl.Adress        = res.First().Drop_Adress;
            fl.Date          = res.First().Drop_time.ToString();
            fl.ID            = res.First().Drop_Id; //צריך לבדוק ID או REOPRT_ID
            fl.NumberOfFalls = 1;                   //logically correct
            return(fl);
        }