B2020-099 added check in HasSecondRNOThatWillFit() logic to not look for a second RNO if it wants to break on the last RNO.
This commit is contained in:
parent
cbc2adf712
commit
cfc1259b48
@ -1645,12 +1645,14 @@ namespace Volian.Print.Library
|
|||||||
// B2020-073 was not keeping all of RNO sub-step together - Comanche Peak FRC-0.1 (unit 1) Step 14
|
// B2020-073 was not keeping all of RNO sub-step together - Comanche Peak FRC-0.1 (unit 1) Step 14
|
||||||
// B2020-081 was breaking on an AER substep that has an long RNO - should keep AER substep and part of RNO on the page = D.C. Cook "Current (Post FLEX) U1 NOP NOT [EOPs]" set, ES-0.1 step 1.
|
// B2020-081 was breaking on an AER substep that has an long RNO - should keep AER substep and part of RNO on the page = D.C. Cook "Current (Post FLEX) U1 NOP NOT [EOPs]" set, ES-0.1 step 1.
|
||||||
// B2020-085 was breaking first child of second RNO (if third IF in RNO) - should break on second child of second RNO - D.C. Cook AOP Unit 1 002-020 Step 15
|
// B2020-085 was breaking first child of second RNO (if third IF in RNO) - should break on second child of second RNO - D.C. Cook AOP Unit 1 002-020 Step 15
|
||||||
|
// B2020-099 was breaking on last sub-step of previous RNO - Calvert Approved Procedures; Abnormal Procedures – Unit 2; AOP-2A; Section VII; Step 11.RNO.11.1.c
|
||||||
private vlnParagraph HasSecondRNOThatWillFit(float yStart, float yLowerLimit, float yUpperLimit, StepLevelList myList, int stepLevel, float yTop)
|
private vlnParagraph HasSecondRNOThatWillFit(float yStart, float yLowerLimit, float yUpperLimit, StepLevelList myList, int stepLevel, float yTop)
|
||||||
{
|
{
|
||||||
// note: "this" is the myPara from where this method is called
|
// note: "this" is the myPara from where this method is called
|
||||||
if (!MyItemInfo.IsInRNO || MyItemInfo.GetMaxRNOLevels <= 1) // GetMaxRNOLevels will get the greatest (lowest) RNO level in the step
|
if (!MyItemInfo.IsInRNO || MyItemInfo.GetMaxRNOLevels <= 1) // GetMaxRNOLevels will get the greatest (lowest) RNO level in the step
|
||||||
return this; // does not have second (more than one) RNO - break at the myPara
|
return this; // does not have second (more than one) RNO - break at the myPara
|
||||||
|
if (this.MyItemInfo.IsRNOPart && this.MyItemInfo.RNOs == null) // B2020-099 if on an RNO an there isn't another one to check, just return current break on RNO
|
||||||
|
return this;
|
||||||
// see if there is a second RNO then see if it will fit on the page
|
// see if there is a second RNO then see if it will fit on the page
|
||||||
vlnParagraph tmp = this;
|
vlnParagraph tmp = this;
|
||||||
while (!tmp.MyItemInfo.IsRNOPart) tmp = tmp.MyParent; // if on a substep of an RNO, move up the substep's parent (RNO)
|
while (!tmp.MyItemInfo.IsRNOPart) tmp = tmp.MyParent; // if on a substep of an RNO, move up the substep's parent (RNO)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user