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:
1 parent
201cac2c54
commit
1e2fedc518
4 files changed
+95
-16
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user