# -*- coding: utf-8 -*-
# Generated by Django 1.9.8 on 2019-08-25 23:10
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('baseinform', '0008_auto_20190824_1638'),
    ]

    operations = [
        migrations.CreateModel(
            name='Analysis',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID')),
                ('testid', models.IntegerField(verbose_name='测试序号')),
                ('testdate', models.DateTimeField(blank=True, null=True, verbose_name='测试日期')),
                ('speedx', models.FloatField(verbose_name='线速度x')),
                ('speedy', models.FloatField(verbose_name='线速度y')),
                ('speedz', models.FloatField(verbose_name='线速度z')),
                ('displacementx', models.FloatField(verbose_name='位移x')),
                ('displacementy', models.FloatField(verbose_name='位移y')),
                ('displacementz', models.FloatField(verbose_name='位移z')),
                ('sportworkx', models.FloatField(verbose_name='功x')),
                ('sportworky', models.FloatField(verbose_name='功y')),
                ('sportworkz', models.FloatField(verbose_name='功z')),
                ('mark', models.IntegerField(verbose_name='标识')),
                ('action', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='baseinform.Action', verbose_name='击球动作')),
                ('athlete', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='baseinform.Athlete', verbose_name='运动员')),
            ],
            options={
                'verbose_name': '击球力量数据分析',
                'verbose_name_plural': '击球力量数据分析',
            },
        ),
        migrations.CreateModel(
            name='Curve_fit',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID')),
                ('testid', models.IntegerField(verbose_name='测试序号')),
                ('testdate', models.DateTimeField(blank=True, null=True, verbose_name='测试日期')),
                ('pos_x', models.FloatField(verbose_name='关节位移曲线相似度x')),
                ('pos_y', models.FloatField(verbose_name='关节位移曲线相似度y')),
                ('pos_z', models.FloatField(verbose_name='关节位移曲线相似度z')),
                ('rot_x', models.FloatField(verbose_name='关节角度曲线相似x')),
                ('rot_y', models.FloatField(verbose_name='关节角度曲线相似y')),
                ('rot_z', models.FloatField(verbose_name='关节角度曲线相似z')),
                ('pos_x_p1', models.FloatField(verbose_name='引拍阶段位移曲线相似度x')),
                ('pos_y_p1', models.FloatField(verbose_name='引拍阶段位移曲线相似度y')),
                ('pos_z_p1', models.FloatField(verbose_name='引拍阶段位移曲线相似度z')),
                ('pos_x_p2', models.FloatField(verbose_name='挥拍击阶段位移曲线相似度x')),
                ('pos_y_p2', models.FloatField(verbose_name='挥拍击阶段位移曲线相似度y')),
                ('pos_z_p2', models.FloatField(verbose_name='挥拍击阶段位移曲线相似度z')),
                ('pos_x_p3', models.FloatField(verbose_name='还原阶段位移曲线相似度x')),
                ('pos_y_p3', models.FloatField(verbose_name='还原阶段位移曲线相似度y')),
                ('pos_z_p3', models.FloatField(verbose_name='还原阶段位移曲线相似度z')),
                ('rot_x_p1', models.FloatField(verbose_name='引拍阶段角度曲线相似度x')),
                ('rot_y_p1', models.FloatField(verbose_name='引拍阶段角度曲线相似度y')),
                ('rot_z_p1', models.FloatField(verbose_name='引拍阶段角度曲线相似度z')),
                ('rot_x_p2', models.FloatField(verbose_name='挥拍击阶段角度曲线相似度x')),
                ('rot_y_p2', models.FloatField(verbose_name='挥拍击阶段角度曲线相似度y')),
                ('rot_z_p2', models.FloatField(verbose_name='挥拍击阶段角度曲线相似度z')),
                ('rot_x_p3', models.FloatField(verbose_name='还原阶段角度曲线相似度x')),
                ('rot_y_p3', models.FloatField(verbose_name='还原阶段角度曲线相似度y')),
                ('rot_z_p3', models.FloatField(verbose_name='还原阶段角度曲线相似度z')),
                ('action', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='baseinform.Action', verbose_name='击球动作')),
                ('athlete', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='baseinform.Athlete', verbose_name='运动员')),
                ('joint', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='baseinform.Joint', verbose_name='关节')),
            ],
            options={
                'verbose_name': '动作曲线相似度分析',
                'verbose_name_plural': '动作曲线相似度分析',
            },
        ),
    ]
