Namespace adas_core.module.Relays.Devices
Classes
- KmTronicRelay
Class for controlling a KMTronic relay device.
- KmTronicV2Relay
Class representing a KMTronic V2 relay device. This class inherits from the RelayDevice class and provides specific implementations for checking the device status, getting the status of individual relays, and controlling the power state of the relays for a KMTronic V2 relay device.
- RelayDevice
Abstract class representing a relay device. It provides methods to check the device status, get and set the status of individual relays, and control the power state of the relays. The class also includes an event to notify when the status of a relay changes. The implementation of the methods is left to the derived classes, which will provide specific functionality based on the type of relay device being used.