This commit is contained in:
2011-01-21 15:55:40 +00:00
parent 77af06a808
commit 9ac5db39d7
2 changed files with 8 additions and 8 deletions

View File

@@ -27,14 +27,14 @@ namespace DataLoader
if (d != null)
{
XmlElement xml = d.DocumentElement;
XmlNode rodef = xml.SelectSingleNode("//zRODefaults");
XmlNode rodef = xml.SelectSingleNode("//RODefaults");
XmlElement ele = rodef as XmlElement;
//string tmp = null;
if (ele != null)
{
roDbpath = ele.GetAttribute("zROPATH");
sp_prefix = ele.GetAttribute("zSetpoint");
img_prefix = ele.GetAttribute("zGraphics");
roDbpath = ele.GetAttribute("ROPATH");
sp_prefix = ele.GetAttribute("Setpoint");
img_prefix = ele.GetAttribute("Graphics");
}
}
if (roDbpath == null || roDbpath == "" || roDbpath.ToLower() == @"..\ro")