using System; namespace DTS.DASLib.Service { internal interface IDownloadActions { /// /// Download the data specified in the WhatToDownload property /// /// The function to call with information /// Whatever you want to pass along void Download(ServiceCallback callback, object userData); /// /// Cancel the current operation /// void Cancel(); /// /// Cancels the current operation (with a smaller clear cancel time) /// void ForceCancel(); /// /// Clear the cancel flag /// void ClearCancel(); /// /// Retrieve info about available events to download /// /// The function to call with information /// Whatever you want to pass along void QueryDownload(ServiceCallback callback, object userData, int eventIndex, TDASServiceSetupInfo setupInfo); /// /// Figure out if events have been downloaded /// /// The function to call with information /// Whatever you want to pass along void QueryDownloadedStatus(ServiceCallback callback, object userData); /// /// Update the recorded trigger sample numbers in HW /// /// The function to call with information /// Whatever you want to pass along void SetTriggerSampleNumbers(ServiceCallback callback, object userData); /// /// Set event status to downloaded (to be used when there is no data to download) /// /// The function to call with information /// Whatever you want to pass along /// void SetDownloaded(ServiceCallback callback, object userData); /// /// updates an event with new information /// /// /// /// /// /// /// /// /// void SetEventInfo(int eventIndex, string id, Guid guid, ulong totalSamples, ulong[] triggerSamples, ulong startRecordSample, UInt32 eventHasDownloaded, ServiceCallback callback, object userData); /// /// corrects the T0 and Total samples recorded attributes /// note that not all IDownloadAction devices support /// devices that don't support will return an error and complete /// this functionality searches ADC on a device for rails and /// local peaks and troughs /// 18469 Implement missing trigger(t0) recovery(Circular Buffer / Hybrid Recorder) /// /// /// void CorrectT0s(ServiceCallback callback, object userData); } }