<reponame>inexio/NESi<filename>nesi/devices/huawei/api/schemas/huawei_emu_schemas.py
# This file is part of the NESi software.
#
# Copyright (c) 2020
# Original Software Design by <NAME> <https://github.com/etingof>.
#
# Software adapted by inexio <https://github.com/inexio>.
# - <NAME> <https://github.com/unkn0wn-user>
# - <NAME> <https://github.com/Connyko65>
# - <NAME> <https://github.com/Dinker1996>
#
# License: https://github.com/inexio/NESi/LICENSE.rst

from nesi.devices.softbox.api.schemas.emu_schemas import *


class HuaweiEmuSchema(EmuSchema):
    class Meta:
        model = Emu
        fields = EmuSchema.Meta.fields + ('number', 'name', 'type', 'emu_state', 'used', 'frame_id', 'subnode',
                                          'com_port', 'limit_state', 'charge_state', 'charge_control', 'module_number',
                                          'module_0_address', 'module_0_type', 'module_0_current', 'module_0_voltage',
                                          'battery_capacity', 'battery_0_current', 'dc_voltage')

# This file is part of the NESi software.
#
# Copyright (c) 2020
# Original Software Design by <NAME> <https://github.com/etingof>.
#
# Software adapted by inexio <https://github.com/inexio>.
# - <NAME> <https://github.com/unkn0wn-user>
# - <NAME> <https://github.com/Connyko65>
# - <NAME> <https://github.com/Dinker1996>
#
# License: https://github.com/inexio/NESi/LICENSE.rst

from nesi.devices.softbox.api.schemas.emu_schemas import *


class HuaweiEmuSchema(EmuSchema):
    class Meta:
        model = Emu
        fields = EmuSchema.Meta.fields + ('number', 'name', 'type', 'emu_state', 'used', 'frame_id', 'subnode',
                                          'com_port', 'limit_state', 'charge_state', 'charge_control', 'module_number',
                                          'module_0_address', 'module_0_type', 'module_0_current', 'module_0_voltage',
                                          'battery_capacity', 'battery_0_current', 'dc_voltage')
# This file is part of the NESi software. # # Copyright (c) 2020 # Original Software Design by <NAME> <https://github.com/etingof>. # # Software adapted by inexio <https://github.com/inexio>. # - <NAME> <https://github.com/unkn0wn-user> # - <NAME> <https://github.com/Connyko65> # - <NAME> <https://github.com/Dinker1996> # # License: https://github.com/inexio/NESi/LICENSE.rst