ModbusSlaveInterface 클래스
Modbus 슬레이브 기반 인터페이스
상속된 멤버
네임스페이스: VagabondK.Interface.Modbus
어셈블리: VagabondK.Interface.Modbus.dll
구문
public class ModbusSlaveInterface : Interface<ModbusPoint>, INotifyPropertyChanged, ICollection<ModbusPoint>, IEnumerable<ModbusPoint>, IEnumerable, IDisposable
생성자
이름 | 설명 |
---|---|
ModbusSlaveInterface() | 생성자 |
ModbusSlaveInterface(ModbusSlaveService) | 생성자 |
ModbusSlaveInterface(ModbusSlaveService, IEnumerable<ModbusPoint>) | 생성자 |
속성
이름 | 설명 |
---|---|
Service | Modbus 슬레이브 서비스 |
메서드
이름 | 설명 |
---|---|
Dispose(bool) | 관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다. |
OnAdded(ModbusPoint) | 인터페이스 포인트가 추가되었을 경우 호출됨 |
OnRemoved(ModbusPoint) | 인터페이스 포인트가 제거되었을 경우 호출됨 |
OnStart() | 통신 기반 인터페이스를 시작하기 위한 코드를 구현합니다. |
OnStop() | 통신 기반 인터페이스를 종료하기 위한 코드를 구현합니다. |
SetBindings(object, byte) | 인터페이스 바인딩 일괄 설정, InterfaceAttribute을 상속받은 특성을 이용하여 일괄 바인딩 설정 가능. |