# Generated by Django 3.2.12 on 2024-02-21 09:55

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('em', '0011_auto_20240119_1135'),
    ]

    operations = [
        migrations.AddField(
            model_name='equipment',
            name='ip',
            field=models.GenericIPAddressField(blank=True, null=True, verbose_name='IP地址'),
        ),
        migrations.AddField(
            model_name='equipment',
            name='is_online',
            field=models.PositiveSmallIntegerField(default=0, verbose_name='是否在线'),
        ),
        migrations.AddField(
            model_name='equipment',
            name='login_name',
            field=models.CharField(blank=True, max_length=100, null=True, verbose_name='登录名'),
        ),
        migrations.AddField(
            model_name='equipment',
            name='login_pwd',
            field=models.CharField(blank=True, max_length=100, null=True, verbose_name='登录密码'),
        ),
        migrations.AddField(
            model_name='equipment',
            name='port',
            field=models.PositiveSmallIntegerField(blank=True, null=True, verbose_name='端口号'),
        ),
        migrations.AddField(
            model_name='equipment',
            name='running_state',
            field=models.PositiveSmallIntegerField(default=50, verbose_name='运行状态'),
        ),
        migrations.AlterField(
            model_name='equipment',
            name='type',
            field=models.PositiveSmallIntegerField(choices=[(10, '生产设备'), (20, '计量设备'), (30, '治理设备'), (40, '监控设备')], default=10, verbose_name='类型'),
        ),
    ]
