Added GetByItemIDAndRevisionNumberAndUnitID method to Revision class
Added GetByItemIDandUnitID method to RevisionInfoList class Added UnitID property to ItemCriteria class of RevisionInfo class Added CurrentItemUnitCriteria class implementing ItemCriteria class of RevisionInfo class Added GetCurrentByItemIDandUnitID method to RevisonInfo class Added DataPortal_Fetch method using CurrentItemUnitCriteria parameter to RevisionInfo class Changed how DocVersionInfo was obatained to support multi unit Changed how ROFstInfo was obtained to support multi unit Set ROFstInfo objects DocVersion to support multi unit Changed docVer property of ROFstInfo class to DocVersionInfo class Changed how docVer property was assigned value in ROFstInfo class Changed ResolvePathTo method of TransitionInfo class to support multi unit Changed how thisTab variable value is set in TransitionText class to support multi unit
This commit is contained in:
@@ -138,15 +138,16 @@ namespace VEPROMS.CSLA.Library
|
||||
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
#endregion
|
||||
#region PropertiesAndData
|
||||
private DocVersion _docVer;
|
||||
public DocVersion docVer
|
||||
private DocVersionInfo _docVer;
|
||||
public DocVersionInfo docVer
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_docVer == null)
|
||||
{
|
||||
if (ROFstAssociations.Count == 0) return null;
|
||||
_docVer = DocVersion.Get(this.ROFstAssociations[0].MyDocVersion.VersionID);
|
||||
// _docVer = DocVersion.Get(this.ROFstAssociations[0].MyDocVersion.VersionID);
|
||||
_docVer = this.ROFstAssociations[0].MyDocVersion;
|
||||
}
|
||||
return _docVer;
|
||||
}
|
||||
@@ -557,15 +558,15 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
using (Figure figure = Figure.GetByROFstID_ImageID(this.ROFstID, roImg.ImageID))
|
||||
{
|
||||
if (figure != null) return;
|
||||
if (figure != null) return;
|
||||
Figure.MakeFigure(rofst, roImg, null).Dispose();
|
||||
myAddedROImages.Add(key);
|
||||
}
|
||||
}
|
||||
myAddedROImages.Add(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private int FindExisting(Dictionary<string, int> myExistingROImages, string imgname, string imgfile, byte[] cmpFileContents, byte[] fileContents)
|
||||
{
|
||||
|
Reference in New Issue
Block a user