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

use strict;

package Raritan::RPC::powerlogic::PowerMeter_1_1_1::Setup;

sub encode {
    my ($in) = @_;
    my $encoded = {};
    $encoded->{'systemType'} = 1 * $in->{'systemType'};
    $encoded->{'displayMode'} = 1 * $in->{'displayMode'};
    return $encoded;
}

sub decode {
    my ($agent, $in) = @_;
    my $decoded = {};
    $decoded->{'systemType'} = $in->{'systemType'};
    $decoded->{'displayMode'} = $in->{'displayMode'};
    return $decoded;
}

1;
