# Generated by Django 3.2.12 on 2024-04-16 06:54

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


class Migration(migrations.Migration):

    dependencies = [
        ('em', '0016_auto_20240416_1454'),
        ('enm', '0027_mpoint_gather_field'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='mpoint',
            name='gather_field',
        ),
        migrations.AddField(
            model_name='mpoint',
            name='enp_field',
            field=models.CharField(blank=True, max_length=50, null=True, verbose_name='关联enp采集字段'),
        ),
        migrations.AddField(
            model_name='mpoint',
            name='ep_base_val1',
            field=models.FloatField(blank=True, null=True, verbose_name='状态量基准值1'),
        ),
        migrations.AddField(
            model_name='mpoint',
            name='is_rep_ep_running_state',
            field=models.BooleanField(default=False, verbose_name='是否表示所监测设备运行状态'),
        ),
        migrations.AlterField(
            model_name='mpoint',
            name='ep_belong',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='mp_ep_belong', to='em.equipment', verbose_name='所属设备'),
        ),
        migrations.AlterField(
            model_name='mpoint',
            name='ep_monitored',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='mp_ep_monitored', to='em.equipment', verbose_name='所监测设备'),
        ),
    ]
