Exemplo n.º 1
0
 public static VYCode GetInstance()
 {
     if (instance == null)
     {
         instance = new VYCode();
     }
     return(instance);
 }
Exemplo n.º 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());
            }
        }