25 lines
785 B
C#
25 lines
785 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using GenesisCordonelInterface.API;
|
|
using GenesisCordonelInterface.Core.Threading;
|
|
|
|
namespace TBF.Rig.RegisterReaders.GenesisRegReader.communication
|
|
{
|
|
public interface IGciBridgeClient
|
|
{
|
|
Task<RetryResult<PublicModels.RegisterReadResult>>
|
|
ReadRegisterWithRetryAsync(
|
|
int slotId,
|
|
string registerName,
|
|
CancellationToken token = default);
|
|
|
|
Task<RetryResult<PublicModels.RegisterWriteResult>>
|
|
WriteRegisterWithRetryAsync(
|
|
int slotId,
|
|
string registerName,
|
|
ushort value,
|
|
bool verify,
|
|
bool throwOnError,
|
|
CancellationToken token = default);
|
|
}
|
|
} |