This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
using DTS.Common.Enums;
using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTS.Common.Interface.Sensors
{
public interface IUartSettingDefaults
{
/// <summary>
/// uart baud rate
/// </summary>
uint BaudRate { get; set; }
/// <summary>
/// uart data bits
/// </summary>
uint DataBits { get; set; }
/// <summary>
/// uart stop bits
/// </summary>
StopBits StopBits { get; set; }
/// <summary>
/// uart parity
/// </summary>
Parity Parity { get; set; }
/// <summary>
/// uart flow control FB 30486 remove set
/// </summary>
Handshake FlowControl { get; }
/// <summary>
/// the data format of incoming data
/// </summary>
UartDataFormat DataFormat { get; set; }
/// <summary>
///
/// </summary>
/// <returns></returns>
bool Validate();
}
}