Changed how ROFSTLookup object was obtained based on correct DocVersion

This commit is contained in:
Rich
2014-02-07 17:43:53 +00:00
parent ffd5191ffc
commit e83c756161
4 changed files with 11 additions and 11 deletions

View File

@@ -299,9 +299,9 @@ namespace Volian.Print.Library
Dictionary<string, Dictionary<string, bool>> ros = new Dictionary<string, Dictionary<string, bool>>();
DocVersionInfo dvi = MyItemInfoList[0].MyDocVersion;
ROFstInfo rofst = dvi.DocVersionAssociations[0].MyROFst;
rofst.docVer = dvi;
//rofst.docVer = dvi;
// ROFSTLookup lu = MyItemInfoList[0].MyDocVersion.DocVersionAssociations[0].MyROFst.ROFSTLookup;
ROFSTLookup lu = rofst.ROFSTLookup;
ROFSTLookup lu = rofst.GetROFSTLookup(dvi);
if (types.ContainsKey(0))
{
foreach (ProcedureInfo pi in MyItemInfoList)