public Computer()
        {
            MacAddress = DeviceDataSource.GetRandomMacAddress();

            _ports = new ObservableCollection <Port>(PortsDataSource.GetComputerPorts(1, MacAddress));

            Name = DeviceDataSource.GetRandomName(typeof(Computer));

            IPv4 = "192.168.200." + DeviceDataSource.rand.Next(3, 20);
        }
        public Switch()
        {
            MacAddress = DeviceDataSource.GetRandomMacAddress();

            _ports = new ObservableCollection <Port>(PortsDataSource.GetComputerPorts(20, MacAddress));

            _vlans = new ObservableCollection <VirtualLan>();

            SwitchConnectionTable = new Dictionary <string, string>();

            Name = DeviceDataSource.GetRandomName(typeof(Switch));



            _vlans.Add(

                new VirtualLan()
            {
                Name = "Simple",

                IPv4 = "192.168.200.2"
            });
        }