This commit is contained in:
@@ -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");
|
||||
|
@@ -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")
|
||||
|
Reference in New Issue
Block a user