| | |
| | | /// <summary> |
| | | /// 输送线PLC设备 |
| | | /// </summary> |
| | | public class ProductionLineDevice : BaseModbusDevice { |
| | | public class ProductionLineDevice { |
| | | |
| | | public string Ip { get; set; } |
| | | public int Port { get; set; } |
| | | |
| | | public ProductionLineDevice(string ip, int port) : base(ip, port) { |
| | | public ProductionLineDevice(string ip, int port) { |
| | | Ip = ip; |
| | | Port = port; |
| | | } |
| | | |
| | | public ProductionLineDevice(string id, string ip, int port) : base(ip, port) { |
| | | public ProductionLineDevice(string id, string ip, int port) { |
| | | Ip = ip; |
| | | Port = port; |
| | | Id = id; |
| | | } |
| | | |