예제 #1
0
 public bool ApplyConfiguration(MotorolaRFConfiguration config)
 {
     try
     {
         objRFMode = config;
         ApplyConfiguration();
         return true;
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #2
0
        public Impinj(ReaderDetails readerInfo, MotorolaRFConfiguration rfMode)
        {
            try
            {
                rdrInfo = readerInfo;
                objMotorolaReader = new RFIDReader(rdrInfo.IPAddress, rdrInfo.PortNumber, 10000);
                objRFMode = rfMode;

            }
            catch (Exception ex)
            {
                throw new Exception("Unable to create object. " + ex.Message);
            }
        }
예제 #3
0
        public MotorolaFX(ReaderDetails readerInfo, MotorolaRFConfiguration rfMode)
        {
            try
            {
                rdrInfo = readerInfo;
                objMotorolaReader = new RFIDReader();
                objMotorolaReader.HostName = rdrInfo.IPAddress;
                objMotorolaReader.Port = rdrInfo.PortNumber;
                objMotorolaReader.TimeoutMilliseconds = 0;
                objRFMode = rfMode;

            }
            catch (Exception ex)
            {
                throw new Exception("Unable to create object. " + ex.Message);
            }
        }