Ejemplo n.º 1
0
        /*
         * (non-Javadoc)
         * @see com.digi.xbee.api.XBeeDevice#GetNetwork()
         */
        //@Override
        public override XBeeNetwork GetNetwork()
        {
            if (!IsOpen)
            {
                throw new InterfaceNotOpenException();
            }

            if (network == null)
            {
                network = new Raw802Network(this);
            }

            return(network);
        }
Ejemplo n.º 2
0
        /*
         * (non-Javadoc)
         * @see com.digi.xbee.api.XBeeDevice#GetNetwork()
         */
        //@Override
        public override XBeeNetwork GetNetwork()
        {
            if (!IsOpen)
                throw new InterfaceNotOpenException();

            if (network == null)
                network = new Raw802Network(this);

            return network;
        }