Added private property SelectedSlave

Added DocVersionInfo property to ROFSTLookup class
Set DocVersionInfo to DocVersionInfo of ROFstInfo object in ROFSTLookup constructor
Added Reset method to ROFSTLookup class
Changed return values for ROID parameter of GetRoValue method
Changes SectionConfig class to implement IItemConfig interface
Added MasterSlave_Applicability property to IItemConfig
Changes StepConfig class to implement IItemConfig interface
Added MasterSlave_Applicability property to IItemConfig
Changed GetGroup method to support multi units
This commit is contained in:
Rich
2012-12-04 22:54:41 +00:00
parent 201cac2c54
commit 1e2fedc518
4 changed files with 95 additions and 16 deletions

View File

@@ -54,9 +54,10 @@ namespace VEPROMS.CSLA.Library
}
private XmlNode GetGroup(string group)
{
//XmlNodeList xl = _XmlContents.DocumentElement.SelectNodes(string.Format("//{0}", group));
XmlNodeList xl = _XmlContents.DocumentElement.SelectNodes(
string.Format("//*[translate(local-name(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='{0}']", group.ToLower()));
XmlNodeList xl = _XmlContents.DocumentElement.SelectNodes(string.Format("//{0}", group));
if(xl.Count == 0)
xl = _XmlContents.DocumentElement.SelectNodes(
string.Format("//*[translate(local-name(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='{0}']", group.ToLower()));
switch (xl.Count)
{
case 0: // No nodes found