Changed how ROFSTLookup object was obtained based on correct DocVersion

Changed how RoFst date time is compared to actual ro.fst file date time
This commit is contained in:
Rich
2014-02-07 17:37:51 +00:00
parent 7ab6604534
commit f864d03eec
5 changed files with 20 additions and 18 deletions

View File

@@ -79,7 +79,7 @@ namespace VEPROMS.CSLA.Library
if (MyDifferences.ROConsistency.MyROChecks.Length > 0)
{
sb.Append("Reference Objects Differences:\r\n");
ROFSTLookup lu = MyDocVersion.DocVersionAssociations[0].MyROFst.ROFSTLookup;
ROFSTLookup lu = MyDocVersion.DocVersionAssociations[0].MyROFst.GetROFSTLookup(MyDocVersion);
foreach (ROCheck roc in MyDifferences.ROConsistency.MyROChecks)
{
ROFSTLookup.rochild rocc = lu.GetRoChild12(roc.ROID);
@@ -923,8 +923,8 @@ namespace VEPROMS.CSLA.Library
//_MyTimer.ActiveProcess = "Get MyROFst";
ROFstInfo rofst = ROFstInfo.GetJustROFst(dvi.DocVersionAssociations[0].ROFstID);
//_MyTimer.ActiveProcess = "Get ROFst Lookup";
rofst.docVer = dvi;
ROFSTLookup lookup = rofst.ROFSTLookup;
//rofst.docVer = dvi;
ROFSTLookup lookup = rofst.GetROFSTLookup(dvi);
//_MyTimer.ActiveProcess = "Populating RevisionChecksXML table";
cc.ROConsistency.ROFstDate = rofst.DTS;
foreach (string s in myROIDs)