Esempio n. 1
0
        // Convert ZBTyp to string
        public static string ZBTypToString(ZBTyp typ)
        {
            switch (typ)
            {
            case ZBTyp.KOMMEN:
                return("Kommen");

                break;

            case ZBTyp.GEHEN:
                return("Gehen");

                break;

            default:
                return("???");
            }
        }
Esempio n. 2
0
 // Convert ZBTyp to integer (same as column
 // value in database)
 public static int ZBTypToInt(ZBTyp typ)
 {
     return((int)typ);
 }