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

namespace SchnittstelleImporter.XML2006
{
    /// <summary>
    /// 
    /// </summary>
    public class RGrunddaten
    {
        string knotenZulauf;
        EKnotenTyp knotenZulaufTyp;
        string knotenAblauf;
        EKnotenTyp knotenAblaufTyp;
        int profilhoehe;
        int profilbreite;
        int profilart;
        string material;
        string kanalart;
        Anschlussdaten anschlussddaten = null;
        int herkunftProfilmasse;
        int herkunftMaterial;
        decimal regeleinzelrohrlaenge;
        int artAuskleidung;
        string innenschutz;
        /// <summary>
        /// 
        /// </summary>
        public string KnotenZulauf { get => knotenZulauf; set => knotenZulauf = value; }
        /// <summary>
        /// 
        /// </summary>
        public EKnotenTyp KnotenZulaufTyp { get => knotenZulaufTyp; set => knotenZulaufTyp = value; }
        /// <summary>
        /// 
        /// </summary>
        public string KnotenAblauf { get => knotenAblauf; set => knotenAblauf = value; }
        /// <summary>
        /// 
        /// </summary>
        public EKnotenTyp KnotenAblaufTyp { get => knotenAblaufTyp; set => knotenAblaufTyp = value; }
        /// <summary>
        /// 
        /// </summary>
        public int Profilhoehe { get => profilhoehe; set => profilhoehe = value; }
        /// <summary>
        /// 
        /// </summary>
        public int Profilbreite { get => profilbreite; set => profilbreite = value; }
        /// <summary>
        /// 
        /// </summary>
        public int Profilart { get => profilart; set => profilart = value; }
        /// <summary>
        /// 
        /// </summary>
        public string Material { get => material; set => material = value; }
        /// <summary>
        /// 
        /// </summary>
        public string Kanalart { get => kanalart; set => kanalart = value; }
        /// <summary>
        /// 
        /// </summary>
        public Anschlussdaten Anschlussddaten { get => anschlussddaten; set => anschlussddaten = value; }
        /// <summary>
        /// 
        /// </summary>
        public int HerkunftProfilmasse { get => herkunftProfilmasse; set => herkunftProfilmasse = value; }
        /// <summary>
        /// 
        /// </summary>
        public int HerkunftMaterial { get => herkunftMaterial; set => herkunftMaterial = value; }
        /// <summary>
        /// 
        /// </summary>
        public decimal Regeleinzelrohrlaenge { get => regeleinzelrohrlaenge; set => regeleinzelrohrlaenge = value; }
        /// <summary>
        /// 
        /// </summary>
        public int ArtAuskleidung { get => artAuskleidung; set => artAuskleidung = value; }
        /// <summary>
        /// 
        /// </summary>
        public bool HasGrundleitung
        {
            get
            {
                return anschlussddaten != null;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Innenschutz { get => innenschutz; set => innenschutz = value; }
    }
}
