public override void ReadXml(XmlReader reader) { base.ReadXml(reader); reader.ReadStartElement(nameof(ClientNodeView)); Parameters = XmlSerializer.Deserialize <ClientNodeModel>(reader); NetworkAddress = Parameters.NetworkAddress; reader.ReadEndElement(); }
public void AddClientTest() { var parameters = new ClientNodeModel { MaxAtmCellsNumberInCableCloudMessage = 100, ClientName = "Janusz", CableCloudListeningPort = 10000, IpAddress = "127.0.0.1" }; }
public ClientNodeView() { Image = Resources.ClientNodeNotSelected; Parameters = new ClientNodeModel(); CableCloudDataPort = PortRandomizer.RandomFreePort(); }
public ClientNodeForm(ClientNodeView clientNodeView) { InitializeComponent(); _parameters = clientNodeView.Parameters; }