Dreamine.PLC.Mitsubishi.MC 1.0.1
Dreamine.PLC.Mitsubishi.MC 산업 자동화 및 I/O 기능을 제공합니다.
로딩중...
검색중...
일치하는것 없음
IMitsubishiMcTransport.cs
이 파일의 문서화 페이지로 가기
1using Dreamine.PLC.Abstractions.Results;
2
4
13public interface IMitsubishiMcTransport : IAsyncDisposable
14{
23 bool IsConnected { get; }
24
69 Task<PlcResult> ConnectAsync(
70 string host,
71 int port,
72 int timeoutMs,
73 CancellationToken cancellationToken = default);
74
98 Task<PlcResult> DisconnectAsync(CancellationToken cancellationToken = default);
99
144 Task<PlcResult<byte[]>> SendAndReceiveAsync(
145 IReadOnlyList<byte> requestFrame,
146 int receiveTimeoutMs,
147 int retryCount,
148 CancellationToken cancellationToken = default);
149}
Task< PlcResult > ConnectAsync(string host, int port, int timeoutMs, CancellationToken cancellationToken=default)
Task< PlcResult > DisconnectAsync(CancellationToken cancellationToken=default)
Task< PlcResult< byte[]> > SendAndReceiveAsync(IReadOnlyList< byte > requestFrame, int receiveTimeoutMs, int retryCount, CancellationToken cancellationToken=default)