Pooja Oops
Pooja Oops
1. WeatherStation:
○ Attributes: stationId, location, sensors (list of Sensor)
○ Methods: collectData(), storeData(), configureSettings()
2. Sensor:
○ Attributes: sensorId, type, data (collected data)
○ Methods: sendData()
3. WeatherData:
○ Attributes: timestamp, temperature, humidity, pressure,
windSpeed
○ Methods: getters/setters for data attributes
4. WeatherAnalyst:
○ Attributes: analystId, name, specialization
○ Methods: viewData(data: WeatherData), analyzeData(data:
WeatherData), generateReport()
Relationships:
Summary: