This commit is contained in:
1 parent
323a3cf734
commit
37269da828
2 files changed
+38
-6
No files matched your search
@@ -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