This commit is contained in:
parent
bd3fb318d0
commit
b433ee9e4e
@ -29,10 +29,10 @@ namespace DataLoader
|
|||||||
XmlElement xml = d.DocumentElement;
|
XmlElement xml = d.DocumentElement;
|
||||||
XmlNode rodef = xml.SelectSingleNode("//zRODefaults");
|
XmlNode rodef = xml.SelectSingleNode("//zRODefaults");
|
||||||
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("zROPATH");
|
||||||
sp_prefix = ele.GetAttribute("zSetpoint");
|
sp_prefix = ele.GetAttribute("zSetpoint");
|
||||||
img_prefix = ele.GetAttribute("zGraphics");
|
img_prefix = ele.GetAttribute("zGraphics");
|
||||||
}
|
}
|
||||||
@ -85,6 +85,8 @@ namespace DataLoader
|
|||||||
rofst.Dispose();
|
rofst.Dispose();
|
||||||
|
|
||||||
// Now load any images in... type 8: // Intergrated Graphics RO type
|
// Now load any images in... type 8: // Intergrated Graphics RO type
|
||||||
|
if (rofstinfo.ROFSTLookup != null)
|
||||||
|
{
|
||||||
for (int i = 0; i < rofstinfo.ROFSTLookup.myHdr.myDbs.Length; i++)
|
for (int i = 0; i < rofstinfo.ROFSTLookup.myHdr.myDbs.Length; i++)
|
||||||
{
|
{
|
||||||
// walk through the rofst 'database' searching for
|
// walk through the rofst 'database' searching for
|
||||||
@ -92,6 +94,7 @@ namespace DataLoader
|
|||||||
if (rofstinfo.ROFSTLookup.myHdr.myDbs[i].children != null) MigrateRoFstGraphics(roDbpath, rofstinfo.ROFSTLookup.myHdr.myDbs[i].children, rodb);
|
if (rofstinfo.ROFSTLookup.myHdr.myDbs[i].children != null) MigrateRoFstGraphics(roDbpath, rofstinfo.ROFSTLookup.myHdr.myDbs[i].children, rodb);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private string NewROName(string roName)
|
private string NewROName(string roName)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user