public static MarsCode GetInstance() { if (instance == null) { instance = new MarsCode(); } return(instance); }
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()); } }