ModbusReadWordResponse 클래스
Word(Holding Register, Input Register) 읽기 응답
상속
object
ModbusReadWordResponse
네임스페이스: VagabondK.Protocols.Modbus
어셈블리: VagabondK.Protocols.Modbus.dll
구문
public class ModbusReadWordResponse : ModbusReadResponse, IModbusMessage, IResponse, IProtocolMessage
속성
이름 | 설명 |
---|---|
Bytes | 응답 Word(Holding Register, Input Register)들의 Raw Byte 배열 |
MessageCategory | Modbus 메시지 카테고리 |
Values | 응답 Word(Holding Register, Input Register) 배열 |
메서드
이름 | 설명 |
---|---|
GetDouble(ushort) | 특정 주소로부터 8 Byte 실수 값 가져오기 |
GetDouble(ushort, ModbusEndian) | 특정 주소로부터 8 Byte 실수 값 가져오기 |
GetInt16(ushort) | 특정 주소로부터 부호 있는 2 Byte 정수 값 가져오기 |
GetInt16(ushort, bool) | 특정 주소로부터 부호 있는 2 Byte 정수 값 가져오기 |
GetInt32(ushort) | 특정 주소로부터 부호 있는 4 Byte 정수 값 가져오기 |
GetInt32(ushort, ModbusEndian) | 특정 주소로부터 부호 있는 4 Byte 정수 값 가져오기 |
GetInt64(ushort) | 특정 주소로부터 부호 있는 8 Byte 정수 값 가져오기 |
GetInt64(ushort, ModbusEndian) | 특정 주소로부터 부호 있는 8 Byte 정수 값 가져오기 |
GetSingle(ushort) | 특정 주소로부터 4 Byte 실수 값 가져오기 |
GetSingle(ushort, ModbusEndian) | 특정 주소로부터 8 Byte 실수 값 가져오기 |
GetUInt16(ushort) | 특정 주소로부터 부호 없는 2 Byte 정수 값 가져오기 |
GetUInt16(ushort, bool) | 특정 주소로부터 부호 없는 2 Byte 정수 값 가져오기 |
GetUInt32(ushort) | 특정 주소로부터 부호 없는 4 Byte 정수 값 가져오기 |
GetUInt32(ushort, ModbusEndian) | 특정 주소로부터 부호 없는 4 Byte 정수 값 가져오기 |
GetUInt64(ushort) | 특정 주소로부터 부호 없는 8 Byte 정수 값 가져오기 |
GetUInt64(ushort, ModbusEndian) | 특정 주소로부터 부호 없는 8 Byte 정수 값 가져오기 |
Serialize() | 직렬화 |