This commit is contained in:
@@ -48,7 +48,7 @@ namespace Config
|
|||||||
listIni_EleName.Add("procedurelisttabstops");
|
listIni_EleName.Add("procedurelisttabstops");
|
||||||
|
|
||||||
// proc.ini
|
// proc.ini
|
||||||
//listIni_EleName.Add("rodefaults");
|
listIni_EleName.Add("rodefaults");
|
||||||
listIni_EleName.Add("display");
|
listIni_EleName.Add("display");
|
||||||
listIni_EleName.Add("backgrounddefaults");
|
listIni_EleName.Add("backgrounddefaults");
|
||||||
listIni_EleName.Add("unit");
|
listIni_EleName.Add("unit");
|
||||||
@@ -95,9 +95,9 @@ namespace Config
|
|||||||
listIni_AttrName.Add("proceduretitletab");
|
listIni_AttrName.Add("proceduretitletab");
|
||||||
|
|
||||||
// proc.ini
|
// proc.ini
|
||||||
//listIni_AttrName.Add("setpoint");
|
listIni_AttrName.Add("setpoint");
|
||||||
//listIni_AttrName.Add("graphics");
|
listIni_AttrName.Add("graphics");
|
||||||
//listIni_AttrName.Add("ropath");
|
listIni_AttrName.Add("ropath");
|
||||||
listIni_AttrName.Add("display");
|
listIni_AttrName.Add("display");
|
||||||
listIni_AttrName.Add("sectiontitle");
|
listIni_AttrName.Add("sectiontitle");
|
||||||
listIni_AttrName.Add("sectionnumber");
|
listIni_AttrName.Add("sectionnumber");
|
||||||
|
@@ -27,14 +27,14 @@ namespace DataLoader
|
|||||||
if (d != null)
|
if (d != null)
|
||||||
{
|
{
|
||||||
XmlElement xml = d.DocumentElement;
|
XmlElement xml = d.DocumentElement;
|
||||||
XmlNode rodef = xml.SelectSingleNode("//zRODefaults");
|
XmlNode rodef = xml.SelectSingleNode("//RODefaults");
|
||||||
XmlElement ele = rodef as XmlElement;
|
XmlElement ele = rodef as XmlElement;
|
||||||
//string tmp = null;
|
//string tmp = null;
|
||||||
if (ele != null)
|
if (ele != null)
|
||||||
{
|
{
|
||||||
roDbpath = ele.GetAttribute("zROPATH");
|
roDbpath = ele.GetAttribute("ROPATH");
|
||||||
sp_prefix = ele.GetAttribute("zSetpoint");
|
sp_prefix = ele.GetAttribute("Setpoint");
|
||||||
img_prefix = ele.GetAttribute("zGraphics");
|
img_prefix = ele.GetAttribute("Graphics");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (roDbpath == null || roDbpath == "" || roDbpath.ToLower() == @"..\ro")
|
if (roDbpath == null || roDbpath == "" || roDbpath.ToLower() == @"..\ro")
|
||||||
|
Reference in New Issue
Block a user