using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DTS.DASLib.Service.Interfaces { public interface IUARTDownloadActions { /// /// Download the data specified in the WhatToDownload property /// /// The function to call with information /// Whatever you want to pass along void UARTDownload(ServiceCallback callback, object userData); /// /// Retrieve UART info about available events to download /// /// The function to call with information /// Whatever you want to pass along void QueryUARTDownload(ServiceCallback callback, object userData, int eventIndex, TDASServiceSetupInfo setupInfo); /// /// FB15268: Set UART connection settings /// /// The function to call with information /// Whatever you want to pass along /// /// /// /// /// void SetUARTSettings(ServiceCallback callback, object userData, uint baudRate, uint dataBits, uint stopBits, uint parity, uint flowControl); void GetUARTSettings(ServiceCallback callback, object userData); } }