Bilder können jetzt hinterlegt werden
This commit is contained in:
12
KlassenBIB/BilderCollection.cs
Normal file
12
KlassenBIB/BilderCollection.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace KlassenBIB
|
||||
{
|
||||
public class BilderCollection : List<SavedBilder>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -42,6 +42,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AbwasserTechnischeAnlageCollection.cs" />
|
||||
<Compile Include="BilderCollection.cs" />
|
||||
<Compile Include="InlinerSanierung.cs" />
|
||||
<Compile Include="Projekt.cs" />
|
||||
<Compile Include="Inspektionskuerzeln.cs" />
|
||||
@@ -51,6 +52,7 @@
|
||||
<Compile Include="Sanieren.cs" />
|
||||
<Compile Include="Sanierung.cs" />
|
||||
<Compile Include="SanierungCollection.cs" />
|
||||
<Compile Include="SavedBilder.cs" />
|
||||
<Compile Include="SchachtAnbindung.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
20
KlassenBIB/SavedBilder.cs
Normal file
20
KlassenBIB/SavedBilder.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace KlassenBIB
|
||||
{
|
||||
public class SavedBilder
|
||||
{
|
||||
public string Bildname { get; set; }
|
||||
public string Speicherpfad { get; set; }
|
||||
public string Bemerkung { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Bildname;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,11 +9,21 @@ namespace KlassenBIB
|
||||
{
|
||||
public class SchachtAnbindung : Sanieren
|
||||
{
|
||||
string schachtNummer;
|
||||
BilderCollection savedBilders;
|
||||
|
||||
#region GettersSetters
|
||||
public string SchachtNummer { get => schachtNummer; set => schachtNummer = value; }
|
||||
public BilderCollection SavedBilders { get => savedBilders; set => savedBilders = value; }
|
||||
#endregion
|
||||
|
||||
public SchachtAnbindung()
|
||||
{
|
||||
Verzeichnispfad = "Schachtanbindung";
|
||||
SavedBilders = new BilderCollection();
|
||||
}
|
||||
|
||||
|
||||
public override string CheckVerzeichnisse(string projektpfad)
|
||||
{
|
||||
string path = Path.Combine(projektpfad, PfadZurSan);
|
||||
|
||||
Reference in New Issue
Block a user