private decimal?GetFlaecheTrottoir(decimal?flaecheTrottoir, TrottoirTyp trottoirTyp) { if (Trottoir == TrottoirTyp.NochNichtErfasst) { return(null); } if (Trottoir == TrottoirTyp.BeideSeiten || Trottoir == trottoirTyp) { return(flaecheTrottoir); } return(0); }
public static string getTrottoirTyp(TrottoirTyp typ) { switch (typ) { case TrottoirTyp.NochNichtErfasst: return(Notrecorded); case TrottoirTyp.KeinTrottoir: return(None); case TrottoirTyp.Links: return(Left); case TrottoirTyp.Rechts: return(Right); case TrottoirTyp.BeideSeiten: return(Both); default: return(string.Empty); } }
private bool HasRechteTrottoir(TrottoirTyp trottoirTyp) { return(trottoirTyp == TrottoirTyp.BeideSeiten || trottoirTyp == TrottoirTyp.Rechts); }
private bool HasLinkeTrottoir(TrottoirTyp trottoirTyp) { return(trottoirTyp == TrottoirTyp.BeideSeiten || trottoirTyp == TrottoirTyp.Links); }