# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2019-05-29 18:04
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('rbac', '0003_auto_20190529_1804'),
        ('mygas', '0002_auto_20190529_1803'),
    ]

    operations = [
        migrations.CreateModel(
            name='GS_MeterInfo_CSB',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('MeterId', models.CharField(max_length=12, unique=True)),
                ('Com_no_csb', models.CharField(max_length=16, null=True)),
                ('Sw_rlse_csb', models.CharField(max_length=4, null=True)),
                ('Vol1', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('Stan_Ins_Ele_csb', models.DecimalField(decimal_places=3, max_digits=6, null=True)),
                ('Vol2', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('Work_Ins_Ele_csb', models.DecimalField(decimal_places=3, max_digits=6, null=True)),
                ('MeterStateWord', models.CharField(max_length=2, null=True)),
                ('Temperature_csb', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('MeterInStateWord', models.CharField(max_length=2, null=True)),
                ('PValue', models.DecimalField(decimal_places=3, max_digits=8, null=True)),
                ('Stan_Total_Ele', models.DecimalField(decimal_places=3, max_digits=10, null=True)),
                ('Peak_Ele', models.DecimalField(decimal_places=3, max_digits=6, null=True)),
                ('Work_Total_Ele', models.DecimalField(decimal_places=3, max_digits=10, null=True)),
                ('DropMeter1_csb', models.DateTimeField(null=True)),
                ('DropMeter2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ReverseInstall1_csb', models.DateTimeField(null=True)),
                ('ReverseInstall2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('MeasureBreakdown1_csb', models.DateTimeField(null=True)),
                ('MeasureBreakdown2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('TSensorBreakdown1_csb', models.DateTimeField(null=True)),
                ('TSensorBreakdown2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('PSensorBreakdown1_csb', models.DateTimeField(null=True)),
                ('PSensorBreakdown2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('TrafficAbnormality1_csb', models.DateTimeField(null=True)),
                ('TrafficAbnormality2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ComVol1_csb', models.DateTimeField(null=True)),
                ('ComVol2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('BaseVol1_csb', models.DateTimeField(null=True)),
                ('BaseVol2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('CollectFault1_csb', models.DateTimeField(null=True)),
                ('CollectFault2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('GasLeakClose1_csb', models.DateTimeField(null=True)),
                ('GasLeakClose2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('GasStolenClose1_csb', models.DateTimeField(null=True)),
                ('GasStolenClose2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ResetClose1_csb', models.DateTimeField(null=True)),
                ('ResetClose2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('LowVolClose1_csb', models.DateTimeField(null=True)),
                ('LowVolClose2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('CollectClose1_csb', models.DateTimeField(null=True)),
                ('CollectClose2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('CommandClose1_csb', models.DateTimeField(null=True)),
                ('CommandClose2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ManulOpen1_csb', models.DateTimeField(null=True)),
                ('ManulOpen2_csb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('AF_ULimit1', models.CharField(max_length=20, null=True)),
                ('AF_DLimit1', models.CharField(max_length=20, null=True)),
                ('AF_LLimit1', models.CharField(max_length=20, null=True)),
                ('AF_ULimit2', models.CharField(max_length=20, null=True)),
                ('AF_DLimit2', models.CharField(max_length=20, null=True)),
                ('AF_LLimit2', models.CharField(max_length=20, null=True)),
                ('AF_ULimit3', models.CharField(max_length=20, null=True)),
                ('AF_DLimit3', models.CharField(max_length=20, null=True)),
                ('AF_LLimit3', models.CharField(max_length=20, null=True)),
                ('FTPUserName_csb', models.CharField(default='01', max_length=25)),
                ('FTPPassword_csb', models.CharField(default='01', max_length=25)),
                ('FTPAddress_csb', models.CharField(default='139.199.191.23', max_length=50)),
                ('FTPCatalog_csb', models.CharField(default='D:\\FTPPoint\\File', max_length=50)),
                ('FileName_csb', models.CharField(max_length=8, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='GS_MeterInfo_IC',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('MeterId', models.CharField(max_length=12, unique=True)),
                ('ChargingStatusWord', models.CharField(max_length=2, null=True)),
                ('CurrentVol', models.DecimalField(decimal_places=2, max_digits=12, null=True)),
                ('RemainingSum', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('CumulativeSum', models.DecimalField(decimal_places=2, max_digits=12, null=True)),
                ('CurrentPrice', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('CurrentPriceInitialVol', models.DecimalField(decimal_places=2, max_digits=12, null=True)),
                ('LastPrice', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('LastPriceInitialVol', models.DecimalField(decimal_places=2, max_digits=12, null=True)),
                ('ChargingTime', models.CharField(max_length=8, null=True)),
                ('VerComparison', models.CharField(max_length=2, null=True)),
                ('PriceSysDate', models.CharField(max_length=10, null=True)),
                ('PriceMode', models.CharField(max_length=2, null=True)),
                ('PriceSysVer', models.CharField(max_length=4, null=True)),
                ('PriceNormal', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceSysCycle', models.CharField(max_length=2, null=True)),
                ('PriceCycleDate', models.CharField(max_length=8, null=True)),
                ('PriceClearSign', models.CharField(max_length=2, null=True)),
                ('PriceEndDateOne', models.CharField(max_length=8, null=True)),
                ('PriceOne1', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceOneAmount1', models.CharField(max_length=8, null=True)),
                ('PriceOne2', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceOneAmount2', models.CharField(max_length=8, null=True)),
                ('PriceOne3', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceEndDateTwo', models.CharField(max_length=8, null=True)),
                ('PriceTwo1', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceTwoAmount1', models.CharField(max_length=8, null=True)),
                ('PriceTwo2', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceTwoAmount2', models.CharField(max_length=8, null=True)),
                ('PriceTwo3', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceEndDateThree', models.CharField(max_length=8, null=True)),
                ('PriceThree1', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceThreeAmount1', models.CharField(max_length=8, null=True)),
                ('PriceThree2', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceThreeAmount2', models.CharField(max_length=8, null=True)),
                ('PriceThree3', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceEndDateFour', models.CharField(max_length=8, null=True)),
                ('PriceFour1', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceFourAmount1', models.CharField(max_length=8, null=True)),
                ('PriceFour2', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceFourAmount2', models.CharField(max_length=8, null=True)),
                ('PriceFour3', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceEndDateFive', models.CharField(max_length=8, null=True)),
                ('PriceFive1', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceFiveAmount1', models.CharField(max_length=8, null=True)),
                ('PriceFive2', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceFiveAmount2', models.CharField(max_length=8, null=True)),
                ('PriceFive3', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceSysDate_C', models.CharField(max_length=10, null=True)),
                ('PriceSysCycle_C', models.CharField(max_length=2, null=True)),
                ('PriceMode_C', models.CharField(max_length=2, null=True)),
                ('PriceCycleDate_C', models.CharField(max_length=8, null=True)),
                ('PriceSysVer_C', models.CharField(max_length=4, null=True)),
                ('PriceClearSign_C', models.CharField(max_length=2, null=True)),
                ('PriceNormal_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('DelayExists_C', models.CharField(max_length=2, null=True)),
                ('PriceEndDateOne_C', models.CharField(max_length=8, null=True)),
                ('PriceOne1_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceOneAmount1_C', models.CharField(max_length=8, null=True)),
                ('PriceOne2_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceOneAmount2_C', models.CharField(max_length=8, null=True)),
                ('PriceOne3_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceEndDateTwo_C', models.CharField(max_length=8, null=True)),
                ('PriceTwo1_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceTwoAmount1_C', models.CharField(max_length=8, null=True)),
                ('PriceTwo2_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceTwoAmount2_C', models.CharField(max_length=8, null=True)),
                ('PriceTwo3_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceEndDateThree_C', models.CharField(max_length=8, null=True)),
                ('PriceThree1_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceThreeAmount1_C', models.CharField(max_length=8, null=True)),
                ('PriceThree2_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceThreeAmount2_C', models.CharField(max_length=8, null=True)),
                ('PriceThree3_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceEndDateFour_C', models.CharField(max_length=8, null=True)),
                ('PriceFour1_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceFourAmount1_C', models.CharField(max_length=8, null=True)),
                ('PriceFour2_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceFourAmount2_C', models.CharField(max_length=8, null=True)),
                ('PriceFour3_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceEndDateFive_C', models.CharField(max_length=8, null=True)),
                ('PriceFive1_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceFiveAmount1_C', models.CharField(max_length=8, null=True)),
                ('PriceFive2_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('PriceFiveAmount2_C', models.CharField(max_length=8, null=True)),
                ('PriceFive3_C', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('RechargeDate1', models.CharField(max_length=8, null=True)),
                ('RemainingSumBefore1', models.CharField(max_length=8, null=True)),
                ('RechargeSum1', models.CharField(max_length=8, null=True)),
                ('RechargeDate2', models.CharField(max_length=8, null=True)),
                ('RemainingSumBefore2', models.CharField(max_length=8, null=True)),
                ('RechargeSum2', models.CharField(max_length=8, null=True)),
                ('RechargeDate3', models.CharField(max_length=8, null=True)),
                ('RemainingSumBefore3', models.CharField(max_length=8, null=True)),
                ('RechargeSum3', models.CharField(max_length=8, null=True)),
                ('RechargeDate4', models.CharField(max_length=8, null=True)),
                ('RemainingSumBefore4', models.CharField(max_length=8, null=True)),
                ('RechargeSum4', models.CharField(max_length=8, null=True)),
                ('RechargeDate5', models.CharField(max_length=8, null=True)),
                ('RemainingSumBefore5', models.CharField(max_length=8, null=True)),
                ('RechargeSum5', models.CharField(max_length=8, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='GS_MeterInfo_MSB',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('MeterId', models.CharField(max_length=12, unique=True)),
                ('Com_no_msb', models.CharField(max_length=16, null=True)),
                ('Sw_rlse_msb', models.CharField(max_length=4, null=True)),
                ('Real_vol', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('Meter_v', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('Temperature_msb', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('Status', models.CharField(max_length=4, null=True)),
                ('DropMeter1_msb', models.DateTimeField(null=True)),
                ('DropMeter2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ReverseInstall1_msb', models.DateTimeField(null=True)),
                ('ReverseInstall2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('MeasureBreakdown1_msb', models.DateTimeField(null=True)),
                ('MeasureBreakdown2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('TSensorBreakdown1_msb', models.DateTimeField(null=True)),
                ('TSensorBreakdown2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('PSensorBreakdown1_msb', models.DateTimeField(null=True)),
                ('PSensorBreakdown2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('TrafficAbnormality1_msb', models.DateTimeField(null=True)),
                ('TrafficAbnormality2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ComVol1_msb', models.DateTimeField(null=True)),
                ('ComVol2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('BaseVol1_msb', models.DateTimeField(null=True)),
                ('BaseVol2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('CollectFault1_msb', models.DateTimeField(null=True)),
                ('CollectFault2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('GasLeakClose1_msb', models.DateTimeField(null=True)),
                ('GasLeakClose2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('GasStolenClose1_msb', models.DateTimeField(null=True)),
                ('GasStolenClose2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ResetClose1_msb', models.DateTimeField(null=True)),
                ('ResetClose2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('LowVolClose1_msb', models.DateTimeField(null=True)),
                ('LowVolClose2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('CollectClose1_msb', models.DateTimeField(null=True)),
                ('CollectClose2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('CommandClose1_msb', models.DateTimeField(null=True)),
                ('CommandClose2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ManulOpen1_msb', models.DateTimeField(null=True)),
                ('ManulOpen2_msb', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('FTPUserName_msb', models.CharField(default='01', max_length=25)),
                ('FTPPassword_msb', models.CharField(default='01', max_length=25)),
                ('FTPAddress_msb', models.CharField(default='139.199.191.23', max_length=50)),
                ('FTPCatalog_msb', models.CharField(default='D:\\FTPPoint\\File', max_length=50)),
                ('FileName_msb', models.CharField(max_length=8, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='GS_MeterInfo_XZY',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('MeterId', models.CharField(max_length=12, unique=True)),
                ('Com_no_xzy', models.CharField(max_length=16, null=True)),
                ('Sw_rlse_xzy', models.CharField(max_length=4, null=True)),
                ('MeterNum', models.IntegerField(null=True)),
                ('Temperature_xzy', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('Disturb_Total_Vol', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('Pressure', models.CharField(max_length=8, null=True)),
                ('Correction_E', models.DecimalField(decimal_places=2, max_digits=4, null=True)),
                ('Stan_Total_Vol', models.DecimalField(decimal_places=2, max_digits=12, null=True)),
                ('Stan_Ins_Ele_xzy', models.DecimalField(decimal_places=2, max_digits=6, null=True)),
                ('Work_Total_Vol', models.DecimalField(decimal_places=2, max_digits=12, null=True)),
                ('Work_Ins_Ele_xzy', models.DecimalField(decimal_places=2, max_digits=6, null=True)),
                ('DropMeter1_xzy', models.DateTimeField(null=True)),
                ('DropMeter2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ReverseInstall1_xzy', models.DateTimeField(null=True)),
                ('ReverseInstall2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('MeasureBreakdown1_xzy', models.DateTimeField(null=True)),
                ('MeasureBreakdown2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('TSensorBreakdown1_xzy', models.DateTimeField(null=True)),
                ('TSensorBreakdown2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('PSensorBreakdown1_xzy', models.DateTimeField(null=True)),
                ('PSensorBreakdown2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('TrafficAbnormality1_xzy', models.DateTimeField(null=True)),
                ('TrafficAbnormality2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ComVol1_xzy', models.DateTimeField(null=True)),
                ('ComVol2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('BaseVol1_xzy', models.DateTimeField(null=True)),
                ('BaseVol2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('CollectFault1_xzy', models.DateTimeField(null=True)),
                ('CollectFault2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('GasLeakClose1_xzy', models.DateTimeField(null=True)),
                ('GasLeakClose2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('GasStolenClose1_xzy', models.DateTimeField(null=True)),
                ('GasStolenClose2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ResetClose1_xzy', models.DateTimeField(null=True)),
                ('ResetClose2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('LowVolClose1_xzy', models.DateTimeField(null=True)),
                ('LowVolClose2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('CollectClose1_xzy', models.DateTimeField(null=True)),
                ('CollectClose2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('CommandClose1_xzy', models.DateTimeField(null=True)),
                ('CommandClose2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('ManulOpen1_xzy', models.DateTimeField(null=True)),
                ('ManulOpen2_xzy', models.DecimalField(decimal_places=2, max_digits=8, null=True)),
                ('FTPUserName_xzy', models.CharField(default='01', max_length=25)),
                ('FTPPassword_xzy', models.CharField(default='01', max_length=25)),
                ('FTPAddress_xzy', models.CharField(default='139.199.191.23', max_length=50)),
                ('FTPCatalog_xzy', models.CharField(default='D:\\FTPPoint\\File', max_length=50)),
                ('FileName_xzy', models.CharField(max_length=8, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='GS_MeterTypeInfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('MeterId', models.CharField(max_length=12, unique=True)),
                ('MeterType', models.CharField(max_length=10)),
                ('TimeOfProduce', models.DateField()),
                ('Subtime', models.DateTimeField(null=True)),
                ('CheckTime', models.DateTimeField(null=True)),
                ('IsSubmit', models.BooleanField(default=0)),
                ('IsDataChecked', models.BooleanField(default=0)),
                ('DataCheckedResult', models.BooleanField(default=0)),
                ('IsAllocated', models.BooleanField(default=0)),
                ('CommandTest', models.CharField(max_length=10, null=True)),
                ('ICTest', models.CharField(max_length=10, null=True)),
                ('ChuTest', models.CharField(max_length=10, null=True)),
                ('ZhoTest', models.CharField(max_length=10, null=True)),
                ('MianTest', models.CharField(max_length=10, null=True)),
                ('TestUnit', models.CharField(default='上海燃气有限公司', max_length=50)),
            ],
            options={
                'ordering': ['-Subtime'],
            },
        ),
        migrations.CreateModel(
            name='Manufacture',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ManufactureName', models.CharField(max_length=30, verbose_name='生产厂商')),
                ('code', models.CharField(max_length=2, verbose_name='生产厂商代码')),
            ],
            options={
                'verbose_name': '生产厂商',
                'verbose_name_plural': '生产厂商表',
            },
        ),
        migrations.CreateModel(
            name='Meter_Result',
            fields=[
                ('MeterId', models.CharField(max_length=12, primary_key=True, serialize=False, unique=True)),
                ('MeterType', models.CharField(max_length=10)),
                ('MeterComState', models.CharField(max_length=25)),
                ('MeterIcState', models.CharField(max_length=25)),
                ('MeterChuState', models.CharField(max_length=25)),
                ('MeterZhongState', models.CharField(max_length=25)),
                ('MeterState', models.CharField(default='初始', max_length=25)),
                ('MeterTest', models.CharField(default='空闲', max_length=25)),
                ('MeterRand_num', models.CharField(max_length=25, null=True)),
                ('Meteriport', models.CharField(max_length=50, null=True)),
                ('MeterTime', models.DateTimeField(auto_now_add=True, null=True)),
                ('MeterCancel', models.CharField(default='否', max_length=10)),
            ],
            options={
                'ordering': ['-MeterTime'],
            },
        ),
        migrations.CreateModel(
            name='Meter_Result_Record',
            fields=[
                ('MeterId', models.CharField(max_length=12, primary_key=True, serialize=False, unique=True)),
                ('MeterType', models.CharField(max_length=10)),
                ('MeterComState', models.CharField(max_length=25)),
                ('MeterIcState', models.CharField(max_length=25)),
                ('MeterChuState', models.CharField(max_length=25)),
                ('MeterZhongState', models.CharField(max_length=25)),
                ('MeterState', models.CharField(default='初始', max_length=25)),
                ('MeterTest', models.CharField(default='空闲', max_length=25)),
                ('MeterRand_num', models.CharField(max_length=25, null=True)),
                ('Meteriport', models.CharField(max_length=50, null=True)),
                ('MeterTime', models.DateTimeField(auto_now_add=True, null=True)),
                ('MeterCancel', models.CharField(default='否', max_length=10)),
            ],
            options={
                'ordering': ['-MeterTime'],
            },
        ),
        migrations.CreateModel(
            name='Meter_Test',
            fields=[
                ('MeterId', models.CharField(max_length=12, primary_key=True, serialize=False, unique=True)),
                ('MeterType', models.CharField(max_length=10)),
                ('MeterComState', models.CharField(max_length=25)),
                ('MeterIcState', models.CharField(max_length=25)),
                ('MeterChuState', models.CharField(max_length=25)),
                ('MeterZhongState', models.CharField(max_length=25)),
                ('MeterState', models.CharField(default='初始', max_length=25)),
                ('MeterTest', models.CharField(default='空闲', max_length=25)),
                ('MeterRand_num', models.CharField(max_length=25, null=True)),
                ('Meteriport', models.CharField(max_length=50, null=True)),
                ('MeterTime', models.DateTimeField(auto_now_add=True, null=True)),
                ('MeterCancel', models.CharField(default='否', max_length=10)),
            ],
        ),
        migrations.CreateModel(
            name='MeterPlat',
            fields=[
                ('MeterId', models.CharField(max_length=12, primary_key=True, serialize=False, unique=True)),
                ('Meterip_Com', models.CharField(max_length=10, null=True)),
                ('Meterip_IC', models.CharField(max_length=10, null=True)),
                ('Meterip_Chu', models.CharField(max_length=10, null=True)),
                ('Meterip_Zhong', models.CharField(max_length=10, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='PlanInfo',
            fields=[
                ('id', models.IntegerField(primary_key=True, serialize=False, unique=True)),
                ('IP', models.CharField(max_length=30)),
                ('PlatComs', models.CharField(max_length=20)),
                ('PlatIcs', models.CharField(max_length=20)),
                ('PlatChus_msb', models.CharField(max_length=20)),
                ('PlatChus_xzy', models.CharField(max_length=20)),
                ('PlatChus_csb', models.CharField(max_length=20)),
                ('PlatZhos', models.CharField(max_length=20)),
                ('PlatComp', models.CharField(max_length=20, null=True)),
                ('PlatIcp', models.CharField(max_length=20, null=True)),
                ('PlatChup_msb', models.CharField(max_length=20, null=True)),
                ('PlatChup_xzy', models.CharField(max_length=20, null=True)),
                ('PlatChup_csb', models.CharField(max_length=20, null=True)),
                ('PlatZhop', models.CharField(max_length=20, null=True)),
            ],
        ),
        migrations.AddField(
            model_name='gs_metertypeinfo',
            name='ManufactureName',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='mygas.Manufacture'),
        ),
        migrations.AddField(
            model_name='gs_metertypeinfo',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='rbac.User_info'),
        ),
        migrations.AddField(
            model_name='gs_meterinfo_xzy',
            name='MeterTypeId',
            field=models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, to='mygas.GS_MeterTypeInfo'),
        ),
        migrations.AddField(
            model_name='gs_meterinfo_msb',
            name='MeterTypeId',
            field=models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, to='mygas.GS_MeterTypeInfo'),
        ),
        migrations.AddField(
            model_name='gs_meterinfo_ic',
            name='MeterTypeId',
            field=models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, to='mygas.GS_MeterTypeInfo'),
        ),
        migrations.AddField(
            model_name='gs_meterinfo_csb',
            name='MeterTypeId',
            field=models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, to='mygas.GS_MeterTypeInfo'),
        ),
    ]
