Add Hex values for Placekeepers and PhoneList checks
Logic to put Placekeeper and Phonelist info in the section config Logic to put Placekeeper info in the step config
This commit is contained in:
parent
0ec1e5ca7e
commit
c926ddbe60
@ -27,7 +27,8 @@ namespace DataLoader
|
||||
private static int PH = 0x02;
|
||||
private static int TOC = 0x04;
|
||||
private static int AUTOIND = 0x08;
|
||||
private static int AUTOGEN = 0x40;
|
||||
private static int PLACEKEEPER = 0x40;
|
||||
private static int PHONELIST = 0x10;
|
||||
|
||||
private static int STP_MULT_CHGID = 1;
|
||||
private static int STP_LNK_SEQ = 2;
|
||||
|
@ -513,11 +513,16 @@ namespace DataLoader
|
||||
ci.AddItem("Step", "LnkEnh", "Y");
|
||||
}
|
||||
// determine if autogenerated section (!exist = N)
|
||||
if ((cbittst & AUTOGEN) > 1)
|
||||
// Placekeeper (Calvert)
|
||||
if ((cbittst & PLACEKEEPER) > 1)
|
||||
{
|
||||
isautogen = true;
|
||||
ci.AddItem("Section", "AutoGen", "Y");
|
||||
//ci.AddItem("Section", "AutoGen", "Y");
|
||||
ci.AddItem("Section", "Placekeeper", "Y");
|
||||
}
|
||||
// Phonelist (Clavert)
|
||||
if ((cbittst & PHONELIST) > 1)
|
||||
ci.AddItem("Section", "Phonelist", "Y");
|
||||
// Here are subsection flags, i.e. the following are only set if this
|
||||
// is a subsection.
|
||||
bool didsub = false;
|
||||
@ -670,7 +675,7 @@ namespace DataLoader
|
||||
// 5 = RNO
|
||||
// 6 = step
|
||||
// 7 = table
|
||||
//isautogen = false; //needed for bge
|
||||
isautogen = false; //needed for bge
|
||||
if (!isautogen)
|
||||
{
|
||||
// Process the Data Table - First look for High Level Steps
|
||||
|
@ -59,6 +59,10 @@ namespace DataLoader
|
||||
|
||||
string seqcvt = stpseq;
|
||||
|
||||
//check for Placekeeper flag
|
||||
if (Recid[0] == 9617) //(Recid[0] != '0') // placekeeper seq[8] & 0x40
|
||||
ci.AddItem("Step", "Placekeeper", "True");
|
||||
|
||||
string newstptyp = null;
|
||||
bool ManualPagebreak = false;
|
||||
char cbittst = StepType.PadRight(2)[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user