public DataTable CountPickInfo(ArrayList ParameterList)
 {
     CGD.VDS_CGD22_DBO CGDM = new VDS_CGD22_DBO(ref USEDB);
     try
     {
         DataTable dt = CGDM.doCountPickInfo(ParameterList);
         return dt;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public DataTable QuerySwitch(QueryType QT, ArrayList ParameterList)
        {
            CGD.VDS_CGD22_DBO CGDM = new VDS_CGD22_DBO(ref USEDB);
            DataTable Dt;

            try
            {
                switch (QT)
                {
                    case QueryType.GetPickBatch:
                        Dt = CGDM.GetPickBatch(ParameterList);
                        break;

                    case QueryType.QueryPickMst:
                        Dt = CGDM.PickMst(ParameterList);
                        break;

                    case QueryType.QueryPickItem:
                        Dt = CGDM.PickItem(ParameterList);
                        break;

                    case QueryType.QueryPickLocate:
                        Dt = CGDM.PickLocate(ParameterList);
                        break;
                   
                    default:
                        Dt = new DataTable();
                        break;
                }

                return Dt;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }