Ejemplo n.º 1
0
        public void FetchUnsent()
        {
            List <ScanSKUDataBase.ParcelScans> scans = db.Query <ScanSKUDataBase.ParcelScans>("SELECT * FROM ParcelScans WHERE Sent IS null");

            CurrentScans.Clear();
            foreach (var scan in scans)
            {
                BarcodeScan t = new BarcodeScan {
                    BarcodeText = scan.TrackingNumber
                };
                CurrentScans.Add(t);
            }
            barcodes = CurrentScans.ToArray();
        }
Ejemplo n.º 2
0
        public void FetchCollected()
        {
            List <ScanSKUDataBase.ParcelScans> scans = db.Query <ScanSKUDataBase.ParcelScans>("SELECT * FROM ParcelScans  where isCollected = 1");

            CurrentScans.Clear();
            foreach (var scan in scans)
            {
                BarcodeScan t = new BarcodeScan {
                    BarcodeText = scan.TrackingNumber
                };
                CurrentScans.Add(t);
            }
            barcodes = CurrentScans.ToArray();
        }