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.
|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
-
- namespace BPASmart.VariableManager.Models
- {
- public class ModbusTcp : ICommunicationDevice
- {
- /// <summary>
- /// 显示/隐藏设置
- /// </summary>
- //public Visibility ModbusTcpVisible { get; set; } = Visibility.Collapsed;
-
- /// <summary>
- /// IP地址
- /// </summary>
- public string IP { get; set; } = "192.168.0.1";
-
- /// <summary>
- /// 端口号,默认 502
- /// </summary>
- public int PortNum { get; set; } = 502;
-
- /// <summary>
- /// 站号,默认为 1
- /// </summary>
- public int StationNo { get; set; } = 1;
-
- }
- }
|