Acme-FishFarm
view release on metacpan or search on metacpan
docs/Acme-FishFarm-WaterLevelMaintainer-1.01.html view on Meta::CPAN
<dt id="low_water_level_threshold">low_water_level_threshold</dt>
<dd>
<p>The default threshold is <code>2 unit</code>.</p>
<p>If the current water level is lower than this threshold, then you need to pump water into the tank.</p>
</dd>
<dt id="increase_water_level_by">increase_water_level_by</dt>
<dd>
<p>This is the height of the water level to increase when the water is pumped in.</p>
<p>The default value is <code>0.5 unit</code>.</p>
</dd>
</dl>
<h1 id="WATER-LEVEL-DETECTION-RELATED-METHODS">WATER LEVEL DETECTION RELATED METHODS</h1>
<h2 id="current_water_level-new_water_level">current_water_level ( $new_water_level )</h2>
<p>Sets / returns the current water level of the water.</p>
<p><code>$new_water_level</code> is optional. If present, the current water level will be set to <code>$new_water_level</code>. Otherwise, returns the current water level (depth).</p>
<h2 id="low_water_level_threshold1">low_water_level_threshold</h2>
<p>Returns the low water level threshold.</p>
<h2 id="set_low_water_level_threshold-new_threshold">set_low_water_level_threshold ( $new_threshold )</h2>
<p>Sets the low water level threshold.</p>
<h2 id="is_low_water_level">is_low_water_level</h2>
<p>Returns <code>1</code> if the DO level is less than the threshold value. Otherwise, returns <code>0</code>.</p>
<h1 id="PUMPS-RELATED-METHODS">PUMPS RELATED METHODS</h1>
<p>For the pumping mechanism, just assume that the pumps can actually pump in certain metres of water each time :)</p>
<h2 id="water_level_increase_height">water_level_increase_height</h2>
<p>Returns the height of water level to increase each water pumping action. See <code>pump_water_in</code> below.</p>
<h2 id="set_water_level_increase_height-new_height">set_water_level_increase_height ( $new_height )</h2>
<p>Sets the height of water level to increase to <code>$new_height</code>.</p>
<h2 id="pump_water_in">pump_water_in</h2>
<p>Pumps water into the tank to increase the height of the water level.</p>
<h1 id="AUTHOR">AUTHOR</h1>
<p>Raphael Jong Jun Jie, <code><ellednera at cpan.org></code></p>
<h1 id="BUGS">BUGS</h1>
<p>Please report any bugs or feature requests to <code>bug-. at rt.cpan.org</code>, or through the web interface at <a href="https://rt.cpan.org/NoAuth/ReportBug.html?Queue=.">https://rt.cpan.org/NoAuth/ReportBug.html?Queue=.</a>. I will be notified,...
<h1 id="SUPPORT">SUPPORT</h1>
<p>You can find documentation for this module with the perldoc command.</p>
<pre><code> perldoc Acme::FishFarm::WaterLevelMaintainer</code></pre>
<p>You can also look for information at:</p>
<ul>
<li><p>RT: CPAN's request tracker (report bugs here)</p>
<p><a href="https://rt.cpan.org/NoAuth/Bugs.html?Dist=.">https://rt.cpan.org/NoAuth/Bugs.html?Dist=.</a></p>
</li>
<li><p>CPAN Ratings</p>
<p><a href="https://cpanratings.perl.org/d/.">https://cpanratings.perl.org/d/.</a></p>
</li>
<li><p>Search CPAN</p>
<p><a href="https://metacpan.org/release/.">https://metacpan.org/release/.</a></p>
</li>
</ul>
<h1 id="ACKNOWLEDGEMENTS">ACKNOWLEDGEMENTS</h1>
<p>Besiyata d'shmaya</p>
<h1 id="LICENSE-AND-COPYRIGHT">LICENSE AND COPYRIGHT</h1>
<p>This software is Copyright (c) 2021 by Raphael Jong Jun Jie.</p>
<p>This is free software, licensed under:</p>
<pre><code> The Artistic License 2.0 (GPL Compatible)</code></pre>
</body>
</html>
( run in 0.776 second using v1.01-cache-2.11-cpan-39bf76dae61 )