Read 메서드
소스 보기Read(DeviceVariable, params DeviceVariable[])
개별 디바이스 변수 읽기
선언
public IReadOnlyDictionary<DeviceVariable, DeviceValue> Read(DeviceVariable deviceVariable, params DeviceVariable[] moreDeviceVariables)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
DeviceVariable | deviceVariable | 디바이스 변수 |
DeviceVariable[] | moreDeviceVariables | 추가 디바이스 변수 목록 |
반환
형식 | 설명 |
---|---|
IReadOnlyDictionary<DeviceVariable, DeviceValue> | 읽은 디바이스 변수/값 Dictionary |
Read(int, DeviceVariable, params DeviceVariable[])
개별 디바이스 변수 읽기
선언
public IReadOnlyDictionary<DeviceVariable, DeviceValue> Read(int timeout, DeviceVariable deviceVariable, params DeviceVariable[] moreDeviceVariables)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
int | timeout | 응답 제한시간(밀리초) |
DeviceVariable | deviceVariable | 디바이스 변수 |
DeviceVariable[] | moreDeviceVariables | 추가 디바이스 변수 목록 |
반환
형식 | 설명 |
---|---|
IReadOnlyDictionary<DeviceVariable, DeviceValue> | 읽은 디바이스 변수/값 Dictionary |
Read(IEnumerable<DeviceVariable>)
개별 디바이스 변수 읽기
선언
public IReadOnlyDictionary<DeviceVariable, DeviceValue> Read(IEnumerable<DeviceVariable> deviceVariables)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
IEnumerable<DeviceVariable> | deviceVariables | 디바이스 변수 목록 |
반환
형식 | 설명 |
---|---|
IReadOnlyDictionary<DeviceVariable, DeviceValue> | 읽은 디바이스 변수/값 Dictionary |
Read(int, IEnumerable<DeviceVariable>)
개별 디바이스 변수 읽기
선언
public IReadOnlyDictionary<DeviceVariable, DeviceValue> Read(int timeout, IEnumerable<DeviceVariable> deviceVariables)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
int | timeout | 응답 제한시간(밀리초) |
IEnumerable<DeviceVariable> | deviceVariables | 디바이스 변수 목록 |
반환
형식 | 설명 |
---|---|
IReadOnlyDictionary<DeviceVariable, DeviceValue> | 읽은 디바이스 변수/값 Dictionary |
Read(DeviceType, uint, int)
연속 바이트 디바이스 변수 읽기
선언
public IDeviceDataBlock Read(DeviceType deviceType, uint index, int count)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
DeviceType | deviceType | 읽기 요청할 디바이스 영역 |
uint | index | 읽기 요청 시작 디바이스 인덱스 |
int | count | 읽을 개수 |
반환
형식 | 설명 |
---|---|
IDeviceDataBlock | 읽은 디바이스 데이터 블록 |
Read(int, DeviceType, uint, int)
연속 바이트 디바이스 변수 읽기
선언
public IDeviceDataBlock Read(int timeout, DeviceType deviceType, uint index, int count)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
int | timeout | 응답 제한시간(밀리초) |
DeviceType | deviceType | 읽기 요청할 디바이스 영역 |
uint | index | 읽기 요청 시작 디바이스 인덱스 |
int | count | 읽을 개수 |
반환
형식 | 설명 |
---|---|
IDeviceDataBlock | 읽은 디바이스 데이터 블록 |
Read(DeviceVariable, int)
연속 디바이스 변수 읽기
선언
public IDeviceDataBlock Read(DeviceVariable deviceVariable, int count)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
DeviceVariable | deviceVariable | 연속 읽기 요청 시작 디바이스 변수 |
int | count | 읽을 개수 |
반환
형식 | 설명 |
---|---|
IDeviceDataBlock | 읽은 디바이스 데이터 블록 |
Read(int, DeviceVariable, int)
연속 디바이스 변수 읽기
선언
public IDeviceDataBlock Read(int timeout, DeviceVariable deviceVariable, int count)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
int | timeout | 응답 제한시간(밀리초) |
DeviceVariable | deviceVariable | 연속 읽기 요청 시작 디바이스 변수 |
int | count | 읽을 개수 |
반환
형식 | 설명 |
---|---|
IDeviceDataBlock | 읽은 디바이스 데이터 블록 |