1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| using System;
| using System.Collections.Generic;
| using System.Linq;
| using System.Text;
| using System.Threading.Tasks;
|
| namespace HH.WCS.Mobox3.DSZSH.Devices {
| /// <summary>
| /// 模板抽象类:Modbus 协议设备
| /// </summary>
| public abstract class BaseModbusDevice {
| public BaseModbusDevice(string ip, int port) {
| Ip = ip;
| Port = port;
| }
|
| public string Ip { get; set; }
| public int Port { get; set; }
| }
| }
|
|