Dreamine.PLC.Mitsubishi.MC 1.0.1
Dreamine.PLC.Mitsubishi.MC 산업 자동화 및 I/O 기능을 제공합니다.
로딩중...
검색중...
일치하는것 없음
Dreamine.PLC.Mitsubishi.MC.Transport.IMitsubishiMcTransport 인터페이스 참조

더 자세히 ...

Dreamine.PLC.Mitsubishi.MC.Transport.IMitsubishiMcTransport에 대한 상속 다이어그램 :
Dreamine.PLC.Mitsubishi.MC.Transport.IMitsubishiMcTransport에 대한 협력 다이어그램:

Public 멤버 함수

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)

속성

bool IsConnected [get]

상세한 설명

Mitsubishi MC 프로토콜 통신 전송 경계를 정의합니다.

IMitsubishiMcTransport.cs 파일의 13 번째 라인에서 정의되었습니다.

멤버 함수 문서화

◆ ConnectAsync()

Task< PlcResult > Dreamine.PLC.Mitsubishi.MC.Transport.IMitsubishiMcTransport.ConnectAsync ( string host,
int port,
int timeoutMs,
CancellationToken cancellationToken = default )

전송을 연결하거나 준비합니다.

매개변수
host대상 호스트입니다.
port대상 포트입니다.
timeoutMs연결 제한 시간입니다.
cancellationToken취소 토큰입니다.
반환값
연결 결과입니다.

Dreamine.PLC.Mitsubishi.MC.Transport.FakeMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.TcpMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.UdpMitsubishiMcTransport에서 구현되었습니다.

◆ DisconnectAsync()

Task< PlcResult > Dreamine.PLC.Mitsubishi.MC.Transport.IMitsubishiMcTransport.DisconnectAsync ( CancellationToken cancellationToken = default)

전송 연결을 해제합니다.

매개변수
cancellationToken취소 토큰입니다.
반환값
연결 해제 결과입니다.

Dreamine.PLC.Mitsubishi.MC.Transport.FakeMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.TcpMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.UdpMitsubishiMcTransport에서 구현되었습니다.

◆ SendAndReceiveAsync()

Task< PlcResult< byte[]> > Dreamine.PLC.Mitsubishi.MC.Transport.IMitsubishiMcTransport.SendAndReceiveAsync ( IReadOnlyList< byte > requestFrame,
int receiveTimeoutMs,
int retryCount,
CancellationToken cancellationToken = default )

요청 프레임을 보내고 응답 프레임을 받습니다.

매개변수
requestFrame요청 프레임입니다.
receiveTimeoutMs수신 제한 시간입니다.
retryCount재시도 횟수입니다.
cancellationToken취소 토큰입니다.
반환값
응답 프레임 결과입니다.

Dreamine.PLC.Mitsubishi.MC.Transport.FakeMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.TcpMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.UdpMitsubishiMcTransport에서 구현되었습니다.

속성 문서화

◆ IsConnected

bool Dreamine.PLC.Mitsubishi.MC.Transport.IMitsubishiMcTransport.IsConnected
get

전송이 연결 또는 준비되었는지 여부를 가져옵니다.

Dreamine.PLC.Mitsubishi.MC.Transport.FakeMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.TcpMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.UdpMitsubishiMcTransport에서 구현되었습니다.

IMitsubishiMcTransport.cs 파일의 23 번째 라인에서 정의되었습니다.

23{ get; }

이 인터페이스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: