TcpConfig.cs 555 B

12345678910111213141516171819202122232425
  1. using Prism.Mvvm;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace TeamAAS_VP.Models
  8. {
  9. public class TcpConfig : BindableBase
  10. {
  11. private string _IP = "127.0.0.1";
  12. public string IP
  13. {
  14. get { return _IP; }
  15. set { SetProperty(ref _IP, value); }
  16. }
  17. private int _Port = 5000;
  18. public int Port
  19. {
  20. get { return _Port; }
  21. set { SetProperty(ref _Port, value); }
  22. }
  23. }
  24. }