# Generated by Django 3.2.19 on 2023-08-24 03:03

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='DeviceCommunicationParameter',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('station_id', models.CharField(max_length=10)),
                ('device_id', models.IntegerField(default=0)),
                ('device_name', models.CharField(max_length=100)),
                ('device_name_chn', models.CharField(max_length=100)),
                ('protocol_name', models.CharField(max_length=100)),
                ('communicate_mode', models.CharField(max_length=100)),
                ('tcp_ip', models.CharField(blank=True, default='', max_length=40)),
                ('tcp_port', models.IntegerField(default=0)),
                ('udp_ip_src', models.CharField(blank=True, default='', max_length=40)),
                ('udp_port_src', models.IntegerField(default=0)),
                ('udp_ip_dst', models.CharField(blank=True, default='', max_length=40)),
                ('udp_port_dst', models.IntegerField(default=0)),
                ('performance_fields', models.TextField()),
            ],
            options={
                'db_table': 'DeviceCommunicationParameter',
            },
        ),
        migrations.CreateModel(
            name='SimulateDeviceCommunicationParameter',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('station_id', models.CharField(max_length=10)),
                ('device_id', models.IntegerField(default=0)),
                ('device_name', models.CharField(max_length=100)),
                ('device_name_chn', models.CharField(max_length=100)),
                ('protocol_name', models.CharField(max_length=100)),
                ('communicate_mode', models.CharField(max_length=100)),
                ('tcp_ip', models.CharField(blank=True, default='', max_length=40)),
                ('tcp_port', models.IntegerField(default=0)),
                ('udp_ip_src', models.CharField(blank=True, default='', max_length=40)),
                ('udp_port_src', models.IntegerField(default=0)),
                ('udp_ip_dst', models.CharField(blank=True, default='', max_length=40)),
                ('udp_port_dst', models.IntegerField(default=0)),
                ('performance_fields', models.TextField()),
            ],
            options={
                'db_table': 'SimulateDeviceCommunicationParameter',
            },
        ),
    ]
