Write 메서드
소스 보기Write(byte, DeviceVariable, DeviceValue)
개별 디바이스 변수 쓰기
선언
public void Write(byte stationNumber, DeviceVariable deviceVariable, DeviceValue deviceValue)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
byte | stationNumber | 국번 |
DeviceVariable | deviceVariable | 디바이스 변수 |
DeviceValue | deviceValue | 디바이스 변수에 쓸 값 |
Write(bool, byte, DeviceVariable, DeviceValue)
개별 디바이스 변수 쓰기
선언
public void Write(bool useBCC, byte stationNumber, DeviceVariable deviceVariable, DeviceValue deviceValue)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
bool | useBCC | BCC 사용 여부 |
byte | stationNumber | 국번 |
DeviceVariable | deviceVariable | 디바이스 변수 |
DeviceValue | deviceValue | 디바이스 변수에 쓸 값 |
Write(int, byte, DeviceVariable, DeviceValue)
개별 디바이스 변수 쓰기
선언
public void Write(int timeout, byte stationNumber, DeviceVariable deviceVariable, DeviceValue deviceValue)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
int | timeout | 응답 제한시간(밀리초) |
byte | stationNumber | 국번 |
DeviceVariable | deviceVariable | 디바이스 변수 |
DeviceValue | deviceValue | 디바이스 변수에 쓸 값 |
Write(bool, int, byte, DeviceVariable, DeviceValue)
개별 디바이스 변수 쓰기
선언
public void Write(bool useBCC, int timeout, byte stationNumber, DeviceVariable deviceVariable, DeviceValue deviceValue)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
bool | useBCC | BCC 사용 여부 |
int | timeout | 응답 제한시간(밀리초) |
byte | stationNumber | 국번 |
DeviceVariable | deviceVariable | 디바이스 변수 |
DeviceValue | deviceValue | 디바이스 변수에 쓸 값 |
Write(byte, (DeviceVariable, DeviceValue), params (DeviceVariable, DeviceValue)[])
개별 디바이스 변수 쓰기
선언
public void Write(byte stationNumber, (DeviceVariable, DeviceValue) valueTuple, params (DeviceVariable, DeviceValue)[] moreValueTuples)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
byte | stationNumber | 국번 |
(DeviceVariable, DeviceValue) | valueTuple | 디바이스 변수에 쓸 값 |
(DeviceVariable, DeviceValue)[] | moreValueTuples | 추가 디바이스 변수에 쓸 값들 |
Write(bool, byte, (DeviceVariable, DeviceValue), params (DeviceVariable, DeviceValue)[])
개별 디바이스 변수 쓰기
선언
public void Write(bool useBCC, byte stationNumber, (DeviceVariable, DeviceValue) valueTuple, params (DeviceVariable, DeviceValue)[] moreValueTuples)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
bool | useBCC | BCC 사용 여부 |
byte | stationNumber | 국번 |
(DeviceVariable, DeviceValue) | valueTuple | 디바이스 변수에 쓸 값 |
(DeviceVariable, DeviceValue)[] | moreValueTuples | 추가 디바이스 변수에 쓸 값들 |
Write(int, byte, (DeviceVariable, DeviceValue), params (DeviceVariable, DeviceValue)[])
개별 디바이스 변수 쓰기
선언
public void Write(int timeout, byte stationNumber, (DeviceVariable, DeviceValue) valueTuple, params (DeviceVariable, DeviceValue)[] moreValueTuples)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
int | timeout | 응답 제한시간(밀리초) |
byte | stationNumber | 국번 |
(DeviceVariable, DeviceValue) | valueTuple | 디바이스 변수에 쓸 값 |
(DeviceVariable, DeviceValue)[] | moreValueTuples | 추가 디바이스 변수에 쓸 값들 |
Write(bool, int, byte, (DeviceVariable, DeviceValue), params (DeviceVariable, DeviceValue)[])
개별 디바이스 변수 쓰기
선언
public void Write(bool useBCC, int timeout, byte stationNumber, (DeviceVariable, DeviceValue) valueTuple, params (DeviceVariable, DeviceValue)[] moreValueTuples)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
bool | useBCC | BCC 사용 여부 |
int | timeout | 응답 제한시간(밀리초) |
byte | stationNumber | 국번 |
(DeviceVariable, DeviceValue) | valueTuple | 디바이스 변수에 쓸 값 |
(DeviceVariable, DeviceValue)[] | moreValueTuples | 추가 디바이스 변수에 쓸 값들 |
Write(byte, IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>>)
개별 디바이스 변수 쓰기
선언
public void Write(byte stationNumber, IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>> values)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
byte | stationNumber | 국번 |
IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>> | values | 디바이스 변수에 쓸 값들 |
Write(bool, byte, IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>>)
개별 디바이스 변수 쓰기
선언
public void Write(bool useBCC, byte stationNumber, IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>> values)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
bool | useBCC | BCC 사용 여부 |
byte | stationNumber | 국번 |
IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>> | values | 디바이스 변수에 쓸 값들 |
Write(int, byte, IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>>)
개별 디바이스 변수 쓰기
선언
public void Write(int timeout, byte stationNumber, IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>> values)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
int | timeout | 응답 제한시간(밀리초) |
byte | stationNumber | 국번 |
IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>> | values | 디바이스 변수에 쓸 값들 |
Write(bool, int, byte, IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>>)
개별 디바이스 변수 쓰기
선언
public void Write(bool useBCC, int timeout, byte stationNumber, IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>> values)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
bool | useBCC | BCC 사용 여부 |
int | timeout | 응답 제한시간(밀리초) |
byte | stationNumber | 국번 |
IEnumerable<KeyValuePair<DeviceVariable, DeviceValue>> | values | 디바이스 변수에 쓸 값들 |
Write(byte, DeviceVariable, DeviceValue, params DeviceValue[])
연속 디바이스 변수 쓰기
선언
public void Write(byte stationNumber, DeviceVariable startDeviceVariable, DeviceValue deviceValue, params DeviceValue[] moreDeviceValues)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
byte | stationNumber | 국번 |
DeviceVariable | startDeviceVariable | 시작 디바이스 변수 |
DeviceValue | deviceValue | 쓰기 요청할 디바이스 값 |
DeviceValue[] | moreDeviceValues | 추가로 쓸 디바이스 값들 |
Write(bool, byte, DeviceVariable, DeviceValue, params DeviceValue[])
연속 디바이스 변수 쓰기
선언
public void Write(bool useBCC, byte stationNumber, DeviceVariable startDeviceVariable, DeviceValue deviceValue, params DeviceValue[] moreDeviceValues)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
bool | useBCC | BCC 사용 여부 |
byte | stationNumber | 국번 |
DeviceVariable | startDeviceVariable | 시작 디바이스 변수 |
DeviceValue | deviceValue | 쓰기 요청할 디바이스 값 |
DeviceValue[] | moreDeviceValues | 추가로 쓸 디바이스 값들 |
Write(int, byte, DeviceVariable, DeviceValue, params DeviceValue[])
연속 디바이스 변수 쓰기
선언
public void Write(int timeout, byte stationNumber, DeviceVariable startDeviceVariable, DeviceValue deviceValue, params DeviceValue[] moreDeviceValues)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
int | timeout | 응답 제한시간(밀리초) |
byte | stationNumber | 국번 |
DeviceVariable | startDeviceVariable | 시작 디바이스 변수 |
DeviceValue | deviceValue | 쓰기 요청할 디바이스 값 |
DeviceValue[] | moreDeviceValues | 추가로 쓸 디바이스 값들 |
Write(bool, int, byte, DeviceVariable, DeviceValue, params DeviceValue[])
연속 디바이스 변수 쓰기
선언
public void Write(bool useBCC, int timeout, byte stationNumber, DeviceVariable startDeviceVariable, DeviceValue deviceValue, params DeviceValue[] moreDeviceValues)
매개 변수
형식 | 이름 | 설명 |
---|---|---|
bool | useBCC | BCC 사용 여부 |
int | timeout | 응답 제한시간(밀리초) |
byte | stationNumber | 국번 |
DeviceVariable | startDeviceVariable | 시작 디바이스 변수 |
DeviceValue | deviceValue | 쓰기 요청할 디바이스 값 |
DeviceValue[] | moreDeviceValues | 추가로 쓸 디바이스 값들 |