Exemplo n.º 1
0
        public void FetchUnsent()
        {
            var 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();
        }
Exemplo n.º 2
0
        public void FetchCollected()
        {
            var 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();
        }