<filename>asim/migrations/0003_auto_20160512_0916.py<gh_stars>0
# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-05-12 07:16
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('asim', '0002_auto_20160426_1104'),
    ]

    operations = [
        migrations.CreateModel(
            name='MMIATimedFrameData',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('frame_number', models.IntegerField()),
                ('number_of_octets', models.IntegerField()),
                ('PHOT1Data_exists', models.BooleanField()),
                ('PHOT2Data_exists', models.BooleanField()),
                ('PHOT3Data_exists', models.BooleanField()),
                ('CHU1Meta_exists', models.BooleanField()),
                ('CHU1Data_exists', models.BooleanField()),
                ('CHU2Meta_exists', models.BooleanField()),
                ('CHU2Data_exists', models.BooleanField()),
                ('PHOT1Data', models.FileField(upload_to='')),
                ('PHOT2Data', models.FileField(upload_to='')),
                ('PHOT3Data', models.FileField(upload_to='')),
                ('CHU1Meta', models.FileField(upload_to='')),
                ('CHU1Data', models.FileField(upload_to='')),
                ('CHU2Meta', models.FileField(upload_to='')),
                ('CHU2Data', models.FileField(upload_to='')),
            ],
        ),
        migrations.CreateModel(
            name='MMIATimedObservationTM',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('utc_year', models.IntegerField()),
                ('utc_msec', models.IntegerField()),
                ('utc_seconds', models.IntegerField()),
                ('tcp_count_dhpu', models.IntegerField()),
                ('tcp_count_internal', models.IntegerField()),
                ('dpu_count_current', models.IntegerField()),
                ('dpu_count_pre_reset', models.IntegerField()),
                ('frame_rate', models.SmallIntegerField()),
                ('sensor_usage_phot1', models.BooleanField()),
                ('sensor_usage_phot2', models.BooleanField()),
                ('sensor_usage_phot3', models.BooleanField()),
                ('sensor_usage_chu1', models.BooleanField()),
                ('sensor_usage_chu2', models.BooleanField()),
                ('observation_duration', models.IntegerField()),
                ('chu_collection_rate', models.IntegerField()),
                ('chu_integration_time', models.IntegerField()),
                ('phot1_temp', models.IntegerField()),
                ('phot2_temp', models.IntegerField()),
                ('phot3_temp', models.IntegerField()),
                ('chu1_temp', models.IntegerField()),
                ('chu2_temp', models.IntegerField()),
                ('chu1_20v_45v', models.SmallIntegerField()),
                ('chu2_20v_45v', models.SmallIntegerField()),
                ('chu_image_compression', models.CharField(choices=[('NC', 'No compression'), ('L1', 'Level 1 wavelet transform'), ('L2', 'Level 3 wavelet transform'), ('L3', 'Level 3 wavelet transform'), ('L4', 'Level 4 wavelet transform'), ('L5', 'Level 5 wavelet transform')], default='NC', max_length=2)),
                ('chu_image_width_pixels', models.IntegerField()),
                ('chu_image_height_pixels', models.IntegerField()),
                ('chu_pixel_data_size', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MMIATriggeredFrameData',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('frame_number', models.IntegerField()),
                ('number_of_octets', models.IntegerField()),
                ('PHOT1Data_exists', models.BooleanField()),
                ('PHOT2Data_exists', models.BooleanField()),
                ('PHOT3Data_exists', models.BooleanField()),
                ('CHU1Meta_exists', models.BooleanField()),
                ('CHU1Data_exists', models.BooleanField()),
                ('CHU2Meta_exists', models.BooleanField()),
                ('CHU2Data_exists', models.BooleanField()),
                ('PHOT1DataTrigger', models.BooleanField()),
                ('PHOT2DataTrigger', models.BooleanField()),
                ('PHOT3DataTrigger', models.BooleanField()),
                ('CHU1RowMetaTrigger', models.BooleanField()),
                ('CHU1ColumnMetaTrigger', models.BooleanField()),
                ('CHU2RowMetaTrigger', models.BooleanField()),
                ('CHU2ColumnMetaTrigger', models.BooleanField()),
                ('MXGSTrigger', models.BooleanField()),
                ('PHOT1_peak_value', models.IntegerField()),
                ('PHOT1_integral_value', models.IntegerField()),
                ('PHOT2_peak_value', models.IntegerField()),
                ('PHOT2_integral_value', models.IntegerField()),
                ('PHOT3_peak_value', models.IntegerField()),
                ('PHOT3_integral_value', models.IntegerField()),
                ('CHU1_row_peak_value', models.IntegerField()),
                ('CHU1_row_integral_value', models.IntegerField()),
                ('CHU1_column_peak_value', models.IntegerField()),
                ('CHU1_column_integral_value', models.IntegerField()),
                ('CHU2_row_peak_value', models.IntegerField()),
                ('CHU2_row_integral_value', models.IntegerField()),
                ('CHU2_column_peak_value', models.IntegerField()),
                ('CHU2_column_integral_value', models.IntegerField()),
                ('PHOT1Data', models.FileField(upload_to='')),
                ('PHOT2Data', models.FileField(upload_to='')),
                ('PHOT3Data', models.FileField(upload_to='')),
                ('CHU1Meta', models.FileField(upload_to='')),
                ('CHU1Data', models.FileField(upload_to='')),
                ('CHU2Meta', models.FileField(upload_to='')),
                ('CHU2Data', models.FileField(upload_to='')),
            ],
        ),
        migrations.CreateModel(
            name='MMIATriggeredObservationTM',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('observation_id', models.IntegerField()),
                ('utc_year', models.IntegerField()),
                ('utc_msec', models.IntegerField()),
                ('utc_seconds', models.IntegerField()),
                ('tcp_count_dhpu', models.IntegerField()),
                ('tcp_count_internal', models.IntegerField()),
                ('frame_rate', models.SmallIntegerField()),
                ('sensor_usage_phot1', models.BooleanField()),
                ('sensor_usage_phot2', models.BooleanField()),
                ('sensor_usage_phot3', models.BooleanField()),
                ('sensor_usage_chu1', models.BooleanField()),
                ('sensor_usage_chu2', models.BooleanField()),
                ('priority', models.SmallIntegerField()),
                ('sensor_A_tle_categorization', models.CharField(choices=[('P1', 'P1'), ('P2', 'P2'), ('P3', 'P3'), ('C1', 'C1'), ('C2', 'C2')], default='P1', max_length=2)),
                ('sensor_B_tle_categorization', models.CharField(choices=[('P1', 'P1'), ('P2', 'P2'), ('P3', 'P3'), ('C1', 'C1'), ('C2', 'C2')], default='P1', max_length=2)),
                ('categorization_method', models.CharField(choices=[('SATR', 'SATR'), ('PVA', 'PVA'), ('IVA', 'IVA'), ('RPAB', 'RPAB'), ('RIAB', 'RIAB')], default='SATR', max_length=2)),
                ('phot1_temp', models.IntegerField()),
                ('phot2_temp', models.IntegerField()),
                ('phot3_temp', models.IntegerField()),
                ('chu1_temp', models.IntegerField()),
                ('chu2_temp', models.IntegerField()),
                ('chu1_20v_45v', models.SmallIntegerField()),
                ('chu2_20v_45v', models.SmallIntegerField()),
                ('chu_minimum_row', models.IntegerField()),
                ('chu_maximum_row', models.IntegerField()),
                ('chu_minimum_column', models.IntegerField()),
                ('chu_maximum_column', models.IntegerField()),
                ('chu_pixel_data_size', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSAbortMemoryDumpTM',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSCommandVerificationReportTM',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('packet_length', models.IntegerField(verbose_name='Packet length')),
                ('tc_header', models.IntegerField()),
                ('result', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSDumpMemoryTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('memory_id', models.IntegerField()),
                ('start_address', models.IntegerField()),
                ('no_octets', models.IntegerField()),
                ('dump_frequency', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSEnableMemoryLoadTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('memory_id', models.IntegerField()),
                ('write_control', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSEnterConfigurationModeTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSEnterOperationalModeTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSEnterScienceSubmodeTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('sw_submode', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSGenerateCrossTriggerTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSGroundTest',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('action_id', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSLHPStartupHeatersSwitchOnTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('period', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSLoadConfigurationParametersTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('memory_id', models.IntegerField()),
                ('nvm_load', models.BooleanField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSLoadMemoryTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('memory_id', models.IntegerField()),
                ('start_address', models.IntegerField()),
                ('dump_data', models.FileField(upload_to='')),
            ],
        ),
        migrations.CreateModel(
            name='MXGSMemoryDumpTM',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSPrepareShutdownTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSRebootTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSSensorSwitchOffTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('dau_czt_1_lv', models.BooleanField()),
                ('dau_bgo_1_lv', models.BooleanField()),
                ('dau_czt_2_lv', models.BooleanField()),
                ('dau_bgo_2_lv', models.BooleanField()),
                ('dau_czt_3_lv', models.BooleanField()),
                ('dau_bgo_3_lv', models.BooleanField()),
                ('dau_czt_4_lv', models.BooleanField()),
                ('dau_bgo_4_lv', models.BooleanField()),
                ('dau_czt_1_lv_hv', models.BooleanField()),
                ('dau_bgo_1_lv_hv', models.BooleanField()),
                ('dau_czt_2_lv_hv', models.BooleanField()),
                ('dau_bgo_2_lv_hv', models.BooleanField()),
                ('dau_czt_3_lv_hv', models.BooleanField()),
                ('dau_bgo_3_lv_hv', models.BooleanField()),
                ('dau_czt_4_lv_hv', models.BooleanField()),
                ('dau_bgo_4_lv_hv', models.BooleanField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSSensorSwitchOnTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('dau_czt_1_lv', models.BooleanField()),
                ('dau_bgo_1_lv', models.BooleanField()),
                ('dau_czt_2_lv', models.BooleanField()),
                ('dau_bgo_2_lv', models.BooleanField()),
                ('dau_czt_3_lv', models.BooleanField()),
                ('dau_bgo_3_lv', models.BooleanField()),
                ('dau_czt_4_lv', models.BooleanField()),
                ('dau_bgo_4_lv', models.BooleanField()),
                ('dau_czt_1_lv_hv', models.BooleanField()),
                ('dau_bgo_1_lv_hv', models.BooleanField()),
                ('dau_czt_2_lv_hv', models.BooleanField()),
                ('dau_bgo_2_lv_hv', models.BooleanField()),
                ('dau_czt_3_lv_hv', models.BooleanField()),
                ('dau_bgo_3_lv_hv', models.BooleanField()),
                ('dau_czt_4_lv_hv', models.BooleanField()),
                ('dau_bgo_4_lv_hv', models.BooleanField()),
            ],
        ),
        migrations.AddField(
            model_name='mmiatriggeredframedata',
            name='observation',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='asim.MMIATriggeredObservationTM'),
        ),
        migrations.AddField(
            model_name='mmiatimedframedata',
            name='observation',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='asim.MMIATimedObservationTM'),
        ),
    ]

<filename>asim/migrations/0003_auto_20160512_0916.py<gh_stars>0
# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-05-12 07:16
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('asim', '0002_auto_20160426_1104'),
    ]

    operations = [
        migrations.CreateModel(
            name='MMIATimedFrameData',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('frame_number', models.IntegerField()),
                ('number_of_octets', models.IntegerField()),
                ('PHOT1Data_exists', models.BooleanField()),
                ('PHOT2Data_exists', models.BooleanField()),
                ('PHOT3Data_exists', models.BooleanField()),
                ('CHU1Meta_exists', models.BooleanField()),
                ('CHU1Data_exists', models.BooleanField()),
                ('CHU2Meta_exists', models.BooleanField()),
                ('CHU2Data_exists', models.BooleanField()),
                ('PHOT1Data', models.FileField(upload_to='')),
                ('PHOT2Data', models.FileField(upload_to='')),
                ('PHOT3Data', models.FileField(upload_to='')),
                ('CHU1Meta', models.FileField(upload_to='')),
                ('CHU1Data', models.FileField(upload_to='')),
                ('CHU2Meta', models.FileField(upload_to='')),
                ('CHU2Data', models.FileField(upload_to='')),
            ],
        ),
        migrations.CreateModel(
            name='MMIATimedObservationTM',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('utc_year', models.IntegerField()),
                ('utc_msec', models.IntegerField()),
                ('utc_seconds', models.IntegerField()),
                ('tcp_count_dhpu', models.IntegerField()),
                ('tcp_count_internal', models.IntegerField()),
                ('dpu_count_current', models.IntegerField()),
                ('dpu_count_pre_reset', models.IntegerField()),
                ('frame_rate', models.SmallIntegerField()),
                ('sensor_usage_phot1', models.BooleanField()),
                ('sensor_usage_phot2', models.BooleanField()),
                ('sensor_usage_phot3', models.BooleanField()),
                ('sensor_usage_chu1', models.BooleanField()),
                ('sensor_usage_chu2', models.BooleanField()),
                ('observation_duration', models.IntegerField()),
                ('chu_collection_rate', models.IntegerField()),
                ('chu_integration_time', models.IntegerField()),
                ('phot1_temp', models.IntegerField()),
                ('phot2_temp', models.IntegerField()),
                ('phot3_temp', models.IntegerField()),
                ('chu1_temp', models.IntegerField()),
                ('chu2_temp', models.IntegerField()),
                ('chu1_20v_45v', models.SmallIntegerField()),
                ('chu2_20v_45v', models.SmallIntegerField()),
                ('chu_image_compression', models.CharField(choices=[('NC', 'No compression'), ('L1', 'Level 1 wavelet transform'), ('L2', 'Level 3 wavelet transform'), ('L3', 'Level 3 wavelet transform'), ('L4', 'Level 4 wavelet transform'), ('L5', 'Level 5 wavelet transform')], default='NC', max_length=2)),
                ('chu_image_width_pixels', models.IntegerField()),
                ('chu_image_height_pixels', models.IntegerField()),
                ('chu_pixel_data_size', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MMIATriggeredFrameData',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('frame_number', models.IntegerField()),
                ('number_of_octets', models.IntegerField()),
                ('PHOT1Data_exists', models.BooleanField()),
                ('PHOT2Data_exists', models.BooleanField()),
                ('PHOT3Data_exists', models.BooleanField()),
                ('CHU1Meta_exists', models.BooleanField()),
                ('CHU1Data_exists', models.BooleanField()),
                ('CHU2Meta_exists', models.BooleanField()),
                ('CHU2Data_exists', models.BooleanField()),
                ('PHOT1DataTrigger', models.BooleanField()),
                ('PHOT2DataTrigger', models.BooleanField()),
                ('PHOT3DataTrigger', models.BooleanField()),
                ('CHU1RowMetaTrigger', models.BooleanField()),
                ('CHU1ColumnMetaTrigger', models.BooleanField()),
                ('CHU2RowMetaTrigger', models.BooleanField()),
                ('CHU2ColumnMetaTrigger', models.BooleanField()),
                ('MXGSTrigger', models.BooleanField()),
                ('PHOT1_peak_value', models.IntegerField()),
                ('PHOT1_integral_value', models.IntegerField()),
                ('PHOT2_peak_value', models.IntegerField()),
                ('PHOT2_integral_value', models.IntegerField()),
                ('PHOT3_peak_value', models.IntegerField()),
                ('PHOT3_integral_value', models.IntegerField()),
                ('CHU1_row_peak_value', models.IntegerField()),
                ('CHU1_row_integral_value', models.IntegerField()),
                ('CHU1_column_peak_value', models.IntegerField()),
                ('CHU1_column_integral_value', models.IntegerField()),
                ('CHU2_row_peak_value', models.IntegerField()),
                ('CHU2_row_integral_value', models.IntegerField()),
                ('CHU2_column_peak_value', models.IntegerField()),
                ('CHU2_column_integral_value', models.IntegerField()),
                ('PHOT1Data', models.FileField(upload_to='')),
                ('PHOT2Data', models.FileField(upload_to='')),
                ('PHOT3Data', models.FileField(upload_to='')),
                ('CHU1Meta', models.FileField(upload_to='')),
                ('CHU1Data', models.FileField(upload_to='')),
                ('CHU2Meta', models.FileField(upload_to='')),
                ('CHU2Data', models.FileField(upload_to='')),
            ],
        ),
        migrations.CreateModel(
            name='MMIATriggeredObservationTM',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('observation_id', models.IntegerField()),
                ('utc_year', models.IntegerField()),
                ('utc_msec', models.IntegerField()),
                ('utc_seconds', models.IntegerField()),
                ('tcp_count_dhpu', models.IntegerField()),
                ('tcp_count_internal', models.IntegerField()),
                ('frame_rate', models.SmallIntegerField()),
                ('sensor_usage_phot1', models.BooleanField()),
                ('sensor_usage_phot2', models.BooleanField()),
                ('sensor_usage_phot3', models.BooleanField()),
                ('sensor_usage_chu1', models.BooleanField()),
                ('sensor_usage_chu2', models.BooleanField()),
                ('priority', models.SmallIntegerField()),
                ('sensor_A_tle_categorization', models.CharField(choices=[('P1', 'P1'), ('P2', 'P2'), ('P3', 'P3'), ('C1', 'C1'), ('C2', 'C2')], default='P1', max_length=2)),
                ('sensor_B_tle_categorization', models.CharField(choices=[('P1', 'P1'), ('P2', 'P2'), ('P3', 'P3'), ('C1', 'C1'), ('C2', 'C2')], default='P1', max_length=2)),
                ('categorization_method', models.CharField(choices=[('SATR', 'SATR'), ('PVA', 'PVA'), ('IVA', 'IVA'), ('RPAB', 'RPAB'), ('RIAB', 'RIAB')], default='SATR', max_length=2)),
                ('phot1_temp', models.IntegerField()),
                ('phot2_temp', models.IntegerField()),
                ('phot3_temp', models.IntegerField()),
                ('chu1_temp', models.IntegerField()),
                ('chu2_temp', models.IntegerField()),
                ('chu1_20v_45v', models.SmallIntegerField()),
                ('chu2_20v_45v', models.SmallIntegerField()),
                ('chu_minimum_row', models.IntegerField()),
                ('chu_maximum_row', models.IntegerField()),
                ('chu_minimum_column', models.IntegerField()),
                ('chu_maximum_column', models.IntegerField()),
                ('chu_pixel_data_size', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSAbortMemoryDumpTM',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSCommandVerificationReportTM',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('packet_length', models.IntegerField(verbose_name='Packet length')),
                ('tc_header', models.IntegerField()),
                ('result', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSDumpMemoryTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('memory_id', models.IntegerField()),
                ('start_address', models.IntegerField()),
                ('no_octets', models.IntegerField()),
                ('dump_frequency', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSEnableMemoryLoadTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('memory_id', models.IntegerField()),
                ('write_control', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSEnterConfigurationModeTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSEnterOperationalModeTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSEnterScienceSubmodeTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('sw_submode', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSGenerateCrossTriggerTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSGroundTest',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('action_id', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSLHPStartupHeatersSwitchOnTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('period', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSLoadConfigurationParametersTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('memory_id', models.IntegerField()),
                ('nvm_load', models.BooleanField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSLoadMemoryTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('memory_id', models.IntegerField()),
                ('start_address', models.IntegerField()),
                ('dump_data', models.FileField(upload_to='')),
            ],
        ),
        migrations.CreateModel(
            name='MXGSMemoryDumpTM',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSPrepareShutdownTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSRebootTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSSensorSwitchOffTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('dau_czt_1_lv', models.BooleanField()),
                ('dau_bgo_1_lv', models.BooleanField()),
                ('dau_czt_2_lv', models.BooleanField()),
                ('dau_bgo_2_lv', models.BooleanField()),
                ('dau_czt_3_lv', models.BooleanField()),
                ('dau_bgo_3_lv', models.BooleanField()),
                ('dau_czt_4_lv', models.BooleanField()),
                ('dau_bgo_4_lv', models.BooleanField()),
                ('dau_czt_1_lv_hv', models.BooleanField()),
                ('dau_bgo_1_lv_hv', models.BooleanField()),
                ('dau_czt_2_lv_hv', models.BooleanField()),
                ('dau_bgo_2_lv_hv', models.BooleanField()),
                ('dau_czt_3_lv_hv', models.BooleanField()),
                ('dau_bgo_3_lv_hv', models.BooleanField()),
                ('dau_czt_4_lv_hv', models.BooleanField()),
                ('dau_bgo_4_lv_hv', models.BooleanField()),
            ],
        ),
        migrations.CreateModel(
            name='MXGSSensorSwitchOnTC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('private_header', models.IntegerField()),
                ('command_length', models.IntegerField()),
                ('dau_czt_1_lv', models.BooleanField()),
                ('dau_bgo_1_lv', models.BooleanField()),
                ('dau_czt_2_lv', models.BooleanField()),
                ('dau_bgo_2_lv', models.BooleanField()),
                ('dau_czt_3_lv', models.BooleanField()),
                ('dau_bgo_3_lv', models.BooleanField()),
                ('dau_czt_4_lv', models.BooleanField()),
                ('dau_bgo_4_lv', models.BooleanField()),
                ('dau_czt_1_lv_hv', models.BooleanField()),
                ('dau_bgo_1_lv_hv', models.BooleanField()),
                ('dau_czt_2_lv_hv', models.BooleanField()),
                ('dau_bgo_2_lv_hv', models.BooleanField()),
                ('dau_czt_3_lv_hv', models.BooleanField()),
                ('dau_bgo_3_lv_hv', models.BooleanField()),
                ('dau_czt_4_lv_hv', models.BooleanField()),
                ('dau_bgo_4_lv_hv', models.BooleanField()),
            ],
        ),
        migrations.AddField(
            model_name='mmiatriggeredframedata',
            name='observation',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='asim.MMIATriggeredObservationTM'),
        ),
        migrations.AddField(
            model_name='mmiatimedframedata',
            name='observation',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='asim.MMIATimedObservationTM'),
        ),
    ]

# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-05-12 07:16