Auftraggeber wird in protokoll mit abgebildet
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using KlassenBIB;
|
||||
using SanShared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -19,7 +20,7 @@ namespace SanSystem
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public FrmAuftraggeberEdit(Auftraggeber auftraggeber)
|
||||
public FrmAuftraggeberEdit(IAuftraggeber auftraggeber)
|
||||
{
|
||||
InitializeComponent();
|
||||
txt_name.DataBindings.Add("Text", auftraggeber, "Name");
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace SanSystem
|
||||
|
||||
void BuildBericht(List<Inspektionsobjekt> list)
|
||||
{
|
||||
Hashtable grundDaten = MakeProtokoll("");
|
||||
Hashtable grundDaten = MakeProtokoll("",null);
|
||||
|
||||
DataTable inliner = getMassenTableInliner();
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace SanSystem
|
||||
frmOptions.ShowDialog();
|
||||
}
|
||||
|
||||
public Hashtable MakeProtokoll(string destinationPath)
|
||||
public Hashtable MakeProtokoll(string destinationPath, IProjekt projekt)
|
||||
{
|
||||
Hashtable grundDaten = new Hashtable()
|
||||
{
|
||||
|
||||
@@ -307,7 +307,7 @@ namespace SanSystem
|
||||
{
|
||||
MessageBox.Show("Warnung, es wurden keine Daten von der Anlage geladen, Grafik konnte nicht erstellt werden");
|
||||
}
|
||||
Hashtable hashtable = inliner.MakeProtokoll(destinationPath);
|
||||
Hashtable hashtable = inliner.MakeProtokoll(destinationPath,Database.Datenbank.Instance.loadedProjekt);
|
||||
DirectoryInfo directory = Directory.GetParent(destinationPath);
|
||||
string speicherpfad = directory.FullName;
|
||||
BerichtGen.FrmOptions options = new BerichtGen.FrmOptions("JUME", "liner_einbau.docx", speicherpfad,inliner.Inspektionsobjekt.Objektbezeichnung, hashtable, new List<BilderObject>());
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user