终端一体化运控平台
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.
 
 
 

30 lines
611 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.Model
  8. {
  9. public class ModbusTcp : ICommunicationDevice
  10. {
  11. /// <summary>
  12. /// IP地址
  13. /// </summary>
  14. public string IP { get; set; } = "192.168.0.1";
  15. /// <summary>
  16. /// 端口号,默认 502
  17. /// </summary>
  18. public int PortNum { get; set; } = 502;
  19. /// <summary>
  20. /// 站号,默认为 1
  21. /// </summary>
  22. public int StationNo { get; set; } = 1;
  23. }
  24. }