RegisterMonitor 메서드
소스 보기RegisterMonitor(byte, byte, DeviceVariable, params DeviceVariable[])
직접변수 개별 읽기 모니터 등록
선언
public CnetExecuteMonitorRequest RegisterMonitor(byte stationNumber, byte monitorNumber, DeviceVariable deviceVariable, params DeviceVariable[] moreDeviceVariables)
매개 변수
| 형식 | 이름 | 설명 |
|---|---|---|
| byte | stationNumber | 국번 |
| byte | monitorNumber | 모니터 번호 |
| DeviceVariable | deviceVariable | 디바이스 변수 |
| DeviceVariable[] | moreDeviceVariables | 추가로 읽을 디바이스 변수 목록 |
반환
| 형식 | 설명 |
|---|---|
| CnetExecuteMonitorRequest | 모니터 실행 요청 |
RegisterMonitor(bool, byte, byte, DeviceVariable, params DeviceVariable[])
직접변수 개별 읽기 모니터 등록
선언
public CnetExecuteMonitorRequest RegisterMonitor(bool useBCC, byte stationNumber, byte monitorNumber, DeviceVariable deviceVariable, params DeviceVariable[] moreDeviceVariables)
매개 변수
| 형식 | 이름 | 설명 |
|---|---|---|
| bool | useBCC | BCC 사용 여부 |
| byte | stationNumber | 국번 |
| byte | monitorNumber | 모니터 번호 |
| DeviceVariable | deviceVariable | 디바이스 변수 |
| DeviceVariable[] | moreDeviceVariables | 추가로 읽을 디바이스 변수 목록 |
반환
| 형식 | 설명 |
|---|---|
| CnetExecuteMonitorRequest | 모니터 실행 요청 |
RegisterMonitor(int, byte, byte, DeviceVariable, params DeviceVariable[])
직접변수 개별 읽기 모니터 등록
선언
public CnetExecuteMonitorRequest RegisterMonitor(int timeout, byte stationNumber, byte monitorNumber, DeviceVariable deviceVariable, params DeviceVariable[] moreDeviceVariables)
매개 변수
| 형식 | 이름 | 설명 |
|---|---|---|
| int | timeout | 응답 제한시간(밀리초) |
| byte | stationNumber | 국번 |
| byte | monitorNumber | 모니터 번호 |
| DeviceVariable | deviceVariable | 디바이스 변수 |
| DeviceVariable[] | moreDeviceVariables | 추가로 읽을 디바이스 변수 목록 |
반환
| 형식 | 설명 |
|---|---|
| CnetExecuteMonitorRequest | 모니터 실행 요청 |
RegisterMonitor(bool, int, byte, byte, DeviceVariable, params DeviceVariable[])
직접변수 개별 읽기 모니터 등록
선언
public CnetExecuteMonitorRequest RegisterMonitor(bool useBCC, int timeout, byte stationNumber, byte monitorNumber, DeviceVariable deviceVariable, params DeviceVariable[] moreDeviceVariables)
매개 변수
| 형식 | 이름 | 설명 |
|---|---|---|
| bool | useBCC | BCC 사용 여부 |
| int | timeout | 응답 제한시간(밀리초) |
| byte | stationNumber | 국번 |
| byte | monitorNumber | 모니터 번호 |
| DeviceVariable | deviceVariable | 디바이스 변수 |
| DeviceVariable[] | moreDeviceVariables | 추가로 읽을 디바이스 변수 목록 |
반환
| 형식 | 설명 |
|---|---|
| CnetExecuteMonitorRequest | 모니터 실행 요청 |
RegisterMonitor(byte, byte, DeviceVariable, int)
직접변수 연속 읽기 모니터 등록
선언
public CnetExecuteMonitorRequest RegisterMonitor(byte stationNumber, byte monitorNumber, DeviceVariable startDeviceVariable, int count)
매개 변수
| 형식 | 이름 | 설명 |
|---|---|---|
| byte | stationNumber | 국번 |
| byte | monitorNumber | 모니터 번호 |
| DeviceVariable | startDeviceVariable | 시작 디바이스 변수 |
| int | count | 읽을 개수 |
반환
| 형식 | 설명 |
|---|---|
| CnetExecuteMonitorRequest | 모니터 실행 요청 |
RegisterMonitor(bool, byte, byte, DeviceVariable, int)
직접변수 연속 읽기 모니터 등록
선언
public CnetExecuteMonitorRequest RegisterMonitor(bool useBCC, byte stationNumber, byte monitorNumber, DeviceVariable startDeviceVariable, int count)
매개 변수
| 형식 | 이름 | 설명 |
|---|---|---|
| bool | useBCC | BCC 사용 여부 |
| byte | stationNumber | 국번 |
| byte | monitorNumber | 모니터 번호 |
| DeviceVariable | startDeviceVariable | 시작 디바이스 변수 |
| int | count | 읽을 개수 |
반환
| 형식 | 설명 |
|---|---|
| CnetExecuteMonitorRequest | 모니터 실행 요청 |
RegisterMonitor(int, byte, byte, DeviceVariable, int)
직접변수 연속 읽기 모니터 등록
선언
public CnetExecuteMonitorRequest RegisterMonitor(int timeout, byte stationNumber, byte monitorNumber, DeviceVariable startDeviceVariable, int count)
매개 변수
| 형식 | 이름 | 설명 |
|---|---|---|
| int | timeout | 응답 제한시간(밀리초) |
| byte | stationNumber | 국번 |
| byte | monitorNumber | 모니터 번호 |
| DeviceVariable | startDeviceVariable | 시작 디바이스 변수 |
| int | count | 읽을 개수 |
반환
| 형식 | 설명 |
|---|---|
| CnetExecuteMonitorRequest | 모니터 실행 요청 |
RegisterMonitor(bool, int, byte, byte, DeviceVariable, int)
직접변수 연속 읽기 모니터 등록
선언
public CnetExecuteMonitorRequest RegisterMonitor(bool useBCC, int timeout, byte stationNumber, byte monitorNumber, DeviceVariable startDeviceVariable, int count)
매개 변수
| 형식 | 이름 | 설명 |
|---|---|---|
| bool | useBCC | BCC 사용 여부 |
| int | timeout | 응답 제한시간(밀리초) |
| byte | stationNumber | 국번 |
| byte | monitorNumber | 모니터 번호 |
| DeviceVariable | startDeviceVariable | 시작 디바이스 변수 |
| int | count | 읽을 개수 |
반환
| 형식 | 설명 |
|---|---|
| CnetExecuteMonitorRequest | 모니터 실행 요청 |