This commit is contained in:
@@ -1062,6 +1062,27 @@ namespace Volian.Print.Library
|
||||
DidHLSText = true;
|
||||
plstr = plstr.Replace(token, HLSText);
|
||||
break;
|
||||
case "{PROCDES}":
|
||||
ProcDescrList pdl = section.ActiveFormat.PlantFormat.FormatData.PrintData.ProcDescrList;
|
||||
if (pdl != null && pdl.Count > 0)
|
||||
{
|
||||
string procnum = section.MyProcedure.MyContent.Number;
|
||||
foreach (ProcDescr pd in pdl)
|
||||
{
|
||||
string matchStr = (pd.MatchProcNumber.StartsWith("*}"))?pd.MatchProcNumber.Substring(2):pd.MatchProcNumber;
|
||||
if (procnum.Contains(matchStr))
|
||||
{
|
||||
plstr = pd.ProcDescr1;
|
||||
break;
|
||||
}
|
||||
if (pd.MatchProcNumber == "@")
|
||||
{
|
||||
plstr = pd.ProcDescr1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (token.Contains(@"RO-"))
|
||||
{
|
||||
|
Reference in New Issue
Block a user