Acme-FishFarm

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

modifying or distributing the Package, you accept this license. Do not
use, modify, or distribute the Package, if you do not accept this
license.

(11)  If your Modified Version has been derived from a Modified
Version made by someone other than you, you are nevertheless required
to ensure that your Modified Version complies with the requirements of
this license.

(12)  This license does not grant you the right to use any trademark,
service mark, tradename, or logo of the Copyright Holder.

(13)  This license includes the non-exclusive, worldwide,
free-of-charge patent license to make, have made, use, offer to sell,
sell, import and otherwise transfer the Package with respect to any
patent claims licensable by the Copyright Holder that are necessarily
infringed by the Package. If you institute patent litigation
(including a cross-claim or counterclaim) against any party alleging
that the Package constitutes direct or contributory patent
infringement, then this Artistic License to you shall terminate on the
date that such litigation is filed.

docs/Acme-FishFarm-WaterConditionMonitor-1.01.html  view on Meta::CPAN


<p>The range of values are between <code>0 ntu</code> and <code>300 ntu</code>. However, this range is not checked for incorrect values. The unit <code>ntu</code> is just a unit, it doesn&#39;t show up if you call any of it&#39;s related getters.</p>

</dd>
</dl>

<h2 id="add_oxygen_maintainer-oxygen_maintainer">add_oxygen_maintainer ( $oxygen_maintainer )</h2>

<p>Connects the oxygen maintainer ie <code>Acme::FishFarm::OxygenMaintainer</code> system to this monitoring system.</p>

<p>For now, this module can only check if the oxygen is lacking or not. This module contains a user friendly method compared to the standard terminology used in the <code>Acme::FishFarm::OxygenMaintainer</code> module. Other user friendly methods wil...

<h1 id="WATER-CONDITIONS-RELATED-SUBROUTINES-METHODS">WATER CONDITIONS RELATED SUBROUTINES/METHODS</h1>

<h2 id="current_ph-new_ph">current_ph ( $new_ph )</h2>

<p>Sets / returns the current pH of the water.</p>

<p><code>$new_pH</code> is optional. If present, the current pH will be set to <code>$new_ph</code>. Otherwise, returns the current pH reading.</p>

<h2 id="ph_threshold">ph_threshold</h2>

lib/Acme/FishFarm/WaterConditionMonitor.pm  view on Meta::CPAN

    $sensors{long_buzzer_on} = 0;
    
    bless \%sensors, "Acme::FishFarm::WaterConditionMonitor";
}


=head2 add_oxygen_maintainer ( $oxygen_maintainer )

Connects the oxygen maintainer ie C<Acme::FishFarm::OxygenMaintainer> system to this monitoring system.

For now, this module can only check if the oxygen is lacking or not. This module contains a user friendly method compared to the standard terminology used in the C<Acme::FishFarm::OxygenMaintainer> module. Other user friendly methods will be added in...

=cut

sub add_oxygen_maintainer {
    ref( my $self = shift ) or croak "Please use this the OO way";
    if ( ref( my $oxygen_maintainer = shift ) ne "Acme::FishFarm::OxygenMaintainer") {
        croak "Please pass in an Acme::FishFarm::OxygenMaintainer object!";
    } else {
        $self->{oxygen_maintainer} = $oxygen_maintainer;
    }



( run in 1.226 second using v1.01-cache-2.11-cpan-49f99fa48dc )