Added CapSPIfLastLower=True for Catawba and McGuire

Added CapROIfLastLower=False for Catawba and McGuire
Added CapSPIfLastLower for Catawba and McGuire so that only setpoint ROs are uppercased if the surounding text is uppercase.
This commit is contained in:
Rich
2014-01-15 19:29:26 +00:00
parent 3ddc7dfd41
commit 75abd14dd4
6 changed files with 31 additions and 6 deletions

View File

@@ -1121,7 +1121,8 @@ public struct RO
public string UpRoAftrDash; //UpSetpntAftrDash;
public string UpcaseAllRoUnits; //UpcaseAllSetpointUnits;
public string CapHighRo; //CapHighSetpnt;
public string CapRoIfLastLower; //CapsPIFLastLower;
public string CapRoIfLastLower; //Old CapsPIFLastLower;
public string CapSPIfLastLower; //Adding in CapSPIFLastLower;
public string UpRoIfPrevUpper; //UpSpIfPrevUpper
public string UnderlineRo; //UnderlineSetpoints
public string CapFirstLetterInHighRO; //CAPFIRSTLETTERINHIGHSP
@@ -4118,6 +4119,7 @@ namespace fmtxml
else fmtdata.ROData.CapHighRo = "False";
if (XtraFlags.CapsPIFLastLower == "True") fmtdata.ROData.CapRoIfLastLower = "True";
else fmtdata.ROData.CapRoIfLastLower = "False";
fmtdata.ROData.CapSPIfLastLower = "null";
if (XtraFlags.UpSpIfPrevUpper == "True") fmtdata.ROData.UpRoIfPrevUpper = "True";
else fmtdata.ROData.UpRoIfPrevUpper = "False";
if (XtraFlags.UnderlineSetpoints == "True") fmtdata.ROData.UnderlineRo = "True";

View File

@@ -10,9 +10,15 @@ namespace fmtxml
private void AddCATADEVfmt(ref FormatData fmtdata)
{
fmtdata.ProcData.TitleLength = 45;
// Fix Logic for CAPSPIfLastLower
fmtdata.ROData.CapRoIfLastLower = "False";
fmtdata.ROData.CapSPIfLastLower = "True";
}
private void AddCATfmt(ref FormatData fmtdata) // Catawba
{
// Fix Logic for CAPSPIfLastLower
fmtdata.ROData.CapRoIfLastLower = "False";
fmtdata.ROData.CapSPIfLastLower = "True";
//fmtdata.SectData.StepSectionData.StpSectLayData.Separator.SeparatorLocation = 2;
fmtdata.SectData.StepSectionData.StpSectLayData.ColT = -3;
fmtdata.SectData.StepSectionData.StpSectLayData.WidT = 390;

View File

@@ -9,6 +9,9 @@ namespace fmtxml
{
private void AddMCGfmt(ref FormatData fmtdata) // McGuire
{
// Fix Logic for CAPSPIfLastLower
fmtdata.ROData.CapRoIfLastLower = "False";
fmtdata.ROData.CapSPIfLastLower = "True";
//fmtdata.SectData.StepSectionData.StpSectLayData.Separator.SeparatorLocation = 2;
fmtdata.SectData.StepSectionData.StpSectLayData.ColT = -3;
fmtdata.SectData.StepSectionData.StpSectLayData.WidT = 390;

Binary file not shown.