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

44 regels
881 B

  1. using BPASmart.Model;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Collections.ObjectModel;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Windows;
  9. namespace BPASmart.Model
  10. {
  11. public class Siemens : ICommunicationDevice
  12. {
  13. /// <summary>
  14. /// IP地址
  15. /// </summary>
  16. public string IP { get; set; } = "192.168.0.1";
  17. /// <summary>
  18. /// 插槽号
  19. /// </summary>
  20. public int Slot { get; set; } = 0;
  21. /// <summary>
  22. /// 机架号
  23. /// </summary>
  24. public int Rack { get; set; } = 0;
  25. /// <summary>
  26. /// 端口号,默认 102
  27. /// </summary>
  28. public int PortNum { get; set; } = 102;
  29. /// <summary>
  30. /// PLC 类型
  31. /// </summary>
  32. public string PlcType { get; set; }
  33. }
  34. }