/// <summary>
        /// Stop circular identification
        /// </summary>
        public bool StopInventory()
        {
#if NO_RFID
            return(true);
#else
            return(uhfApi.StopInventory());
#endif
        }
示例#2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);

            if (uhfAPI == null)
            {
                try
                {
                    uhfAPI = RFIDWithUHF.Instance;
                    uhfAPI.StopInventory();
                }catch
                {
                }
            }
            initTab();
        }