Beispiel #1
0
        private void ProcessTrackingFound(object sender, QRInfo msg)
        {
            if (msg == null)
            {
                return;
            }

            lastMessage = msg;

            //if (msg.Data == locationQrValue)
            if (true)
            {
                spatialGraphCoordinateSystemSetter.SetLocationIdSize(msg.SpatialGraphNodeId,
                                                                     msg.PhysicalSideLength);
            }
        }
        private void ProcessTrackingFound(object sender, QRInfo msg)
        {
            if (msg == null || !IsTrackingActive)
            {
                return;
            }

            lastMessage = msg;

            if (msg.Data == locationQrValue)
            {
                if (trackingCounter++ == 2)
                {
                    IsTrackingActive = false;
                    spatialGraphCoordinateSystemSetter.SetLocationIdSize(msg.SpatialGraphNodeId,
                                                                         msg.PhysicalSideLength);
                }
            }
        }