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