18 lines
644 B
C#
18 lines
644 B
C#
namespace Udara.Database.App.Model;
|
|
|
|
public class DeviceSerialModel
|
|
{
|
|
public int Id { get; set; }
|
|
public int DeviceId { get; set; }
|
|
public string PortName { get; set; } = string.Empty;
|
|
public int BaudRate { get; set; }
|
|
public int DataBits { get; set; }
|
|
public string Parity { get; set; } = string.Empty;
|
|
public int StopBits { get; set; }
|
|
public string FlowControl { get; set; } = string.Empty;
|
|
public string Encoding { get; set; } = string.Empty;
|
|
public string NewLine { get; set; } = string.Empty;
|
|
public int ReadTimeout { get; set; }
|
|
public int WriteTimeout { get; set; }
|
|
}
|