终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 regels
788 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. namespace BPASmart.VariableManager.Models
  8. {
  9. public class ModbusTcp : ICommunicationDevice
  10. {
  11. /// <summary>
  12. /// 显示/隐藏设置
  13. /// </summary>
  14. //public Visibility ModbusTcpVisible { get; set; } = Visibility.Collapsed;
  15. /// <summary>
  16. /// IP地址
  17. /// </summary>
  18. public string IP { get; set; } = "192.168.0.1";
  19. /// <summary>
  20. /// 端口号,默认 502
  21. /// </summary>
  22. public int PortNum { get; set; } = 502;
  23. /// <summary>
  24. /// 站号,默认为 1
  25. /// </summary>
  26. public int StationNo { get; set; } = 1;
  27. }
  28. }