static void FindSubFactorActionFx(AddToTree.Tree Dummy1, AddToTree.Tree Dummy2) { FindSubFactor.FindSubFactorCommonAddedToListFx(Dummy1); //ERRORCORECTION1287648764 :The condition caused to Non Requirment Supliments of data. //if(Dummy2.SampleAccess == "*") FindSubFactor.FindSubFactorCommonFinalizationFx(Dummy2); }
static void FindSubFactorCommonFinalizationFx(AddToTree.Tree Dummy2) { if (Dummy2 == null) { return; } if ((Dummy2.SampleAccess == "+") || (Dummy2.SampleAccess == "-")) { if (!(FACTORLISTEDS.FINDTreeWithOutThreadConsideration(Dummy2))) { NOTEXPECTED.ADDToTree(Dummy2); return; } } try { //ADDEDCONDTITION9281374 :Refer to page 328. //ERRORCORECTION98127489 :refer to page 328. //ERRORCORECTION892374978 :Refer to page 330. if ((!(IS.IsMulInNode(Dummy2))) && (COMMONFACTORS.ISEmpty())) { if ((FACTORLISTEDS.FINDTreeWithOutThreadConsideration(Dummy2)) && (!(COMMONFACTORS.FINDTreeWithOutThreadConsideration(Dummy2)))) { COMMONFACTORS.ADDToTree(Dummy2); //LOCATION3070405000 :refer to page 300. FACTORLISTEDS.DELETEFromTreeFindedNode(Dummy2); NOTEXPECTED.DELETEFromTreeFindedNode(Dummy2); } else if ((Dummy2.SampleAccess == "^") && (IS.IsNumber(Dummy2.RightSideAccess.RightSideAccess.SampleAccess)) && ((FACTORLISTEDS.FINDTreeWithOutThreadConsideration(Dummy2.RightSideAccess.LeftSideAccess))) && (!(COMMONFACTORS.FINDTreeWithOutThreadConsideration(Dummy2.LeftSideAccess)))) { COMMONFACTORS.ADDToTree(Dummy2.LeftSideAccess); FACTORLISTEDS.DELETEFromTreeFindedNode(Dummy2.LeftSideAccess); NOTEXPECTED.DELETEFromTreeFindedNode(Dummy2.LeftSideAccess); } else { NOTEXPECTED.ADDToTree(Dummy2); } } if (Dummy2.SampleAccess == "*") { //if (!IS.IsNumber(Dummy2.LeftSideAccess.SampleAccess)) //{ if ((!(COMMONFACTORS.FINDTreeWithOutThreadConsideration(Dummy2.LeftSideAccess))) && (FACTORLISTEDS.FINDTreeWithOutThreadConsideration(Dummy2.LeftSideAccess))) { COMMONFACTORS.ADDToTree(Dummy2.LeftSideAccess); FACTORLISTEDS.DELETEFromTreeFindedNode(Dummy2.LeftSideAccess); NOTEXPECTED.DELETEFromTreeFindedNode(Dummy2.LeftSideAccess); } else if ((Dummy2.LeftSideAccess.SampleAccess == "^") && (IS.IsNumber(Dummy2.LeftSideAccess.RightSideAccess.SampleAccess)) && ((FACTORLISTEDS.FINDTreeWithOutThreadConsideration(Dummy2.LeftSideAccess.LeftSideAccess))) && (!(COMMONFACTORS.FINDTreeWithOutThreadConsideration(Dummy2.LeftSideAccess.LeftSideAccess)))) { COMMONFACTORS.ADDToTree(Dummy2.LeftSideAccess.LeftSideAccess); FACTORLISTEDS.DELETEFromTreeFindedNode(Dummy2.LeftSideAccess.LeftSideAccess); NOTEXPECTED.DELETEFromTreeFindedNode(Dummy2.LeftSideAccess.LeftSideAccess); } else { NOTEXPECTED.ADDToTree(Dummy2.LeftSideAccess); } //} //if (!IS.IsNumber(Dummy2.RightSideAccess.SampleAccess)) //{ if ((FACTORLISTEDS.FINDTreeWithOutThreadConsideration(Dummy2.RightSideAccess)) && (!(COMMONFACTORS.FINDTreeWithOutThreadConsideration(Dummy2.RightSideAccess)))) { COMMONFACTORS.ADDToTree(Dummy2.RightSideAccess); //LOCATION3070405000 :refer to page 300. FACTORLISTEDS.DELETEFromTreeFindedNode(Dummy2.RightSideAccess); NOTEXPECTED.DELETEFromTreeFindedNode(Dummy2.RightSideAccess); } else if ((Dummy2.RightSideAccess.SampleAccess == "^") && (IS.IsNumber(Dummy2.RightSideAccess.RightSideAccess.SampleAccess)) && ((FACTORLISTEDS.FINDTreeWithOutThreadConsideration(Dummy2.RightSideAccess.LeftSideAccess))) && (!(COMMONFACTORS.FINDTreeWithOutThreadConsideration(Dummy2.RightSideAccess.LeftSideAccess)))) { COMMONFACTORS.ADDToTree(Dummy2.RightSideAccess.LeftSideAccess); FACTORLISTEDS.DELETEFromTreeFindedNode(Dummy2.RightSideAccess.LeftSideAccess); NOTEXPECTED.DELETEFromTreeFindedNode(Dummy2.RightSideAccess.LeftSideAccess); } else { NOTEXPECTED.ADDToTree(Dummy2.RightSideAccess); } // } } FindSubFactor.FindSubFactorCommonFinalizationFx(Dummy2.LeftSideAccess); FindSubFactor.FindSubFactorCommonFinalizationFx(Dummy2.RightSideAccess); } catch (NullReferenceException t) { ExceptionClass.ExceptionClassMethod(t); } }