Added getRoUsagesForDocVersion and modified vesp_ListTables3 stored procedures
Updated how RO values are updated as a result of issues identified by Calvert data Modified code to handle non-standard characters in StepType variable. Chnaged how transitions are updated to utilize methods of Content and ContentInfo classes
This commit is contained in:
@@ -57,7 +57,21 @@ namespace DataLoader
|
||||
{
|
||||
// get step type, and check its format for bold. BGE had data that was high5 (bolded step)
|
||||
// with the bold of the next word character, but it was redundant
|
||||
int stptype = Convert.ToInt32(StepType) + 1;
|
||||
if (StepType[0] == '\u2591')
|
||||
StepType = "0" + StepType.Substring(1, StepType.Length - 1);
|
||||
if (StepType[0] == '\u2592')
|
||||
StepType = "1" + StepType.Substring(1, StepType.Length - 1);
|
||||
if (StepType[0] == '\u2524')
|
||||
StepType = "4" + StepType.Substring(1, StepType.Length - 1);
|
||||
int stptype = 0;
|
||||
try
|
||||
{
|
||||
stptype = Convert.ToInt32(StepType) + 1;
|
||||
}
|
||||
catch (Exception myex)
|
||||
{
|
||||
Console.WriteLine(myex.Message);
|
||||
}
|
||||
bool isbold = (stptype == 41); // This is hardcoded for BGE only
|
||||
if (isbold && Textm.Contains("\x13")) Textm = Textm.Replace("\x13", "");
|
||||
|
||||
@@ -651,6 +665,7 @@ namespace DataLoader
|
||||
string sParent = GetParent(drvs["CSequence"].ToString());
|
||||
if (dicStep.ContainsKey(sParent))
|
||||
{
|
||||
if (dicStep[sParent] == null) Console.WriteLine("jcb");
|
||||
Item itemp = dicStep[sParent];
|
||||
sType = GetStructType(drvs["CSequence"].ToString());
|
||||
Dictionary<string,Item> dicStr = dicStruct[sParent];
|
||||
|
Reference in New Issue
Block a user