from rest_framework.serializers import ModelSerializer
from .models import (SimulateDeviceCommunicationParameter,
                     DeviceCommunicationParameter)


class SimulateDeviceCommunicationParameterSerializer(ModelSerializer):
    class Meta:
        model = SimulateDeviceCommunicationParameter
        fields = '__all__'


class DeviceCommunicationParameterSerializer(ModelSerializer):
    class Meta:
        model = DeviceCommunicationParameter
        fields = '__all__'
