Ejemplo n.º 1
0
        public SortedDictionary <int, MaterielProOccupiedInfo> getMaterielProOccupiedList()
        {
            m_materielProlist.Clear();

            SortedDictionary <int, MaterielProOccupiedOrderTable> list =
                MaterielProOccupiedOrder.getInctance().getAllReviewMaterielProOccupiedOrderInfo();

            for (int index = 0; index < list.Count; index++)
            {
                MaterielProOccupiedOrderTable record = new MaterielProOccupiedOrderTable();
                record = (MaterielProOccupiedOrderTable)list[index];

                SortedDictionary <int, MaterielProOccupiedOrderDetailsTable> listDetails =
                    MaterielProOccupiedOrderDetails.getInctance().getMaterielProOccupiedInfoFromBillNumber(record.billNumber);

                for (int index2 = 0; index2 < listDetails.Count; index2++)
                {
                    MaterielProOccupiedOrderDetailsTable recordDeatils = new MaterielProOccupiedOrderDetailsTable();
                    recordDeatils = (MaterielProOccupiedOrderDetailsTable)listDetails[index2];

                    addDeatisToList(recordDeatils.materielID, record.applyStaffName, recordDeatils.value);
                }
            }

            return(m_materielProlist);
        }
Ejemplo n.º 2
0
        static public MaterielProOccupiedOrder getInctance()
        {
            if (m_instance == null)
            {
                m_instance = new MaterielProOccupiedOrder();
            }

            return(m_instance);
        }