Acme-FishFarm
view release on metacpan or search on metacpan
docs/Acme-FishFarm-OxygenMaintainer-1.01.html view on Meta::CPAN
<p>The default threshold is <code>5 mg/L</code>.</p>
<p>If the current DO level is lower than this threshold, then your fish is lacking oxygen.</p>
</dd>
<dt id="DO_generation_volume">DO_generation_volume</dt>
<dd>
<p>This is the rate of oxygen generation.</p>
<p>The default value is <code>0.2 mg/L per unit time</code></p>
</dd>
</dl>
<p>The unit <code>mg/L</code> is just a unit, it doesn't show up if you call any of it's related getters.</p>
<h1 id="DISSOLVED-OXYGEN-SENSOR-RELATED-METHODS">DISSOLVED OXYGEN SENSOR RELATED METHODS</h1>
<h2 id="current_DO-new_DO">current_DO ( $new_DO )</h2>
<p>Sets / returns the current DO level of the water.</p>
<p><code>$new_DO</code> is optional. If present, the current DO will be set to <code>$new_DO</code>. Otherwise, returns the current DO reading.</p>
<h2 id="DO_threshold1">DO_threshold</h2>
<p>Returns the DO threshold.</p>
<h2 id="set_DO_threshold-new_DO_threshold">set_DO_threshold ( $new_DO_threshold )</h2>
<p>Sets the DO threshold.</p>
<h2 id="is_low_DO">is_low_DO</h2>
<p>Returns <code>1</code> if the DO level is less than the threshold value. Otherwise, returns <code>0</code>.</p>
<h1 id="OXYGEN-GENERATING-RELATED-METHODS">OXYGEN GENERATING RELATED METHODS</h1>
<h2 id="oxygen_generation_volume">oxygen_generation_volume</h2>
<p>Returns the oxygen generation rate.</p>
<h2 id="set_oxygen_generation_volume-new_rate">set_oxygen_generation_volume ( $new_rate )</h2>
<p>Sets the new oxygen generation rate to <code>$new_rate</code>.</p>
<h2 id="generate_oxygen">generate_oxygen</h2>
<p>Pumps oxygen into the water based on the diffusion rate. The current DO value will increase every time this action is invoked.</p>
<p>Take note that this will generate oxygen no matter what. Make sure you check the DO content before pumping oxygen into your tank. See <code>is_low_DO</code> method above for more info.</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::OxygenMaintainer</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 1.925 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )