Ejemplo n.º 1
0
 public Sorter(string input, int area, Bti bti)
 {
     mf                  = new NodeFeed().getMonster();
     this.area           = area;
     Input               = input;
     codes               = new List <Codes>();
     codesVri            = "";
     IsFastFederalSearch = false;
     IsFastPZZSearch     = false;
     IsMainSearch        = false;
     this.bti            = bti;
 }
Ejemplo n.º 2
0
        public static void SearchVRI(string[] array, int[] arrInt, bool[] arrBool, int btiCount, int ZU_area, string[] btiArrayStr, bool[] btiArrayBool)
        {
            Bti bti = new Bti(btiArrayStr[0], btiCount, btiArrayBool[0], btiArrayBool[1], btiArrayBool[2], btiArrayBool[3]);

            var Sample = new Sorter(array[0], ZU_area, bti);

            Sample.GetVRI_FullSearh();
            array[1] = Sample.CodesVri;
            array[2] = Sample.Mathes;

            arrBool[0] = Sample.maintenance;
            arrBool[1] = Sample.accomplishment;
            arrBool[2] = Sample.linear;
            arrBool[3] = Sample.temporary;


            btiArrayStr[1] = bti.GetVri();
            btiArrayBool[4] = bti.CorrectedByBti;

            if (Sample.IsFastFederalSearch) arrInt[0] = 1; else arrInt[0] = 0;
            if (Sample.IsFastPZZSearch) arrInt[1] = 1; else arrInt[1] = 0;
            if (Sample.IsMainSearch) arrInt[2] = 1; else arrInt[2] = 0;
        }