/// <summary> /// Initialises a new instance of the <see cref="RawObservations"/> class. /// </summary> public RawObservations() { this.version = 3; this.location = string.Empty; this.date = string.Empty; this.notes = string.Empty; this.length = ObservationLength.Unspecified; this.intensity = ObservationIntensity.NotRecorded; this.timeOfDay = ObservationTimeOfDay.NotRecorded; this.weather = ObservationWeather.NotRecorded; this.habitats = new RawHabitats(); this.species = new TypeString(); this.heard = new TypeString(); }
/// <summary> /// Set a new weather in the model. /// </summary> /// <param name="newWeather">new weather</param> public void SetWeather(ObservationWeather newWeather) { this.observations.Weather = newWeather; }
/// <summary> /// Set the new observation weather. /// </summary> /// <param name="newWeather">new weather</param> private void NewObservationWeather(ObservationWeather newWeather) { this.observations.SetWeather(newWeather); }