Releases: DotNetBackendTraining/realtime-weather-monitoring-system
Releases · DotNetBackendTraining/realtime-weather-monitoring-system
Major Update - Tests and Fixes
Summary
- Tests for almost all classes
- Async methods for responsive UI
Full Changelog: v1.0.0...v1.1.0
Initial Release - Requirements Completed
Description
- Simulates a real-time weather monitoring and reporting service.
- Capable of receiving and processing raw weather data in multiple formats (JSON, XML, etc.) from various weather stations for different locations.
- Includes different types of 'weather bots' each of which is configured to behave differently based on the weather updates it receives.
Automatic Input Parsing:
The system auto-detects the input format by trying several parsing methods until one works.
Supported Input Formats:
- JSON Format
- XML Format
Different Bot Types:
- RainBot: This bot gets activated when the humidity level exceeds a certain limit specified in its configuration. Upon activation, it performs a specific action which involves printing a pre-configured message.
- SunBot: This bot gets activated when the temperature rises above a certain limit specified in its configuration. Upon activation, it performs a specific action which involves printing a pre-configured message.
- SnowBot: This bot is activated when the temperature drops below a certain limit specified in its configuration. Upon activation, it performs a specific action which involves printing a pre-configured message.
Example on How to Interact with the Application:
User starts the application, the system prompts: Enter weather data:. User enters data in JSON format: {"Location": "City Name", "Temperature": 32, "Humidity": 40}
or XML format: <WeatherData><Location>City Name</Location><Temperature>32</Temperature><Humidity>40</Humidity></WeatherData>
The system responds by activating the bots according to the provided weather data and the bots' configurations. If SunBot is enabled and its temperature threshold is lower than the given temperature, the system may respond with:
SunBot activated!
SunBot: "Wow, it's a scorcher out there!"