B2017-147: Edit and print displayed back quote rather than degree in some ro values

This commit is contained in:
Kathy Ruffing 2017-07-19 16:04:08 +00:00
parent af6ef93ade
commit a4a9fb1d47

View File

@ -574,6 +574,9 @@ namespace VEPROMS.CSLA.Library
if (!_MyItemInfo.ActiveFormat.PlantFormat.FormatData.ROData.AllUnits) prevValue = newvalue1;
newvalue = DoROReplaceWords(_MyFormat.PlantFormat.FormatData.SectData.ReplaceStrList, newvalue, _MyItemInfo.IsHigh);
if (isSetpoint) newvalue = ReplaceSpaceWithHardspace(newvalue);
// B2017-147: backquotes should be translated to degrees for edit/print:
newvalue = newvalue.Replace("`", @"\'b0");
if (gg != newvalue)
text = text.Substring(0, myIndex) + newvalue + text.Substring(myIndex + myLength);
}