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