public Source_AntennaConfig(
     Source_AntennaConfig source
 )
     : base()
 {
     this.Copy( source );
 }
 public Source_AntennaConfig
 (
     Source_AntennaConfig source
 )
     :
     base( )
 {
     this.Copy(source);
 }
Пример #3
0
 public Source_Antenna(
     byte port
 )
     : base()
 {
     this.port          = port;
     this.antennaResult = new Source_AntennaResult( port );
     this.antennaConfig = new Source_AntennaConfig( port );
 }
        public void Copy(Source_AntennaConfig from)
        {
            this.port = from.port;

            this.antennaPortConfig.powerLevel            = from.antennaPortConfig.powerLevel;
            this.antennaPortConfig.dwellTime             = from.antennaPortConfig.dwellTime;
            this.antennaPortConfig.numberInventoryCycles = from.antennaPortConfig.numberInventoryCycles;
            this.antennaPortConfig.physicalPort          = from.antennaPortConfig.physicalPort;
            this.antennaPortConfig.antennaSenseThreshold = from.antennaPortConfig.antennaSenseThreshold;
        }
Пример #5
0
 public Source_Antenna
 (
     byte port
 )
     :
     base( )
 {
     this.port          = port;
     this.antennaResult = new Source_AntennaResult(port);
     this.antennaConfig = new Source_AntennaConfig(port);
 }
        public bool Equals(Source_AntennaConfig rhs)
        {
            if (null == (System.Object)rhs)
            {
                return(false);
            }

            return
                (this.port == rhs.port &&
                 this.antennaPortConfig.powerLevel == rhs.antennaPortConfig.powerLevel &&
                 this.antennaPortConfig.dwellTime == rhs.antennaPortConfig.dwellTime &&
                 this.antennaPortConfig.numberInventoryCycles == rhs.antennaPortConfig.numberInventoryCycles &&
                 this.antennaPortConfig.physicalPort == rhs.antennaPortConfig.physicalPort &&
                 this.antennaPortConfig.antennaSenseThreshold == rhs.antennaPortConfig.antennaSenseThreshold);
        }
        public override bool Equals(System.Object obj)
        {
            if (null == obj)
            {
                return(false);
            }

            Source_AntennaConfig rhs = obj as Source_AntennaConfig;

            if (null == (System.Object)rhs)
            {
                return(false);
            }

            return(this.Equals(rhs));
        }
Пример #8
0
        public Source_Antenna
        (
            byte port,
            rfid.Constants.AntennaPortState state,
            UInt16 powerLevel,
            UInt16 dwellTime,
            UInt16 numberInventoryCycles,
            byte physicalPort,
            UInt32 antennaSenseThreshold
        )
            :
            base( )
        {
            this.port          = port;
            this.antennaResult = new Source_AntennaResult(port);
            this.antennaConfig = new Source_AntennaConfig(port);

            this.State                 = state;
            this.PowerLevel            = powerLevel;
            this.DwellTime             = dwellTime;
            this.NumberInventoryCycles = numberInventoryCycles;
            this.PhysicalPort          = physicalPort;
            this.AntennaSenseThreshold = antennaSenseThreshold;
        }
Пример #9
0
        public Source_Antenna(
            byte                                          port,
            rfid.Constants.AntennaPortState state,
            UInt16                                          powerLevel,
            UInt16                                          dwellTime,
            UInt16                                          numberInventoryCycles,
            byte                                            physicalPort,
            UInt32                                          antennaSenseThreshold
        )
            : base()
        {
            this.port = port;
            this.antennaResult = new Source_AntennaResult( port );
            this.antennaConfig = new Source_AntennaConfig( port );

            this.State                 = state;
            this.PowerLevel            = powerLevel;
            this.DwellTime             = dwellTime;
            this.NumberInventoryCycles = numberInventoryCycles;
            this.PhysicalPort          = physicalPort;
            this.AntennaSenseThreshold = antennaSenseThreshold;
        }
Пример #10
0
        public bool Equals( Source_AntennaConfig rhs )
        {
            if ( null == ( System.Object ) rhs )
            {
                return false;
            }

            return
                   this.port                                    == rhs.port
                && this.antennaPortConfig.powerLevel            == rhs.antennaPortConfig.powerLevel
                && this.antennaPortConfig.dwellTime             == rhs.antennaPortConfig.dwellTime
                && this.antennaPortConfig.numberInventoryCycles == rhs.antennaPortConfig.numberInventoryCycles
                && this.antennaPortConfig.physicalPort          == rhs.antennaPortConfig.physicalPort
                && this.antennaPortConfig.antennaSenseThreshold == rhs.antennaPortConfig.antennaSenseThreshold;
        }
Пример #11
0
        public void Copy( Source_AntennaConfig from )
        {
            this.port                                    = from.port;

            this.antennaPortConfig.powerLevel            = from.antennaPortConfig.powerLevel;
            this.antennaPortConfig.dwellTime             = from.antennaPortConfig.dwellTime;
            this.antennaPortConfig.numberInventoryCycles = from.antennaPortConfig.numberInventoryCycles;
            this.antennaPortConfig.physicalPort          = from.antennaPortConfig.physicalPort;
            this.antennaPortConfig.antennaSenseThreshold = from.antennaPortConfig.antennaSenseThreshold;
        }