
from django.db import models

from noisemapper.models.base import NoiseMapperBase

MIC_SOURCE_CHOICES = [('internal', 'Internal'), ('headset', 'Headset')]

__all__ = ('Recording',)


class Recording(NoiseMapperBase, models.Model):

    uuid = models.CharField(max_length=36, blank=True, null=True)
    device_name = models.CharField(max_length=200, blank=True, null=True)

    timestamp = models.DateTimeField()
    process_result = models.TextField()
    device_state = models.TextField(blank=True, null=True)
    lat = models.FloatField(blank=True, null=True)
    lon = models.FloatField(blank=True, null=True)

    uploaded_at = models.DateTimeField(auto_now_add=True)
    misc_data = models.TextField(blank=True, null=True)

    measurement_max = models.FloatField(blank=True, null=True)
    measurement_avg = models.FloatField(blank=True, null=True)

    mic_source = models.CharField(choices=MIC_SOURCE_CHOICES, default=MIC_SOURCE_CHOICES[0][0], max_length=20)

7944cfe75e3cadb0676760fa9b3a6bbf6d5ef281
<mask token>


class Recording(NoiseMapperBase, models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Recording(NoiseMapperBase, models.Model):
    uuid = models.CharField(max_length=36, blank=True, null=True)
    device_name = models.CharField(max_length=200, blank=True, null=True)
    timestamp = models.DateTimeField()
    process_result = models.TextField()
    device_state = models.TextField(blank=True, null=True)
    lat = models.FloatField(blank=True, null=True)
    lon = models.FloatField(blank=True, null=True)
    uploaded_at = models.DateTimeField(auto_now_add=True)
    misc_data = models.TextField(blank=True, null=True)
    measurement_max = models.FloatField(blank=True, null=True)
    measurement_avg = models.FloatField(blank=True, null=True)
    mic_source = models.CharField(choices=MIC_SOURCE_CHOICES, default=
        MIC_SOURCE_CHOICES[0][0], max_length=20)

<mask token>
MIC_SOURCE_CHOICES = [('internal', 'Internal'), ('headset', 'Headset')]
__all__ = 'Recording',


class Recording(NoiseMapperBase, models.Model):
    uuid = models.CharField(max_length=36, blank=True, null=True)
    device_name = models.CharField(max_length=200, blank=True, null=True)
    timestamp = models.DateTimeField()
    process_result = models.TextField()
    device_state = models.TextField(blank=True, null=True)
    lat = models.FloatField(blank=True, null=True)
    lon = models.FloatField(blank=True, null=True)
    uploaded_at = models.DateTimeField(auto_now_add=True)
    misc_data = models.TextField(blank=True, null=True)
    measurement_max = models.FloatField(blank=True, null=True)
    measurement_avg = models.FloatField(blank=True, null=True)
    mic_source = models.CharField(choices=MIC_SOURCE_CHOICES, default=
        MIC_SOURCE_CHOICES[0][0], max_length=20)

from django.db import models
from noisemapper.models.base import NoiseMapperBase
MIC_SOURCE_CHOICES = [('internal', 'Internal'), ('headset', 'Headset')]
__all__ = 'Recording',


class Recording(NoiseMapperBase, models.Model):
    uuid = models.CharField(max_length=36, blank=True, null=True)
    device_name = models.CharField(max_length=200, blank=True, null=True)
    timestamp = models.DateTimeField()
    process_result = models.TextField()
    device_state = models.TextField(blank=True, null=True)
    lat = models.FloatField(blank=True, null=True)
    lon = models.FloatField(blank=True, null=True)
    uploaded_at = models.DateTimeField(auto_now_add=True)
    misc_data = models.TextField(blank=True, null=True)
    measurement_max = models.FloatField(blank=True, null=True)
    measurement_avg = models.FloatField(blank=True, null=True)
    mic_source = models.CharField(choices=MIC_SOURCE_CHOICES, default=
        MIC_SOURCE_CHOICES[0][0], max_length=20)


from django.db import models

from noisemapper.models.base import NoiseMapperBase

MIC_SOURCE_CHOICES = [('internal', 'Internal'), ('headset', 'Headset')]

__all__ = ('Recording',)


class Recording(NoiseMapperBase, models.Model):

    uuid = models.CharField(max_length=36, blank=True, null=True)
    device_name = models.CharField(max_length=200, blank=True, null=True)

    timestamp = models.DateTimeField()
    process_result = models.TextField()
    device_state = models.TextField(blank=True, null=True)
    lat = models.FloatField(blank=True, null=True)
    lon = models.FloatField(blank=True, null=True)

    uploaded_at = models.DateTimeField(auto_now_add=True)
    misc_data = models.TextField(blank=True, null=True)

    measurement_max = models.FloatField(blank=True, null=True)
    measurement_avg = models.FloatField(blank=True, null=True)

    mic_source = models.CharField(choices=MIC_SOURCE_CHOICES, default=MIC_SOURCE_CHOICES[0][0], max_length=20)
