# SPDX-License-Identifier: BSD-3-Clause
#
# Copyright 2020 Raritan Inc. All rights reserved.
#
# This file was generated by IdlC from ExternalBeeper.idl.

use strict;

package Raritan::RPC::hmi::ExternalBeeper;

use parent qw(Raritan::RPC::RemoteObject);

use constant typeId => "hmi.ExternalBeeper:1.0.0";

sub new {
    my ($class, $agent, $rid, $typeId) = @_;
    $typeId = $typeId || Raritan::RPC::hmi::ExternalBeeper::typeId;
    return $class->SUPER::new($agent, $rid, $typeId);
}

sub alarm($) {
    my ($self) = @_;
    my $agent = $self->{'agent'};
    my $args = {};
    my $rsp = $agent->json_rpc($self->{'rid'}, 'alarm', $args);
}

sub on($) {
    my ($self) = @_;
    my $agent = $self->{'agent'};
    my $args = {};
    my $rsp = $agent->json_rpc($self->{'rid'}, 'on', $args);
}

sub off($) {
    my ($self) = @_;
    my $agent = $self->{'agent'};
    my $args = {};
    my $rsp = $agent->json_rpc($self->{'rid'}, 'off', $args);
}

Raritan::RPC::Registry::registerProxyClass('hmi.ExternalBeeper', 1, 0, 0, 'Raritan::RPC::hmi::ExternalBeeper');
1;
