예제 #1
0
        public override XBeeNetwork GetNetwork()
        {
            if (!IsOpen)
            {
                throw new InterfaceNotOpenException();
            }
            if (network == null)
            {
                network = new ZigBeeNetwork(this);
            }

            return(network);
        }
        public override XBeeNetwork GetNetwork()
        {
            if (!IsOpen)
                throw new InterfaceNotOpenException();
            if (network == null)
                network = new ZigBeeNetwork(this);

            return network;
        }