Exemple #1
0
 public static TW_SVH GetInstance()
 {
     if (instance == null)
     {
         instance = new TW_SVH();
     }
     return(instance);
 }
Exemple #2
0
        public QRCodeBase GetCodeType(TypeCode_enum typeBot)
        {
            //if (!PostParams.P_I.BlCimOn)
            //    return null;
            //TODO
            switch (typeBot)
            {
            case TypeCode_enum.SVH:
                return(SVHCode.GetInstance());

            case TypeCode_enum.VY:
                return(VYCode.GetInstance());

            case TypeCode_enum.Mars:
                return(MarsCode.GetInstance());

            case TypeCode_enum.TW_SVH:
                return(TW_SVH.GetInstance());

            default:
                return(SVHCode.GetInstance());
            }
        }