25 lines
829 B
Plaintext
25 lines
829 B
Plaintext
using DTS.Common.Enums;
|
|
using System.IO.Ports;
|
|
|
|
namespace DTS.Common.Interface.DASFactory.Download
|
|
{
|
|
public interface IUARTDownload
|
|
{
|
|
/// <summary>
|
|
/// FB15335: Move UART and ClockProfile sets to RunTest -> Hardware NavStep, add Reboot
|
|
/// DASFactory will fill these with the current values.
|
|
/// </summary>
|
|
uint BaudRate { get; }
|
|
uint DataBits { get; }
|
|
StopBits StopBits { get; }
|
|
Parity Parity { get; }
|
|
Handshake FlowControl { get; }
|
|
UartDataFormat DataFormat { get; }
|
|
/// <summary>
|
|
/// What do you want to download?
|
|
/// </summary>
|
|
IUARTDownloadRequest WhatUARTToDownload { get; set; }
|
|
void SetWhatUARTToDownload(IUARTDownloadRequest request, bool bSetInDb = true);
|
|
}
|
|
}
|