14 lines
437 B
C#
14 lines
437 B
C#
|
|
namespace YD_TrainingCompetition_Api.Options;
|
|||
|
|
|
|||
|
|
public sealed class Serial24GOptions
|
|||
|
|
{
|
|||
|
|
public const string SectionName = "Serial24G";
|
|||
|
|
|
|||
|
|
public string PortName { get; set; } = "COM1";
|
|||
|
|
public int BaudRate { get; set; } = 115200;
|
|||
|
|
public int DataBits { get; set; } = 8;
|
|||
|
|
public int ReadBufferSize { get; set; } = 4096;
|
|||
|
|
public int WriteBufferSize { get; set; } = 1024;
|
|||
|
|
public int FrameLength { get; set; } = 12;
|
|||
|
|
}
|