Table of Contents

Namespace adas_core.module.LightBeacons.Devices

Classes

LightBeacon

Abstract class representing a light beacon device. This class defines the basic structure and behavior of a light beacon, including methods for controlling the beacon's colors and generating alerts based on patient observations. The specific implementation of these methods will depend on the type of light beacon being used and the requirements of the application.

LightBeaconAbstract

Abstract class for LightBeacon devices. Each specific LightBeacon model should inherit from this class and implement the abstract methods for controlling the LED states (CodeBlue, CodeRed, CodeYellow, PowerOffLed).

Turktbens2LightBeacon

This class represents a light beacon device that can be controlled via HTTP requests. It retrieves the current color of the beacon by parsing HTML pages and sends commands to change the beacon's color. The class includes error handling and retry logic for network operations, and it can be configured to emulate the beacon for testing purposes.