Ejemplo n.º 1
0
        /// <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();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Set a new weather in the model.
 /// </summary>
 /// <param name="newWeather">new weather</param>
 public void SetWeather(ObservationWeather newWeather)
 {
     this.observations.Weather = newWeather;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Set the new observation weather.
 /// </summary>
 /// <param name="newWeather">new weather</param>
 private void NewObservationWeather(ObservationWeather newWeather)
 {
     this.observations.SetWeather(newWeather);
 }