using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

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);
            if (!Directory.Exists(path)) Directory.CreateDirectory(path);

            string mypath = Path.Combine(path, Verzeichnispfad);
            if (!Directory.Exists(mypath)) Directory.CreateDirectory(mypath);

            return mypath;
        }
    }
}
