12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- # Generated by Django 3.2.4 on 2022-11-15 20:23
- from django.db import migrations, models
- import django.db.models.deletion
- class Migration(migrations.Migration):
- dependencies = [
- ('user', '0003_remove_user_group'),
- ('software', '0003_auto_20221004_2044'),
- ('task', '0005_testtask_type'),
- ]
- operations = [
- migrations.CreateModel(
- name='BeidouCase',
- fields=[
- ('id', models.CharField(default='TestLaboratory_V1_BeidouCase_1', max_length=128, primary_key=True, serialize=False, unique=True, verbose_name='测试用例编号')),
- ('version', models.CharField(max_length=30, null=True, verbose_name='软件版本')),
- ('title', models.CharField(max_length=50, verbose_name='测试用例名称')),
- ('state', models.IntegerField(default=0, verbose_name='状态')),
- ('positioning_accuracy', models.FloatField(null=True, verbose_name='定位精度')),
- ('timing_accuracy', models.FloatField(null=True, verbose_name='定时精度')),
- ('pseudo_range_measurement_accuracy', models.FloatField(null=True, verbose_name='伪距测量精度')),
- ('carrier_measurement_accuracy', models.FloatField(null=True, verbose_name='载波测量精度')),
- ('speed_measurement_accuracy', models.FloatField(null=True, verbose_name='测速精度')),
- ('sensitivity_capture', models.FloatField(null=True, verbose_name='捕获灵敏度')),
- ('receiving_sensitivity', models.FloatField(null=True, verbose_name='接受灵敏度')),
- ('sensitivity_track', models.FloatField(null=True, verbose_name='跟踪灵敏度')),
- ('power_range_low', models.FloatField(null=True, verbose_name='接收功率范围下界')),
- ('power_range_high', models.FloatField(null=True, verbose_name='接收功率范围上界')),
- ('self_integrity', models.FloatField(null=True, verbose_name='自主完好性')),
- ('system_integrity', models.FloatField(null=True, verbose_name='系统完好性')),
- ('capture_time', models.FloatField(null=True, verbose_name='首次捕获时间')),
- ('recapture_time', models.FloatField(null=True, verbose_name='失锁重捕时间')),
- ('update_rate', models.FloatField(null=True, verbose_name='定位测速更新率')),
- ('trace_channels', models.IntegerField(null=True, verbose_name='跟踪通道数')),
- ('max_velocity', models.FloatField(null=True, verbose_name='最大速度')),
- ('max_acceleration', models.FloatField(null=True, verbose_name='最大加速度')),
- ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
- ('update_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')),
- ('delete', models.BooleanField(default=False)),
- ('remark', models.TextField(null=True, verbose_name='备注')),
- ('executor', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='user.user', verbose_name='执行者id')),
- ('software', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='software.software', verbose_name='测试软件')),
- ('task', models.ForeignKey(default='TestLaboratory_V1_Task_1', on_delete=django.db.models.deletion.CASCADE, to='task.testtask', verbose_name='测试用例所在测试任务')),
- ],
- options={
- 'verbose_name': '北斗测试用例',
- 'verbose_name_plural': '北斗测试用例',
- 'db_table': 'beidou_case',
- },
- ),
- ]
|