Skip to content

Commit

Permalink
Merge pull request #189 from WildernessLabs/raingauge
Browse files Browse the repository at this point in the history
Add an IRainGauge interface
  • Loading branch information
ctacke authored Feb 3, 2024
2 parents ba43614 + 0a43409 commit d606b64
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Source/Meadow.Contracts/Peripherals/Sensors/Weather/IRainGauge.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using Meadow.Units;

namespace Meadow.Peripherals.Sensors.Weather;

/// <summary>
/// Represents a rain gauge to measure accumulated rainfall depth.
/// </summary>
public interface IRainGauge : ISamplingSensor<Length>
{
/// <summary>
/// Gets the total accumulated rainfall depth.
/// </summary>
Length RainDepth { get; }
}

0 comments on commit d606b64

Please sign in to comment.