25개 이상의 토픽을 선택하실 수 없습니다.
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.Model
- {
- public class ModbusTcp : ICommunicationDevice
- {
-
- /// <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;
-
- }
- }
|