示例#1
0
        public clsmeasure add()
        {
            clsmeasure nm = new clsmeasure();

            mlist.Add(nm);
            return(nm);
        }
示例#2
0
        public clsmeasure insertcopy(int ifrom)
        {
            clsmeasure nmsure = new clsmeasure();
            clsmeasure mfrom  = this[ifrom];

            nmsure.mname   = mfrom.mname;
            nmsure.roi1    = mfrom.roi1;
            nmsure.roi2    = mfrom.roi2;
            nmsure.mtype   = mfrom.mtype;
            nmsure.mstd    = mfrom.mstd;
            nmsure.mllimit = mfrom.mllimit;
            nmsure.mulimit = mfrom.mulimit;
            nmsure.mvalue  = mfrom.mvalue;
            nmsure.mresult = mfrom.mresult;
            nmsure.moffset = mfrom.moffset;
            mlist.Insert(ifrom, nmsure);
            return(nmsure);
        }
示例#3
0
 public clsmeasure add(clsmeasure msure)
 {
     mlist.Add(msure);
     return(msure);
 }
示例#4
0
 public int indexof(clsmeasure mroi)
 {
     return(mlist.IndexOf(mroi));
 }