Bilder werden wieder im Ausdruck angefügt
This commit is contained in:
@@ -253,6 +253,7 @@ namespace SanSystem
|
||||
{
|
||||
ausdruck.Add((InlinerSanierung)san);
|
||||
}
|
||||
/*
|
||||
else if(san is SchachtAnbindung)
|
||||
{
|
||||
foreach(SavedBilder bild in (san as SchachtAnbindung).SavedBilders)
|
||||
@@ -270,12 +271,33 @@ namespace SanSystem
|
||||
});
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
foreach(InlinerSanierung san in ausdruck)
|
||||
{
|
||||
bilder.Clear();
|
||||
foreach (Sanierung d in san.Inspektionsobjekt.Sanierung)
|
||||
{
|
||||
if (d is SchachtAnbindung)
|
||||
{
|
||||
foreach(SavedBilder c in (d as SchachtAnbindung).SavedBilders)
|
||||
{
|
||||
string komment = String.Empty;
|
||||
if ((d as SchachtAnbindung).SchachtNummer != null)
|
||||
{
|
||||
komment = string.Format("{0} von Schacht: {1}", c.Bildname, (d as SchachtAnbindung).SchachtNummer);
|
||||
}
|
||||
bilder.Add(new BilderObject()
|
||||
{
|
||||
Path = c.Speicherpfad,
|
||||
Kommentar = komment
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
string destinationPath = san.CheckVerzeichnisse(Global.Instance.Projektpfad);
|
||||
Hashtable hashtable = san.MakeProtokoll(destinationPath, Database.Datenbank.Instance.loadedProjekt, DateTime.MinValue);
|
||||
DirectoryInfo directory = Directory.GetParent(destinationPath);
|
||||
|
||||
Reference in New Issue
Block a user