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

@@ -48,7 +48,7 @@ namespace Config
listIni_EleName.Add("procedurelisttabstops");
// proc.ini
//listIni_EleName.Add("rodefaults");
listIni_EleName.Add("rodefaults");
listIni_EleName.Add("display");
listIni_EleName.Add("backgrounddefaults");
listIni_EleName.Add("unit");
@@ -95,9 +95,9 @@ namespace Config
listIni_AttrName.Add("proceduretitletab");
// proc.ini
//listIni_AttrName.Add("setpoint");
//listIni_AttrName.Add("graphics");
//listIni_AttrName.Add("ropath");
listIni_AttrName.Add("setpoint");
listIni_AttrName.Add("graphics");
listIni_AttrName.Add("ropath");
listIni_AttrName.Add("display");
listIni_AttrName.Add("sectiontitle");
listIni_AttrName.Add("sectionnumber");

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")