24 lines
701 B
C#
24 lines
701 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DataAcquisition.Model
|
|
{
|
|
public class DeviceInfo
|
|
{
|
|
public long Id { get; set; }
|
|
public string DeviceNoHost { get; set; }
|
|
public string DeviceNoFollow { get; set; }
|
|
public string DeviceName { get; set; }
|
|
public string IpAddress { get; set; }
|
|
public int Port { get; set; } = 502;
|
|
public byte Station { get; set; } = 1;
|
|
public int AcquisitionFrequency { get; set; } = 1000;
|
|
public List<ModbusPoint> Points { get; set; } = new List<ModbusPoint>();
|
|
|
|
public int MaxConnections = 1;
|
|
}
|
|
}
|