BitPoint 클래스
Modbus Bit(Coil, Discrete Input) 형식 인터페이스 포인트
구현
상속된 멤버
네임스페이스: VagabondK.Interface.Modbus
어셈블리: VagabondK.Interface.Modbus.dll
구문
public class BitPoint : ModbusPoint<bool>, INotifyPropertyChanged, INotifyPropertyChanging, IInterfaceHandlerContainer<bool>, IInterfaceHandlerContainer, IEnumerable<InterfaceHandler>, IEnumerable
생성자
이름 | 설명 |
---|---|
BitPoint(byte, bool, ushort, ushort?, ushort?, bool?, IEnumerable<InterfaceHandler>) | 생성자 |
속성
이름 | 설명 |
---|---|
ActualRequestLength | 실제 요청 길이 |
Writable | 쓰기 가능 여부 |
메서드
이름 | 설명 |
---|---|
OnSendRequested(ModbusMaster, in bool) | Modbus 마스터를 이용하여 값을 전송하고자 할 때 호출되는 메서드 |
OnSendRequested(ModbusSlave, in bool) | Modbus 슬레이브를 이용하여 값을 전송하고자 할 때 호출되는 메서드 |