Example #1
0
        public override bool Equals(object obj)
        {
            QRCodeWrapper oQRCodeWrapper = obj as QRCodeWrapper;

            if (oQRCodeWrapper == null)
            {
                return(false);
            }

            return(oQRCodeWrapper.QRCode == QRCode);
        }
        public async Task<Box> FindBox(QRCodeWrapper oQRCode)
        {
            CurrentBox = Boxes.FirstOrDefault(oBox => oBox.QRCode == oQRCode);
            if (CurrentBox == null)
            {
                CurrentBox = new Box(this, oQRCode);
                await MoveFolder.CreateFolderAsync(CurrentBox.ImageFolder);
                Boxes.Add(CurrentBox);
            }

            return CurrentBox;
        }
Example #3
0
        public async Task <Box> FindBox(QRCodeWrapper oQRCode)
        {
            CurrentBox = Boxes.FirstOrDefault(oBox => oBox.QRCode == oQRCode);
            if (CurrentBox == null)
            {
                CurrentBox = new Box(this, oQRCode);
                await MoveFolder.CreateFolderAsync(CurrentBox.ImageFolder);

                Boxes.Add(CurrentBox);
            }

            return(CurrentBox);
        }
Example #4
0
 public Box(Move oMove, QRCodeWrapper oQRCode)
 {
     AssociatedMove = oMove;
     QRCode         = oQRCode;
     IsPacked       = true;
 }
 public Box(Move oMove, QRCodeWrapper oQRCode)
 {
     AssociatedMove = oMove;
     QRCode = oQRCode;
     IsPacked = true;
 }