Esempio n. 1
0
        /// <summary>
        /// Constructor Creates a device tracker using the specified keep time.
        /// </summary>
        /// <param name="callback">The callback for the radio service that should be tracked.</param>
        /// <param name="timeToKeep">The amount of time to keep a device once it has been seen.</param>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //  03/03/08 RCG 1.00           Created

        public ZigBeeDeviceTracker(ZigBeeRadioCallBack callback, TimeSpan timeToKeep)
        {
            m_Devices    = new List <ZigBeeDevice>();
            m_TimeToKeep = timeToKeep;

            m_RadioCallBack = callback;
            m_RadioCallBack.NetworkScanned += new ZigBeeRadioScannedEvent(m_RadioCallBack_NetworkScanned);
        }
Esempio n. 2
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="CallBack">The client's CallBack object.</param>
        /// <param name="endpointConfigurationName">The name of the configuration to use for the connection.</param>
        /// <param name="remoteAddress">The enpoint address to use for the connection.</param>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //  02/14/08 RCG 1.00           Created

        public ZigBeeRadioChannel(ZigBeeRadioCallBack CallBack, string endpointConfigurationName, string remoteAddress)
            : base(CallBack, endpointConfigurationName, remoteAddress)
        {
        }
Esempio n. 3
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="CallBack">The client's CallBack object.</param>
        /// <param name="binding">The binding to use for the connection.</param>
        /// <param name="remoteAddress">The endpoint address for the connection.</param>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //  02/14/08 RCG 1.00           Created

        public ZigBeeRadioChannel(ZigBeeRadioCallBack CallBack, Binding binding, EndpointAddress remoteAddress)
            : base(CallBack, binding, remoteAddress)
        {
        }
Esempio n. 4
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="CallBack">The client's CallBack object.</param>
        /// <param name="endpointConfigurationName">The name of the endpoint configuration to use.</param>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //  02/14/08 RCG 1.00           Created

        public ZigBeeRadioChannel(ZigBeeRadioCallBack CallBack, string endpointConfigurationName)
            : base(CallBack, endpointConfigurationName)
        {
        }
Esempio n. 5
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="CallBack">The client's CallBack object.</param>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //  02/14/08 RCG 1.00           Created

        public ZigBeeRadioChannel(ZigBeeRadioCallBack CallBack)
            : base(CallBack)
        {
        }
Esempio n. 6
0
        /// <summary>
        /// Constructor. Creates a device tracker using the default keep time.
        /// </summary>
        /// <param name="callback">The callback for the radio service that should be tracked.</param>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //  03/03/08 RCG 1.00           Created

        public ZigBeeDeviceTracker(ZigBeeRadioCallBack callback)
            : this(callback, DEFAULT_KEEP_TIME)
        {
        }