예제 #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);
        }
        /*
         * (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;
        }