52 lines
1.3 KiB
C#
52 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace KlassenBIB
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class SchachtAnbindung : AbstractSanieren
|
|
{
|
|
string schachtNummer;
|
|
Collections.Bilder savedBilders;
|
|
|
|
#region GettersSetters
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string SchachtNummer { get => schachtNummer; set => schachtNummer = value; }
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public Collections.Bilder SavedBilders { get => savedBilders; set => savedBilders = value; }
|
|
#endregion
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public SchachtAnbindung()
|
|
{
|
|
Verzeichnispfad = "Schachtanbindung";
|
|
SavedBilders = new Collections.Bilder();
|
|
}
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string CheckVerzeichnisse(string projektpfad)
|
|
{
|
|
string path = Path.Combine(projektpfad, PfadZurSan);
|
|
if (!Directory.Exists(path)) Directory.CreateDirectory(path);
|
|
|
|
string mypath = Path.Combine(path, Verzeichnispfad);
|
|
if (!Directory.Exists(mypath)) Directory.CreateDirectory(mypath);
|
|
|
|
return mypath;
|
|
}
|
|
}
|
|
}
|