public void copeFromAnother(ListOfSsStatistic source)
        {
            foreach (OneSsStatistic item in source)
            {
                OneSsStatistic item2 = new OneSsStatistic();
                item2.SsFilename = item.SsFilename;

                foreach (paraId_value newitems in item.ListIdPariMaxvalue)
                {
                    item2.ListIdPariMaxvalue.Add(newitems);
                }


                //  item2.ListIdPariMaxvalue = item.ListIdPariMaxvalue;



                this.Add(item2);
            }
        }
        public void LoadFromListOfSsStatistic(ListOfSsStatistic source)
        {
            int totalamount = 0;

            foreach (OneSsStatistic myOneSS in source)
            {
                totalamount += myOneSS.ListIdPariMaxvalue.Count;

                foreach (paraId_value item in myOneSS.ListIdPariMaxvalue)
                {
                    bool inArray = false;
                    foreach (ParaF_O_Weight paraFOweight in this)
                    {
                        if ((paraFOweight.individPara.filterId == item.para.filterId) && (paraFOweight.individPara.OCfilename == item.para.OCfilename))
                        {
                            paraFOweight.skolkovstrech++;
                            inArray = true;
                        }
                    }

                    if (!inArray)
                    {
                        ParaF_O_Weight temp = new ParaF_O_Weight();
                        temp.individPara   = item.para;
                        temp.skolkovstrech = 1;
                        this.Add(temp);
                    }
                }
            } //конец форич

            foreach (ParaF_O_Weight paraFOweight in this)
            {
                paraFOweight.CalcWeight(totalamount);
                paraFOweight.totalamt = totalamount;
            }
        } //LoadFrom