示例#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);
            }
        }