/// <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 length in the model. /// </summary> /// <param name="newLength">new length</param> public void SetLength(ObservationLength newLength) { this.observations.Length = newLength; }
/// <summary> /// Set the new observation length /// </summary> /// <param name="newLength">new length</param> private void NewObservationLength(ObservationLength newLength) { this.observations.SetLength(newLength); }