//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.225
//
//     对此文件的更改可能会导致不正确的行为，并且如果
//     重新生成代码，这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

#pragma warning disable 1591

namespace ResMangSys.DAL {
    
    
    /// <summary>
    ///Represents a strongly typed in-memory cache of data.
    ///</summary>
    [global::System.Serializable()]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
    [global::System.Xml.Serialization.XmlRootAttribute("NetResLedg")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
    public partial class NetResLedg : global::System.Data.DataSet {
        
        private T_NetResLedgDataTable tableT_NetResLedg;
        
        private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public NetResLedg() {
            this.BeginInit();
            this.InitClass();
            global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            base.Relations.CollectionChanged += schemaChangedHandler;
            this.EndInit();
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected NetResLedg(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                base(info, context, false) {
            if ((this.IsBinarySerialized(info, context) == true)) {
                this.InitVars(false);
                global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
                this.Tables.CollectionChanged += schemaChangedHandler1;
                this.Relations.CollectionChanged += schemaChangedHandler1;
                return;
            }
            string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
            if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
                global::System.Data.DataSet ds = new global::System.Data.DataSet();
                ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
                if ((ds.Tables["T_NetResLedg"] != null)) {
                    base.Tables.Add(new T_NetResLedgDataTable(ds.Tables["T_NetResLedg"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
            }
            this.GetSerializationData(info, context);
            global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public T_NetResLedgDataTable T_NetResLedg {
            get {
                return this.tableT_NetResLedg;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.BrowsableAttribute(true)]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
        public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
            get {
                return this._schemaSerializationMode;
            }
            set {
                this._schemaSerializationMode = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new global::System.Data.DataTableCollection Tables {
            get {
                return base.Tables;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new global::System.Data.DataRelationCollection Relations {
            get {
                return base.Relations;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override void InitializeDerivedDataSet() {
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public override global::System.Data.DataSet Clone() {
            NetResLedg cln = ((NetResLedg)(base.Clone()));
            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return cln;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override bool ShouldSerializeTables() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override bool ShouldSerializeRelations() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
            if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
                this.Reset();
                global::System.Data.DataSet ds = new global::System.Data.DataSet();
                ds.ReadXml(reader);
                if ((ds.Tables["T_NetResLedg"] != null)) {
                    base.Tables.Add(new T_NetResLedgDataTable(ds.Tables["T_NetResLedg"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXml(reader);
                this.InitVars();
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
            global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
            this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
            stream.Position = 0;
            return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        internal void InitVars() {
            this.InitVars(true);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        internal void InitVars(bool initTable) {
            this.tableT_NetResLedg = ((T_NetResLedgDataTable)(base.Tables["T_NetResLedg"]));
            if ((initTable == true)) {
                if ((this.tableT_NetResLedg != null)) {
                    this.tableT_NetResLedg.InitVars();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void InitClass() {
            this.DataSetName = "NetResLedg";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/NetResLedg.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableT_NetResLedg = new T_NetResLedgDataTable();
            base.Tables.Add(this.tableT_NetResLedg);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private bool ShouldSerializeT_NetResLedg() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
            NetResLedg ds = new NetResLedg();
            global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
            global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
            global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
            if (xs.Contains(dsSchema.TargetNamespace)) {
                global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                try {
                    global::System.Xml.Schema.XmlSchema schema = null;
                    dsSchema.Write(s1);
                    for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                        schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                        s2.SetLength(0);
                        schema.Write(s2);
                        if ((s1.Length == s2.Length)) {
                            s1.Position = 0;
                            s2.Position = 0;
                            for (; ((s1.Position != s1.Length) 
                                        && (s1.ReadByte() == s2.ReadByte())); ) {
                                ;
                            }
                            if ((s1.Position == s1.Length)) {
                                return type;
                            }
                        }
                    }
                }
                finally {
                    if ((s1 != null)) {
                        s1.Close();
                    }
                    if ((s2 != null)) {
                        s2.Close();
                    }
                }
            }
            xs.Add(dsSchema);
            return type;
        }
        
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void T_NetResLedgRowChangeEventHandler(object sender, T_NetResLedgRowChangeEvent e);
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class T_NetResLedgDataTable : global::System.Data.TypedTableBase<T_NetResLedgRow> {
            
            private global::System.Data.DataColumn columnId;
            
            private global::System.Data.DataColumn columnMainFact;
            
            private global::System.Data.DataColumn columnMainCate;
            
            private global::System.Data.DataColumn columnBaStaLevel;
            
            private global::System.Data.DataColumn columnBaStaId;
            
            private global::System.Data.DataColumn columnBaStaName;
            
            private global::System.Data.DataColumn columnAttrLocal;
            
            private global::System.Data.DataColumn columnAttrOfOther;
            
            private global::System.Data.DataColumn columnNetWorkDate;
            
            private global::System.Data.DataColumn columnSpecLocal;
            
            private global::System.Data.DataColumn columnEquiSitu;
            
            private global::System.Data.DataColumn columnEquiId;
            
            private global::System.Data.DataColumn columnEngRomType;
            
            private global::System.Data.DataColumn columnMatchAttr;
            
            private global::System.Data.DataColumn columnAirCondFact;
            
            private global::System.Data.DataColumn columnAirCondType;
            
            private global::System.Data.DataColumn columnAirCondStarDate;
            
            private global::System.Data.DataColumn columnBattIFact;
            
            private global::System.Data.DataColumn columnBattIType;
            
            private global::System.Data.DataColumn columnBattIStarDate;
            
            private global::System.Data.DataColumn columnBattIIFact;
            
            private global::System.Data.DataColumn columnBattIIType;
            
            private global::System.Data.DataColumn columnBattIIStarDate;
            
            private global::System.Data.DataColumn columnAntePolaWay;
            
            private global::System.Data.DataColumn columnAnteHight;
            
            private global::System.Data.DataColumn columnAntePlat;
            
            private global::System.Data.DataColumn columnIronTowType;
            
            private global::System.Data.DataColumn columnIronTowHight;
            
            private global::System.Data.DataColumn columnIronTowCount;
            
            private global::System.Data.DataColumn columnEngRomFloor;
            
            private global::System.Data.DataColumn columnEngRomArea;
            
            private global::System.Data.DataColumn columnIsSelfCreaTrans;
            
            private global::System.Data.DataColumn columnTransFact;
            
            private global::System.Data.DataColumn columnTransType;
            
            private global::System.Data.DataColumn columnRatePower;
            
            private global::System.Data.DataColumn columnInpCityElecLeng;
            
            private global::System.Data.DataColumn columnACDistBoxFact;
            
            private global::System.Data.DataColumn columnACDistBoxType;
            
            private global::System.Data.DataColumn columnLYSupprFact;
            
            private global::System.Data.DataColumn columnLYSupprType;
            
            private global::System.Data.DataColumn columnEnviContrFact;
            
            private global::System.Data.DataColumn columnEnviContrType;
            
            private global::System.Data.DataColumn columnSwitPowFact;
            
            private global::System.Data.DataColumn columnSwitPowType;
            
            private global::System.Data.DataColumn columnZhLModeType;
            
            private global::System.Data.DataColumn columnNetMConfiCount;
            
            private global::System.Data.DataColumn columnSingMRateI;
            
            private global::System.Data.DataColumn columnSuspFirFigFact;
            
            private global::System.Data.DataColumn columnSuspFirFigType;
            
            private global::System.Data.DataColumn columnHandFirFigFact;
            
            private global::System.Data.DataColumn columnHandFirFigType;
            
            private global::System.Data.DataColumn columnFirFigNJDate;
            
            private global::System.Data.DataColumn columnSiteRentHtNo;
            
            private global::System.Data.DataColumn columnHTSingnName;
            
            private global::System.Data.DataColumn columnRentStarTime;
            
            private global::System.Data.DataColumn columnRentEndTime;
            
            private global::System.Data.DataColumn columnYearRentCost;
            
            private global::System.Data.DataColumn columnLastPayDate;
            
            private global::System.Data.DataColumn columnLastEndTime;
            
            private global::System.Data.DataColumn columnHostSitu;
            
            private global::System.Data.DataColumn columnRemark;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public T_NetResLedgDataTable() {
                this.TableName = "T_NetResLedg";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal T_NetResLedgDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected T_NetResLedgDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn IdColumn {
                get {
                    return this.columnId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn MainFactColumn {
                get {
                    return this.columnMainFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn MainCateColumn {
                get {
                    return this.columnMainCate;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn BaStaLevelColumn {
                get {
                    return this.columnBaStaLevel;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn BaStaIdColumn {
                get {
                    return this.columnBaStaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn BaStaNameColumn {
                get {
                    return this.columnBaStaName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn AttrLocalColumn {
                get {
                    return this.columnAttrLocal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn AttrOfOtherColumn {
                get {
                    return this.columnAttrOfOther;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn NetWorkDateColumn {
                get {
                    return this.columnNetWorkDate;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn SpecLocalColumn {
                get {
                    return this.columnSpecLocal;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn EquiSituColumn {
                get {
                    return this.columnEquiSitu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn EquiIdColumn {
                get {
                    return this.columnEquiId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn EngRomTypeColumn {
                get {
                    return this.columnEngRomType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn MatchAttrColumn {
                get {
                    return this.columnMatchAttr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn AirCondFactColumn {
                get {
                    return this.columnAirCondFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn AirCondTypeColumn {
                get {
                    return this.columnAirCondType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn AirCondStarDateColumn {
                get {
                    return this.columnAirCondStarDate;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn BattIFactColumn {
                get {
                    return this.columnBattIFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn BattITypeColumn {
                get {
                    return this.columnBattIType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn BattIStarDateColumn {
                get {
                    return this.columnBattIStarDate;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn BattIIFactColumn {
                get {
                    return this.columnBattIIFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn BattIITypeColumn {
                get {
                    return this.columnBattIIType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn BattIIStarDateColumn {
                get {
                    return this.columnBattIIStarDate;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn AntePolaWayColumn {
                get {
                    return this.columnAntePolaWay;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn AnteHightColumn {
                get {
                    return this.columnAnteHight;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn AntePlatColumn {
                get {
                    return this.columnAntePlat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn IronTowTypeColumn {
                get {
                    return this.columnIronTowType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn IronTowHightColumn {
                get {
                    return this.columnIronTowHight;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn IronTowCountColumn {
                get {
                    return this.columnIronTowCount;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn EngRomFloorColumn {
                get {
                    return this.columnEngRomFloor;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn EngRomAreaColumn {
                get {
                    return this.columnEngRomArea;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn IsSelfCreaTransColumn {
                get {
                    return this.columnIsSelfCreaTrans;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn TransFactColumn {
                get {
                    return this.columnTransFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn TransTypeColumn {
                get {
                    return this.columnTransType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn RatePowerColumn {
                get {
                    return this.columnRatePower;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn InpCityElecLengColumn {
                get {
                    return this.columnInpCityElecLeng;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn ACDistBoxFactColumn {
                get {
                    return this.columnACDistBoxFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn ACDistBoxTypeColumn {
                get {
                    return this.columnACDistBoxType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn LYSupprFactColumn {
                get {
                    return this.columnLYSupprFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn LYSupprTypeColumn {
                get {
                    return this.columnLYSupprType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn EnviContrFactColumn {
                get {
                    return this.columnEnviContrFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn EnviContrTypeColumn {
                get {
                    return this.columnEnviContrType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn SwitPowFactColumn {
                get {
                    return this.columnSwitPowFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn SwitPowTypeColumn {
                get {
                    return this.columnSwitPowType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn ZhLModeTypeColumn {
                get {
                    return this.columnZhLModeType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn NetMConfiCountColumn {
                get {
                    return this.columnNetMConfiCount;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn SingMRateIColumn {
                get {
                    return this.columnSingMRateI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn SuspFirFigFactColumn {
                get {
                    return this.columnSuspFirFigFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn SuspFirFigTypeColumn {
                get {
                    return this.columnSuspFirFigType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn HandFirFigFactColumn {
                get {
                    return this.columnHandFirFigFact;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn HandFirFigTypeColumn {
                get {
                    return this.columnHandFirFigType;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn FirFigNJDateColumn {
                get {
                    return this.columnFirFigNJDate;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn SiteRentHtNoColumn {
                get {
                    return this.columnSiteRentHtNo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn HTSingnNameColumn {
                get {
                    return this.columnHTSingnName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn RentStarTimeColumn {
                get {
                    return this.columnRentStarTime;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn RentEndTimeColumn {
                get {
                    return this.columnRentEndTime;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn YearRentCostColumn {
                get {
                    return this.columnYearRentCost;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn LastPayDateColumn {
                get {
                    return this.columnLastPayDate;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn LastEndTimeColumn {
                get {
                    return this.columnLastEndTime;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn HostSituColumn {
                get {
                    return this.columnHostSitu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn RemarkColumn {
                get {
                    return this.columnRemark;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public T_NetResLedgRow this[int index] {
                get {
                    return ((T_NetResLedgRow)(this.Rows[index]));
                }
            }
            
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event T_NetResLedgRowChangeEventHandler T_NetResLedgRowChanging;
            
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event T_NetResLedgRowChangeEventHandler T_NetResLedgRowChanged;
            
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event T_NetResLedgRowChangeEventHandler T_NetResLedgRowDeleting;
            
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event T_NetResLedgRowChangeEventHandler T_NetResLedgRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void AddT_NetResLedgRow(T_NetResLedgRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public T_NetResLedgRow AddT_NetResLedgRow(
                        string MainFact, 
                        string MainCate, 
                        string BaStaLevel, 
                        string BaStaId, 
                        string BaStaName, 
                        string AttrLocal, 
                        string AttrOfOther, 
                        System.DateTime NetWorkDate, 
                        string SpecLocal, 
                        string EquiSitu, 
                        string EquiId, 
                        string EngRomType, 
                        string MatchAttr, 
                        string AirCondFact, 
                        string AirCondType, 
                        System.DateTime AirCondStarDate, 
                        string BattIFact, 
                        string BattIType, 
                        System.DateTime BattIStarDate, 
                        string BattIIFact, 
                        string BattIIType, 
                        System.DateTime BattIIStarDate, 
                        string AntePolaWay, 
                        int AnteHight, 
                        int AntePlat, 
                        string IronTowType, 
                        int IronTowHight, 
                        int IronTowCount, 
                        int EngRomFloor, 
                        int EngRomArea, 
                        string IsSelfCreaTrans, 
                        string TransFact, 
                        string TransType, 
                        int RatePower, 
                        int InpCityElecLeng, 
                        string ACDistBoxFact, 
                        string ACDistBoxType, 
                        string LYSupprFact, 
                        string LYSupprType, 
                        string EnviContrFact, 
                        string EnviContrType, 
                        string SwitPowFact, 
                        string SwitPowType, 
                        string ZhLModeType, 
                        int NetMConfiCount, 
                        int SingMRateI, 
                        string SuspFirFigFact, 
                        string SuspFirFigType, 
                        string HandFirFigFact, 
                        string HandFirFigType, 
                        System.DateTime FirFigNJDate, 
                        string SiteRentHtNo, 
                        string HTSingnName, 
                        System.DateTime RentStarTime, 
                        System.DateTime RentEndTime, 
                        int YearRentCost, 
                        System.DateTime LastPayDate, 
                        System.DateTime LastEndTime, 
                        string HostSitu, 
                        string Remark) {
                T_NetResLedgRow rowT_NetResLedgRow = ((T_NetResLedgRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        MainFact,
                        MainCate,
                        BaStaLevel,
                        BaStaId,
                        BaStaName,
                        AttrLocal,
                        AttrOfOther,
                        NetWorkDate,
                        SpecLocal,
                        EquiSitu,
                        EquiId,
                        EngRomType,
                        MatchAttr,
                        AirCondFact,
                        AirCondType,
                        AirCondStarDate,
                        BattIFact,
                        BattIType,
                        BattIStarDate,
                        BattIIFact,
                        BattIIType,
                        BattIIStarDate,
                        AntePolaWay,
                        AnteHight,
                        AntePlat,
                        IronTowType,
                        IronTowHight,
                        IronTowCount,
                        EngRomFloor,
                        EngRomArea,
                        IsSelfCreaTrans,
                        TransFact,
                        TransType,
                        RatePower,
                        InpCityElecLeng,
                        ACDistBoxFact,
                        ACDistBoxType,
                        LYSupprFact,
                        LYSupprType,
                        EnviContrFact,
                        EnviContrType,
                        SwitPowFact,
                        SwitPowType,
                        ZhLModeType,
                        NetMConfiCount,
                        SingMRateI,
                        SuspFirFigFact,
                        SuspFirFigType,
                        HandFirFigFact,
                        HandFirFigType,
                        FirFigNJDate,
                        SiteRentHtNo,
                        HTSingnName,
                        RentStarTime,
                        RentEndTime,
                        YearRentCost,
                        LastPayDate,
                        LastEndTime,
                        HostSitu,
                        Remark};
                rowT_NetResLedgRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowT_NetResLedgRow);
                return rowT_NetResLedgRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public T_NetResLedgRow FindByIdBaStaId(long Id, string BaStaId) {
                return ((T_NetResLedgRow)(this.Rows.Find(new object[] {
                            Id,
                            BaStaId})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public override global::System.Data.DataTable Clone() {
                T_NetResLedgDataTable cln = ((T_NetResLedgDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override global::System.Data.DataTable CreateInstance() {
                return new T_NetResLedgDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal void InitVars() {
                this.columnId = base.Columns["Id"];
                this.columnMainFact = base.Columns["MainFact"];
                this.columnMainCate = base.Columns["MainCate"];
                this.columnBaStaLevel = base.Columns["BaStaLevel"];
                this.columnBaStaId = base.Columns["BaStaId"];
                this.columnBaStaName = base.Columns["BaStaName"];
                this.columnAttrLocal = base.Columns["AttrLocal"];
                this.columnAttrOfOther = base.Columns["AttrOfOther"];
                this.columnNetWorkDate = base.Columns["NetWorkDate"];
                this.columnSpecLocal = base.Columns["SpecLocal"];
                this.columnEquiSitu = base.Columns["EquiSitu"];
                this.columnEquiId = base.Columns["EquiId"];
                this.columnEngRomType = base.Columns["EngRomType"];
                this.columnMatchAttr = base.Columns["MatchAttr"];
                this.columnAirCondFact = base.Columns["AirCondFact"];
                this.columnAirCondType = base.Columns["AirCondType"];
                this.columnAirCondStarDate = base.Columns["AirCondStarDate"];
                this.columnBattIFact = base.Columns["BattIFact"];
                this.columnBattIType = base.Columns["BattIType"];
                this.columnBattIStarDate = base.Columns["BattIStarDate"];
                this.columnBattIIFact = base.Columns["BattIIFact"];
                this.columnBattIIType = base.Columns["BattIIType"];
                this.columnBattIIStarDate = base.Columns["BattIIStarDate"];
                this.columnAntePolaWay = base.Columns["AntePolaWay"];
                this.columnAnteHight = base.Columns["AnteHight"];
                this.columnAntePlat = base.Columns["AntePlat"];
                this.columnIronTowType = base.Columns["IronTowType"];
                this.columnIronTowHight = base.Columns["IronTowHight"];
                this.columnIronTowCount = base.Columns["IronTowCount"];
                this.columnEngRomFloor = base.Columns["EngRomFloor"];
                this.columnEngRomArea = base.Columns["EngRomArea"];
                this.columnIsSelfCreaTrans = base.Columns["IsSelfCreaTrans"];
                this.columnTransFact = base.Columns["TransFact"];
                this.columnTransType = base.Columns["TransType"];
                this.columnRatePower = base.Columns["RatePower"];
                this.columnInpCityElecLeng = base.Columns["InpCityElecLeng"];
                this.columnACDistBoxFact = base.Columns["ACDistBoxFact"];
                this.columnACDistBoxType = base.Columns["ACDistBoxType"];
                this.columnLYSupprFact = base.Columns["LYSupprFact"];
                this.columnLYSupprType = base.Columns["LYSupprType"];
                this.columnEnviContrFact = base.Columns["EnviContrFact"];
                this.columnEnviContrType = base.Columns["EnviContrType"];
                this.columnSwitPowFact = base.Columns["SwitPowFact"];
                this.columnSwitPowType = base.Columns["SwitPowType"];
                this.columnZhLModeType = base.Columns["ZhLModeType"];
                this.columnNetMConfiCount = base.Columns["NetMConfiCount"];
                this.columnSingMRateI = base.Columns["SingMRateI"];
                this.columnSuspFirFigFact = base.Columns["SuspFirFigFact"];
                this.columnSuspFirFigType = base.Columns["SuspFirFigType"];
                this.columnHandFirFigFact = base.Columns["HandFirFigFact"];
                this.columnHandFirFigType = base.Columns["HandFirFigType"];
                this.columnFirFigNJDate = base.Columns["FirFigNJDate"];
                this.columnSiteRentHtNo = base.Columns["SiteRentHtNo"];
                this.columnHTSingnName = base.Columns["HTSingnName"];
                this.columnRentStarTime = base.Columns["RentStarTime"];
                this.columnRentEndTime = base.Columns["RentEndTime"];
                this.columnYearRentCost = base.Columns["YearRentCost"];
                this.columnLastPayDate = base.Columns["LastPayDate"];
                this.columnLastEndTime = base.Columns["LastEndTime"];
                this.columnHostSitu = base.Columns["HostSitu"];
                this.columnRemark = base.Columns["Remark"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            private void InitClass() {
                this.columnId = new global::System.Data.DataColumn("Id", typeof(long), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnId);
                this.columnMainFact = new global::System.Data.DataColumn("MainFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMainFact);
                this.columnMainCate = new global::System.Data.DataColumn("MainCate", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMainCate);
                this.columnBaStaLevel = new global::System.Data.DataColumn("BaStaLevel", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBaStaLevel);
                this.columnBaStaId = new global::System.Data.DataColumn("BaStaId", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBaStaId);
                this.columnBaStaName = new global::System.Data.DataColumn("BaStaName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBaStaName);
                this.columnAttrLocal = new global::System.Data.DataColumn("AttrLocal", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAttrLocal);
                this.columnAttrOfOther = new global::System.Data.DataColumn("AttrOfOther", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAttrOfOther);
                this.columnNetWorkDate = new global::System.Data.DataColumn("NetWorkDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNetWorkDate);
                this.columnSpecLocal = new global::System.Data.DataColumn("SpecLocal", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSpecLocal);
                this.columnEquiSitu = new global::System.Data.DataColumn("EquiSitu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEquiSitu);
                this.columnEquiId = new global::System.Data.DataColumn("EquiId", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEquiId);
                this.columnEngRomType = new global::System.Data.DataColumn("EngRomType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEngRomType);
                this.columnMatchAttr = new global::System.Data.DataColumn("MatchAttr", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMatchAttr);
                this.columnAirCondFact = new global::System.Data.DataColumn("AirCondFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAirCondFact);
                this.columnAirCondType = new global::System.Data.DataColumn("AirCondType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAirCondType);
                this.columnAirCondStarDate = new global::System.Data.DataColumn("AirCondStarDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAirCondStarDate);
                this.columnBattIFact = new global::System.Data.DataColumn("BattIFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBattIFact);
                this.columnBattIType = new global::System.Data.DataColumn("BattIType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBattIType);
                this.columnBattIStarDate = new global::System.Data.DataColumn("BattIStarDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBattIStarDate);
                this.columnBattIIFact = new global::System.Data.DataColumn("BattIIFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBattIIFact);
                this.columnBattIIType = new global::System.Data.DataColumn("BattIIType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBattIIType);
                this.columnBattIIStarDate = new global::System.Data.DataColumn("BattIIStarDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBattIIStarDate);
                this.columnAntePolaWay = new global::System.Data.DataColumn("AntePolaWay", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAntePolaWay);
                this.columnAnteHight = new global::System.Data.DataColumn("AnteHight", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAnteHight);
                this.columnAntePlat = new global::System.Data.DataColumn("AntePlat", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAntePlat);
                this.columnIronTowType = new global::System.Data.DataColumn("IronTowType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnIronTowType);
                this.columnIronTowHight = new global::System.Data.DataColumn("IronTowHight", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnIronTowHight);
                this.columnIronTowCount = new global::System.Data.DataColumn("IronTowCount", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnIronTowCount);
                this.columnEngRomFloor = new global::System.Data.DataColumn("EngRomFloor", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEngRomFloor);
                this.columnEngRomArea = new global::System.Data.DataColumn("EngRomArea", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEngRomArea);
                this.columnIsSelfCreaTrans = new global::System.Data.DataColumn("IsSelfCreaTrans", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnIsSelfCreaTrans);
                this.columnTransFact = new global::System.Data.DataColumn("TransFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTransFact);
                this.columnTransType = new global::System.Data.DataColumn("TransType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTransType);
                this.columnRatePower = new global::System.Data.DataColumn("RatePower", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRatePower);
                this.columnInpCityElecLeng = new global::System.Data.DataColumn("InpCityElecLeng", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnInpCityElecLeng);
                this.columnACDistBoxFact = new global::System.Data.DataColumn("ACDistBoxFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnACDistBoxFact);
                this.columnACDistBoxType = new global::System.Data.DataColumn("ACDistBoxType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnACDistBoxType);
                this.columnLYSupprFact = new global::System.Data.DataColumn("LYSupprFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLYSupprFact);
                this.columnLYSupprType = new global::System.Data.DataColumn("LYSupprType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLYSupprType);
                this.columnEnviContrFact = new global::System.Data.DataColumn("EnviContrFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEnviContrFact);
                this.columnEnviContrType = new global::System.Data.DataColumn("EnviContrType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEnviContrType);
                this.columnSwitPowFact = new global::System.Data.DataColumn("SwitPowFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSwitPowFact);
                this.columnSwitPowType = new global::System.Data.DataColumn("SwitPowType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSwitPowType);
                this.columnZhLModeType = new global::System.Data.DataColumn("ZhLModeType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZhLModeType);
                this.columnNetMConfiCount = new global::System.Data.DataColumn("NetMConfiCount", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNetMConfiCount);
                this.columnSingMRateI = new global::System.Data.DataColumn("SingMRateI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSingMRateI);
                this.columnSuspFirFigFact = new global::System.Data.DataColumn("SuspFirFigFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSuspFirFigFact);
                this.columnSuspFirFigType = new global::System.Data.DataColumn("SuspFirFigType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSuspFirFigType);
                this.columnHandFirFigFact = new global::System.Data.DataColumn("HandFirFigFact", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnHandFirFigFact);
                this.columnHandFirFigType = new global::System.Data.DataColumn("HandFirFigType", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnHandFirFigType);
                this.columnFirFigNJDate = new global::System.Data.DataColumn("FirFigNJDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFirFigNJDate);
                this.columnSiteRentHtNo = new global::System.Data.DataColumn("SiteRentHtNo", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSiteRentHtNo);
                this.columnHTSingnName = new global::System.Data.DataColumn("HTSingnName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnHTSingnName);
                this.columnRentStarTime = new global::System.Data.DataColumn("RentStarTime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRentStarTime);
                this.columnRentEndTime = new global::System.Data.DataColumn("RentEndTime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRentEndTime);
                this.columnYearRentCost = new global::System.Data.DataColumn("YearRentCost", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnYearRentCost);
                this.columnLastPayDate = new global::System.Data.DataColumn("LastPayDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLastPayDate);
                this.columnLastEndTime = new global::System.Data.DataColumn("LastEndTime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLastEndTime);
                this.columnHostSitu = new global::System.Data.DataColumn("HostSitu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnHostSitu);
                this.columnRemark = new global::System.Data.DataColumn("Remark", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRemark);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("T_NetResLedgKey1", new global::System.Data.DataColumn[] {
                                this.columnId,
                                this.columnBaStaId}, true));
                this.columnId.AutoIncrement = true;
                this.columnId.AutoIncrementSeed = -1;
                this.columnId.AutoIncrementStep = -1;
                this.columnId.AllowDBNull = false;
                this.columnId.ReadOnly = true;
                this.columnMainFact.MaxLength = 50;
                this.columnMainCate.MaxLength = 50;
                this.columnBaStaLevel.MaxLength = 50;
                this.columnBaStaId.AllowDBNull = false;
                this.columnBaStaId.MaxLength = 50;
                this.columnBaStaName.AllowDBNull = false;
                this.columnBaStaName.MaxLength = 50;
                this.columnAttrLocal.MaxLength = 50;
                this.columnAttrOfOther.MaxLength = 50;
                this.columnSpecLocal.MaxLength = 2147483647;
                this.columnEquiSitu.MaxLength = 50;
                this.columnEquiId.MaxLength = 50;
                this.columnEngRomType.MaxLength = 50;
                this.columnMatchAttr.MaxLength = 50;
                this.columnAirCondFact.MaxLength = 50;
                this.columnAirCondType.MaxLength = 50;
                this.columnBattIFact.MaxLength = 50;
                this.columnBattIType.MaxLength = 50;
                this.columnBattIIFact.MaxLength = 50;
                this.columnBattIIType.MaxLength = 50;
                this.columnAntePolaWay.MaxLength = 50;
                this.columnIronTowType.MaxLength = 50;
                this.columnIsSelfCreaTrans.MaxLength = 10;
                this.columnTransFact.MaxLength = 50;
                this.columnTransType.MaxLength = 50;
                this.columnACDistBoxFact.MaxLength = 50;
                this.columnACDistBoxType.MaxLength = 50;
                this.columnLYSupprFact.MaxLength = 50;
                this.columnLYSupprType.MaxLength = 50;
                this.columnEnviContrFact.MaxLength = 50;
                this.columnEnviContrType.MaxLength = 50;
                this.columnSwitPowFact.MaxLength = 50;
                this.columnSwitPowType.MaxLength = 50;
                this.columnZhLModeType.MaxLength = 50;
                this.columnSuspFirFigFact.MaxLength = 50;
                this.columnSuspFirFigType.MaxLength = 50;
                this.columnHandFirFigFact.MaxLength = 50;
                this.columnHandFirFigType.MaxLength = 50;
                this.columnSiteRentHtNo.MaxLength = 50;
                this.columnHTSingnName.MaxLength = 50;
                this.columnHostSitu.MaxLength = 2147483647;
                this.columnRemark.MaxLength = 2147483647;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public T_NetResLedgRow NewT_NetResLedgRow() {
                return ((T_NetResLedgRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new T_NetResLedgRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override global::System.Type GetRowType() {
                return typeof(T_NetResLedgRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.T_NetResLedgRowChanged != null)) {
                    this.T_NetResLedgRowChanged(this, new T_NetResLedgRowChangeEvent(((T_NetResLedgRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.T_NetResLedgRowChanging != null)) {
                    this.T_NetResLedgRowChanging(this, new T_NetResLedgRowChangeEvent(((T_NetResLedgRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.T_NetResLedgRowDeleted != null)) {
                    this.T_NetResLedgRowDeleted(this, new T_NetResLedgRowChangeEvent(((T_NetResLedgRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.T_NetResLedgRowDeleting != null)) {
                    this.T_NetResLedgRowDeleting(this, new T_NetResLedgRowChangeEvent(((T_NetResLedgRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void RemoveT_NetResLedgRow(T_NetResLedgRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                NetResLedg ds = new NetResLedg();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "T_NetResLedgDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        public partial class T_NetResLedgRow : global::System.Data.DataRow {
            
            private T_NetResLedgDataTable tableT_NetResLedg;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal T_NetResLedgRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableT_NetResLedg = ((T_NetResLedgDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public long Id {
                get {
                    return ((long)(this[this.tableT_NetResLedg.IdColumn]));
                }
                set {
                    this[this.tableT_NetResLedg.IdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string MainFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.MainFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“MainFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.MainFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string MainCate {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.MainCateColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“MainCate”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.MainCateColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string BaStaLevel {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.BaStaLevelColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“BaStaLevel”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.BaStaLevelColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string BaStaId {
                get {
                    return ((string)(this[this.tableT_NetResLedg.BaStaIdColumn]));
                }
                set {
                    this[this.tableT_NetResLedg.BaStaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string BaStaName {
                get {
                    return ((string)(this[this.tableT_NetResLedg.BaStaNameColumn]));
                }
                set {
                    this[this.tableT_NetResLedg.BaStaNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string AttrLocal {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.AttrLocalColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“AttrLocal”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.AttrLocalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string AttrOfOther {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.AttrOfOtherColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“AttrOfOther”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.AttrOfOtherColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public System.DateTime NetWorkDate {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableT_NetResLedg.NetWorkDateColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“NetWorkDate”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.NetWorkDateColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string SpecLocal {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.SpecLocalColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“SpecLocal”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.SpecLocalColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string EquiSitu {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.EquiSituColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“EquiSitu”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.EquiSituColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string EquiId {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.EquiIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“EquiId”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.EquiIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string EngRomType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.EngRomTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“EngRomType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.EngRomTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string MatchAttr {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.MatchAttrColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“MatchAttr”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.MatchAttrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string AirCondFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.AirCondFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“AirCondFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.AirCondFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string AirCondType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.AirCondTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“AirCondType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.AirCondTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public System.DateTime AirCondStarDate {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableT_NetResLedg.AirCondStarDateColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“AirCondStarDate”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.AirCondStarDateColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string BattIFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.BattIFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“BattIFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.BattIFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string BattIType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.BattITypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“BattIType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.BattITypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public System.DateTime BattIStarDate {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableT_NetResLedg.BattIStarDateColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“BattIStarDate”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.BattIStarDateColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string BattIIFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.BattIIFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“BattIIFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.BattIIFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string BattIIType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.BattIITypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“BattIIType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.BattIITypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public System.DateTime BattIIStarDate {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableT_NetResLedg.BattIIStarDateColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“BattIIStarDate”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.BattIIStarDateColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string AntePolaWay {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.AntePolaWayColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“AntePolaWay”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.AntePolaWayColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int AnteHight {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.AnteHightColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“AnteHight”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.AnteHightColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int AntePlat {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.AntePlatColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“AntePlat”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.AntePlatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string IronTowType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.IronTowTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“IronTowType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.IronTowTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int IronTowHight {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.IronTowHightColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“IronTowHight”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.IronTowHightColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int IronTowCount {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.IronTowCountColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“IronTowCount”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.IronTowCountColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int EngRomFloor {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.EngRomFloorColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“EngRomFloor”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.EngRomFloorColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int EngRomArea {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.EngRomAreaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“EngRomArea”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.EngRomAreaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string IsSelfCreaTrans {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.IsSelfCreaTransColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“IsSelfCreaTrans”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.IsSelfCreaTransColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string TransFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.TransFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“TransFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.TransFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string TransType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.TransTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“TransType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.TransTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int RatePower {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.RatePowerColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“RatePower”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.RatePowerColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int InpCityElecLeng {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.InpCityElecLengColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“InpCityElecLeng”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.InpCityElecLengColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string ACDistBoxFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.ACDistBoxFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“ACDistBoxFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.ACDistBoxFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string ACDistBoxType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.ACDistBoxTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“ACDistBoxType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.ACDistBoxTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string LYSupprFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.LYSupprFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“LYSupprFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.LYSupprFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string LYSupprType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.LYSupprTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“LYSupprType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.LYSupprTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string EnviContrFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.EnviContrFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“EnviContrFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.EnviContrFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string EnviContrType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.EnviContrTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“EnviContrType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.EnviContrTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string SwitPowFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.SwitPowFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“SwitPowFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.SwitPowFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string SwitPowType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.SwitPowTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“SwitPowType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.SwitPowTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string ZhLModeType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.ZhLModeTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“ZhLModeType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.ZhLModeTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int NetMConfiCount {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.NetMConfiCountColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“NetMConfiCount”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.NetMConfiCountColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int SingMRateI {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.SingMRateIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“SingMRateI”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.SingMRateIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string SuspFirFigFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.SuspFirFigFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“SuspFirFigFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.SuspFirFigFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string SuspFirFigType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.SuspFirFigTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“SuspFirFigType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.SuspFirFigTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string HandFirFigFact {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.HandFirFigFactColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“HandFirFigFact”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.HandFirFigFactColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string HandFirFigType {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.HandFirFigTypeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“HandFirFigType”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.HandFirFigTypeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public System.DateTime FirFigNJDate {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableT_NetResLedg.FirFigNJDateColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“FirFigNJDate”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.FirFigNJDateColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string SiteRentHtNo {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.SiteRentHtNoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“SiteRentHtNo”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.SiteRentHtNoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string HTSingnName {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.HTSingnNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“HTSingnName”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.HTSingnNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public System.DateTime RentStarTime {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableT_NetResLedg.RentStarTimeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“RentStarTime”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.RentStarTimeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public System.DateTime RentEndTime {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableT_NetResLedg.RentEndTimeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“RentEndTime”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.RentEndTimeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int YearRentCost {
                get {
                    try {
                        return ((int)(this[this.tableT_NetResLedg.YearRentCostColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“YearRentCost”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.YearRentCostColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public System.DateTime LastPayDate {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableT_NetResLedg.LastPayDateColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“LastPayDate”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.LastPayDateColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public System.DateTime LastEndTime {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableT_NetResLedg.LastEndTimeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“LastEndTime”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.LastEndTimeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string HostSitu {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.HostSituColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“HostSitu”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.HostSituColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string Remark {
                get {
                    try {
                        return ((string)(this[this.tableT_NetResLedg.RemarkColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("表“T_NetResLedg”中列“Remark”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableT_NetResLedg.RemarkColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsMainFactNull() {
                return this.IsNull(this.tableT_NetResLedg.MainFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetMainFactNull() {
                this[this.tableT_NetResLedg.MainFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsMainCateNull() {
                return this.IsNull(this.tableT_NetResLedg.MainCateColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetMainCateNull() {
                this[this.tableT_NetResLedg.MainCateColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsBaStaLevelNull() {
                return this.IsNull(this.tableT_NetResLedg.BaStaLevelColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetBaStaLevelNull() {
                this[this.tableT_NetResLedg.BaStaLevelColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsAttrLocalNull() {
                return this.IsNull(this.tableT_NetResLedg.AttrLocalColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetAttrLocalNull() {
                this[this.tableT_NetResLedg.AttrLocalColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsAttrOfOtherNull() {
                return this.IsNull(this.tableT_NetResLedg.AttrOfOtherColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetAttrOfOtherNull() {
                this[this.tableT_NetResLedg.AttrOfOtherColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsNetWorkDateNull() {
                return this.IsNull(this.tableT_NetResLedg.NetWorkDateColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetNetWorkDateNull() {
                this[this.tableT_NetResLedg.NetWorkDateColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsSpecLocalNull() {
                return this.IsNull(this.tableT_NetResLedg.SpecLocalColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetSpecLocalNull() {
                this[this.tableT_NetResLedg.SpecLocalColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsEquiSituNull() {
                return this.IsNull(this.tableT_NetResLedg.EquiSituColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetEquiSituNull() {
                this[this.tableT_NetResLedg.EquiSituColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsEquiIdNull() {
                return this.IsNull(this.tableT_NetResLedg.EquiIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetEquiIdNull() {
                this[this.tableT_NetResLedg.EquiIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsEngRomTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.EngRomTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetEngRomTypeNull() {
                this[this.tableT_NetResLedg.EngRomTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsMatchAttrNull() {
                return this.IsNull(this.tableT_NetResLedg.MatchAttrColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetMatchAttrNull() {
                this[this.tableT_NetResLedg.MatchAttrColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsAirCondFactNull() {
                return this.IsNull(this.tableT_NetResLedg.AirCondFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetAirCondFactNull() {
                this[this.tableT_NetResLedg.AirCondFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsAirCondTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.AirCondTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetAirCondTypeNull() {
                this[this.tableT_NetResLedg.AirCondTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsAirCondStarDateNull() {
                return this.IsNull(this.tableT_NetResLedg.AirCondStarDateColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetAirCondStarDateNull() {
                this[this.tableT_NetResLedg.AirCondStarDateColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsBattIFactNull() {
                return this.IsNull(this.tableT_NetResLedg.BattIFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetBattIFactNull() {
                this[this.tableT_NetResLedg.BattIFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsBattITypeNull() {
                return this.IsNull(this.tableT_NetResLedg.BattITypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetBattITypeNull() {
                this[this.tableT_NetResLedg.BattITypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsBattIStarDateNull() {
                return this.IsNull(this.tableT_NetResLedg.BattIStarDateColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetBattIStarDateNull() {
                this[this.tableT_NetResLedg.BattIStarDateColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsBattIIFactNull() {
                return this.IsNull(this.tableT_NetResLedg.BattIIFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetBattIIFactNull() {
                this[this.tableT_NetResLedg.BattIIFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsBattIITypeNull() {
                return this.IsNull(this.tableT_NetResLedg.BattIITypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetBattIITypeNull() {
                this[this.tableT_NetResLedg.BattIITypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsBattIIStarDateNull() {
                return this.IsNull(this.tableT_NetResLedg.BattIIStarDateColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetBattIIStarDateNull() {
                this[this.tableT_NetResLedg.BattIIStarDateColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsAntePolaWayNull() {
                return this.IsNull(this.tableT_NetResLedg.AntePolaWayColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetAntePolaWayNull() {
                this[this.tableT_NetResLedg.AntePolaWayColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsAnteHightNull() {
                return this.IsNull(this.tableT_NetResLedg.AnteHightColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetAnteHightNull() {
                this[this.tableT_NetResLedg.AnteHightColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsAntePlatNull() {
                return this.IsNull(this.tableT_NetResLedg.AntePlatColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetAntePlatNull() {
                this[this.tableT_NetResLedg.AntePlatColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsIronTowTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.IronTowTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetIronTowTypeNull() {
                this[this.tableT_NetResLedg.IronTowTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsIronTowHightNull() {
                return this.IsNull(this.tableT_NetResLedg.IronTowHightColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetIronTowHightNull() {
                this[this.tableT_NetResLedg.IronTowHightColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsIronTowCountNull() {
                return this.IsNull(this.tableT_NetResLedg.IronTowCountColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetIronTowCountNull() {
                this[this.tableT_NetResLedg.IronTowCountColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsEngRomFloorNull() {
                return this.IsNull(this.tableT_NetResLedg.EngRomFloorColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetEngRomFloorNull() {
                this[this.tableT_NetResLedg.EngRomFloorColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsEngRomAreaNull() {
                return this.IsNull(this.tableT_NetResLedg.EngRomAreaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetEngRomAreaNull() {
                this[this.tableT_NetResLedg.EngRomAreaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsIsSelfCreaTransNull() {
                return this.IsNull(this.tableT_NetResLedg.IsSelfCreaTransColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetIsSelfCreaTransNull() {
                this[this.tableT_NetResLedg.IsSelfCreaTransColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsTransFactNull() {
                return this.IsNull(this.tableT_NetResLedg.TransFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetTransFactNull() {
                this[this.tableT_NetResLedg.TransFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsTransTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.TransTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetTransTypeNull() {
                this[this.tableT_NetResLedg.TransTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsRatePowerNull() {
                return this.IsNull(this.tableT_NetResLedg.RatePowerColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetRatePowerNull() {
                this[this.tableT_NetResLedg.RatePowerColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsInpCityElecLengNull() {
                return this.IsNull(this.tableT_NetResLedg.InpCityElecLengColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetInpCityElecLengNull() {
                this[this.tableT_NetResLedg.InpCityElecLengColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsACDistBoxFactNull() {
                return this.IsNull(this.tableT_NetResLedg.ACDistBoxFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetACDistBoxFactNull() {
                this[this.tableT_NetResLedg.ACDistBoxFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsACDistBoxTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.ACDistBoxTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetACDistBoxTypeNull() {
                this[this.tableT_NetResLedg.ACDistBoxTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsLYSupprFactNull() {
                return this.IsNull(this.tableT_NetResLedg.LYSupprFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetLYSupprFactNull() {
                this[this.tableT_NetResLedg.LYSupprFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsLYSupprTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.LYSupprTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetLYSupprTypeNull() {
                this[this.tableT_NetResLedg.LYSupprTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsEnviContrFactNull() {
                return this.IsNull(this.tableT_NetResLedg.EnviContrFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetEnviContrFactNull() {
                this[this.tableT_NetResLedg.EnviContrFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsEnviContrTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.EnviContrTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetEnviContrTypeNull() {
                this[this.tableT_NetResLedg.EnviContrTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsSwitPowFactNull() {
                return this.IsNull(this.tableT_NetResLedg.SwitPowFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetSwitPowFactNull() {
                this[this.tableT_NetResLedg.SwitPowFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsSwitPowTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.SwitPowTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetSwitPowTypeNull() {
                this[this.tableT_NetResLedg.SwitPowTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsZhLModeTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.ZhLModeTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetZhLModeTypeNull() {
                this[this.tableT_NetResLedg.ZhLModeTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsNetMConfiCountNull() {
                return this.IsNull(this.tableT_NetResLedg.NetMConfiCountColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetNetMConfiCountNull() {
                this[this.tableT_NetResLedg.NetMConfiCountColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsSingMRateINull() {
                return this.IsNull(this.tableT_NetResLedg.SingMRateIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetSingMRateINull() {
                this[this.tableT_NetResLedg.SingMRateIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsSuspFirFigFactNull() {
                return this.IsNull(this.tableT_NetResLedg.SuspFirFigFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetSuspFirFigFactNull() {
                this[this.tableT_NetResLedg.SuspFirFigFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsSuspFirFigTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.SuspFirFigTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetSuspFirFigTypeNull() {
                this[this.tableT_NetResLedg.SuspFirFigTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsHandFirFigFactNull() {
                return this.IsNull(this.tableT_NetResLedg.HandFirFigFactColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetHandFirFigFactNull() {
                this[this.tableT_NetResLedg.HandFirFigFactColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsHandFirFigTypeNull() {
                return this.IsNull(this.tableT_NetResLedg.HandFirFigTypeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetHandFirFigTypeNull() {
                this[this.tableT_NetResLedg.HandFirFigTypeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsFirFigNJDateNull() {
                return this.IsNull(this.tableT_NetResLedg.FirFigNJDateColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetFirFigNJDateNull() {
                this[this.tableT_NetResLedg.FirFigNJDateColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsSiteRentHtNoNull() {
                return this.IsNull(this.tableT_NetResLedg.SiteRentHtNoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetSiteRentHtNoNull() {
                this[this.tableT_NetResLedg.SiteRentHtNoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsHTSingnNameNull() {
                return this.IsNull(this.tableT_NetResLedg.HTSingnNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetHTSingnNameNull() {
                this[this.tableT_NetResLedg.HTSingnNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsRentStarTimeNull() {
                return this.IsNull(this.tableT_NetResLedg.RentStarTimeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetRentStarTimeNull() {
                this[this.tableT_NetResLedg.RentStarTimeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsRentEndTimeNull() {
                return this.IsNull(this.tableT_NetResLedg.RentEndTimeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetRentEndTimeNull() {
                this[this.tableT_NetResLedg.RentEndTimeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsYearRentCostNull() {
                return this.IsNull(this.tableT_NetResLedg.YearRentCostColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetYearRentCostNull() {
                this[this.tableT_NetResLedg.YearRentCostColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsLastPayDateNull() {
                return this.IsNull(this.tableT_NetResLedg.LastPayDateColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetLastPayDateNull() {
                this[this.tableT_NetResLedg.LastPayDateColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsLastEndTimeNull() {
                return this.IsNull(this.tableT_NetResLedg.LastEndTimeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetLastEndTimeNull() {
                this[this.tableT_NetResLedg.LastEndTimeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsHostSituNull() {
                return this.IsNull(this.tableT_NetResLedg.HostSituColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetHostSituNull() {
                this[this.tableT_NetResLedg.HostSituColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsRemarkNull() {
                return this.IsNull(this.tableT_NetResLedg.RemarkColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetRemarkNull() {
                this[this.tableT_NetResLedg.RemarkColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class T_NetResLedgRowChangeEvent : global::System.EventArgs {
            
            private T_NetResLedgRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public T_NetResLedgRowChangeEvent(T_NetResLedgRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public T_NetResLedgRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
namespace ResMangSys.DAL.NetResLedgTableAdapters {
    
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class T_NetResLedgTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public T_NetResLedgTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "T_NetResLedg";
            tableMapping.ColumnMappings.Add("Id", "Id");
            tableMapping.ColumnMappings.Add("MainFact", "MainFact");
            tableMapping.ColumnMappings.Add("MainCate", "MainCate");
            tableMapping.ColumnMappings.Add("BaStaLevel", "BaStaLevel");
            tableMapping.ColumnMappings.Add("BaStaId", "BaStaId");
            tableMapping.ColumnMappings.Add("BaStaName", "BaStaName");
            tableMapping.ColumnMappings.Add("AttrLocal", "AttrLocal");
            tableMapping.ColumnMappings.Add("AttrOfOther", "AttrOfOther");
            tableMapping.ColumnMappings.Add("NetWorkDate", "NetWorkDate");
            tableMapping.ColumnMappings.Add("SpecLocal", "SpecLocal");
            tableMapping.ColumnMappings.Add("EquiSitu", "EquiSitu");
            tableMapping.ColumnMappings.Add("EquiId", "EquiId");
            tableMapping.ColumnMappings.Add("EngRomType", "EngRomType");
            tableMapping.ColumnMappings.Add("MatchAttr", "MatchAttr");
            tableMapping.ColumnMappings.Add("AirCondFact", "AirCondFact");
            tableMapping.ColumnMappings.Add("AirCondType", "AirCondType");
            tableMapping.ColumnMappings.Add("AirCondStarDate", "AirCondStarDate");
            tableMapping.ColumnMappings.Add("BattIFact", "BattIFact");
            tableMapping.ColumnMappings.Add("BattIType", "BattIType");
            tableMapping.ColumnMappings.Add("BattIStarDate", "BattIStarDate");
            tableMapping.ColumnMappings.Add("BattIIFact", "BattIIFact");
            tableMapping.ColumnMappings.Add("BattIIType", "BattIIType");
            tableMapping.ColumnMappings.Add("BattIIStarDate", "BattIIStarDate");
            tableMapping.ColumnMappings.Add("AntePolaWay", "AntePolaWay");
            tableMapping.ColumnMappings.Add("AnteHight", "AnteHight");
            tableMapping.ColumnMappings.Add("AntePlat", "AntePlat");
            tableMapping.ColumnMappings.Add("IronTowType", "IronTowType");
            tableMapping.ColumnMappings.Add("IronTowHight", "IronTowHight");
            tableMapping.ColumnMappings.Add("IronTowCount", "IronTowCount");
            tableMapping.ColumnMappings.Add("EngRomFloor", "EngRomFloor");
            tableMapping.ColumnMappings.Add("EngRomArea", "EngRomArea");
            tableMapping.ColumnMappings.Add("IsSelfCreaTrans", "IsSelfCreaTrans");
            tableMapping.ColumnMappings.Add("TransFact", "TransFact");
            tableMapping.ColumnMappings.Add("TransType", "TransType");
            tableMapping.ColumnMappings.Add("RatePower", "RatePower");
            tableMapping.ColumnMappings.Add("InpCityElecLeng", "InpCityElecLeng");
            tableMapping.ColumnMappings.Add("ACDistBoxFact", "ACDistBoxFact");
            tableMapping.ColumnMappings.Add("ACDistBoxType", "ACDistBoxType");
            tableMapping.ColumnMappings.Add("LYSupprFact", "LYSupprFact");
            tableMapping.ColumnMappings.Add("LYSupprType", "LYSupprType");
            tableMapping.ColumnMappings.Add("EnviContrFact", "EnviContrFact");
            tableMapping.ColumnMappings.Add("EnviContrType", "EnviContrType");
            tableMapping.ColumnMappings.Add("SwitPowFact", "SwitPowFact");
            tableMapping.ColumnMappings.Add("SwitPowType", "SwitPowType");
            tableMapping.ColumnMappings.Add("ZhLModeType", "ZhLModeType");
            tableMapping.ColumnMappings.Add("NetMConfiCount", "NetMConfiCount");
            tableMapping.ColumnMappings.Add("SingMRateI", "SingMRateI");
            tableMapping.ColumnMappings.Add("SuspFirFigFact", "SuspFirFigFact");
            tableMapping.ColumnMappings.Add("SuspFirFigType", "SuspFirFigType");
            tableMapping.ColumnMappings.Add("HandFirFigFact", "HandFirFigFact");
            tableMapping.ColumnMappings.Add("HandFirFigType", "HandFirFigType");
            tableMapping.ColumnMappings.Add("FirFigNJDate", "FirFigNJDate");
            tableMapping.ColumnMappings.Add("SiteRentHtNo", "SiteRentHtNo");
            tableMapping.ColumnMappings.Add("HTSingnName", "HTSingnName");
            tableMapping.ColumnMappings.Add("RentStarTime", "RentStarTime");
            tableMapping.ColumnMappings.Add("RentEndTime", "RentEndTime");
            tableMapping.ColumnMappings.Add("YearRentCost", "YearRentCost");
            tableMapping.ColumnMappings.Add("LastPayDate", "LastPayDate");
            tableMapping.ColumnMappings.Add("LastEndTime", "LastEndTime");
            tableMapping.ColumnMappings.Add("HostSitu", "HostSitu");
            tableMapping.ColumnMappings.Add("Remark", "Remark");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[T_NetResLedg] WHERE (([Id] = @Original_Id))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Id", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Id", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[T_NetResLedg] ([MainFact], [MainCate], [BaStaLevel], [BaStaId]" +
                ", [BaStaName], [AttrLocal], [AttrOfOther], [NetWorkDate], [SpecLocal], [EquiSitu" +
                "], [EquiId], [EngRomType], [MatchAttr], [AirCondFact], [AirCondType], [AirCondSt" +
                "arDate], [BattIFact], [BattIType], [BattIStarDate], [BattIIFact], [BattIIType], " +
                "[BattIIStarDate], [AntePolaWay], [AnteHight], [AntePlat], [IronTowType], [IronTo" +
                "wHight], [IronTowCount], [EngRomFloor], [EngRomArea], [IsSelfCreaTrans], [TransF" +
                "act], [TransType], [RatePower], [InpCityElecLeng], [ACDistBoxFact], [ACDistBoxTy" +
                "pe], [LYSupprFact], [LYSupprType], [EnviContrFact], [EnviContrType], [SwitPowFac" +
                "t], [SwitPowType], [ZhLModeType], [NetMConfiCount], [SingMRateI], [SuspFirFigFac" +
                "t], [SuspFirFigType], [HandFirFigFact], [HandFirFigType], [FirFigNJDate], [SiteR" +
                "entHtNo], [HTSingnName], [RentStarTime], [RentEndTime], [YearRentCost], [LastPay" +
                "Date], [LastEndTime], [HostSitu], [Remark]) VALUES (@MainFact, @MainCate, @BaSta" +
                "Level, @BaStaId, @BaStaName, @AttrLocal, @AttrOfOther, @NetWorkDate, @SpecLocal," +
                " @EquiSitu, @EquiId, @EngRomType, @MatchAttr, @AirCondFact, @AirCondType, @AirCo" +
                "ndStarDate, @BattIFact, @BattIType, @BattIStarDate, @BattIIFact, @BattIIType, @B" +
                "attIIStarDate, @AntePolaWay, @AnteHight, @AntePlat, @IronTowType, @IronTowHight," +
                " @IronTowCount, @EngRomFloor, @EngRomArea, @IsSelfCreaTrans, @TransFact, @TransT" +
                "ype, @RatePower, @InpCityElecLeng, @ACDistBoxFact, @ACDistBoxType, @LYSupprFact," +
                " @LYSupprType, @EnviContrFact, @EnviContrType, @SwitPowFact, @SwitPowType, @ZhLM" +
                "odeType, @NetMConfiCount, @SingMRateI, @SuspFirFigFact, @SuspFirFigType, @HandFi" +
                "rFigFact, @HandFirFigType, @FirFigNJDate, @SiteRentHtNo, @HTSingnName, @RentStar" +
                "Time, @RentEndTime, @YearRentCost, @LastPayDate, @LastEndTime, @HostSitu, @Remar" +
                "k)";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MainFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MainFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MainCate", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MainCate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BaStaLevel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BaStaLevel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BaStaId", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BaStaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BaStaName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BaStaName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AttrLocal", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AttrLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AttrOfOther", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AttrOfOther", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetWorkDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NetWorkDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SpecLocal", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SpecLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EquiSitu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EquiSitu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EquiId", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EquiId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EngRomType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EngRomType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatchAttr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatchAttr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AirCondFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AirCondFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AirCondType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AirCondType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AirCondStarDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AirCondStarDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIStarDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIStarDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIIFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIIFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIIType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIIType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIIStarDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIIStarDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AntePolaWay", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AntePolaWay", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AnteHight", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AnteHight", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AntePlat", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AntePlat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IronTowType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IronTowType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IronTowHight", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IronTowHight", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IronTowCount", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IronTowCount", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EngRomFloor", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EngRomFloor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EngRomArea", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EngRomArea", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsSelfCreaTrans", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsSelfCreaTrans", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TransFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TransFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TransType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TransType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RatePower", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatePower", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InpCityElecLeng", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InpCityElecLeng", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ACDistBoxFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ACDistBoxFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ACDistBoxType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ACDistBoxType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LYSupprFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LYSupprFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LYSupprType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LYSupprType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnviContrFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnviContrFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnviContrType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnviContrType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SwitPowFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SwitPowFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SwitPowType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SwitPowType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZhLModeType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZhLModeType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetMConfiCount", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NetMConfiCount", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SingMRateI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SingMRateI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SuspFirFigFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SuspFirFigFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SuspFirFigType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SuspFirFigType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HandFirFigFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HandFirFigFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HandFirFigType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HandFirFigType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FirFigNJDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FirFigNJDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SiteRentHtNo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SiteRentHtNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HTSingnName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HTSingnName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RentStarTime", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RentStarTime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RentEndTime", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RentEndTime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@YearRentCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "YearRentCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastPayDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastPayDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastEndTime", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastEndTime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HostSitu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HostSitu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[T_NetResLedg] SET [MainFact] = @MainFact, [MainCate] = @MainCate, [" +
                "BaStaLevel] = @BaStaLevel, [BaStaId] = @BaStaId, [BaStaName] = @BaStaName, [Attr" +
                "Local] = @AttrLocal, [AttrOfOther] = @AttrOfOther, [NetWorkDate] = @NetWorkDate," +
                " [SpecLocal] = @SpecLocal, [EquiSitu] = @EquiSitu, [EquiId] = @EquiId, [EngRomTy" +
                "pe] = @EngRomType, [MatchAttr] = @MatchAttr, [AirCondFact] = @AirCondFact, [AirC" +
                "ondType] = @AirCondType, [AirCondStarDate] = @AirCondStarDate, [BattIFact] = @Ba" +
                "ttIFact, [BattIType] = @BattIType, [BattIStarDate] = @BattIStarDate, [BattIIFact" +
                "] = @BattIIFact, [BattIIType] = @BattIIType, [BattIIStarDate] = @BattIIStarDate," +
                " [AntePolaWay] = @AntePolaWay, [AnteHight] = @AnteHight, [AntePlat] = @AntePlat," +
                " [IronTowType] = @IronTowType, [IronTowHight] = @IronTowHight, [IronTowCount] = " +
                "@IronTowCount, [EngRomFloor] = @EngRomFloor, [EngRomArea] = @EngRomArea, [IsSelf" +
                "CreaTrans] = @IsSelfCreaTrans, [TransFact] = @TransFact, [TransType] = @TransTyp" +
                "e, [RatePower] = @RatePower, [InpCityElecLeng] = @InpCityElecLeng, [ACDistBoxFac" +
                "t] = @ACDistBoxFact, [ACDistBoxType] = @ACDistBoxType, [LYSupprFact] = @LYSupprF" +
                "act, [LYSupprType] = @LYSupprType, [EnviContrFact] = @EnviContrFact, [EnviContrT" +
                "ype] = @EnviContrType, [SwitPowFact] = @SwitPowFact, [SwitPowType] = @SwitPowTyp" +
                "e, [ZhLModeType] = @ZhLModeType, [NetMConfiCount] = @NetMConfiCount, [SingMRateI" +
                "] = @SingMRateI, [SuspFirFigFact] = @SuspFirFigFact, [SuspFirFigType] = @SuspFir" +
                "FigType, [HandFirFigFact] = @HandFirFigFact, [HandFirFigType] = @HandFirFigType," +
                " [FirFigNJDate] = @FirFigNJDate, [SiteRentHtNo] = @SiteRentHtNo, [HTSingnName] =" +
                " @HTSingnName, [RentStarTime] = @RentStarTime, [RentEndTime] = @RentEndTime, [Ye" +
                "arRentCost] = @YearRentCost, [LastPayDate] = @LastPayDate, [LastEndTime] = @Last" +
                "EndTime, [HostSitu] = @HostSitu, [Remark] = @Remark WHERE (([Id] = @Original_Id)" +
                ")";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MainFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MainFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MainCate", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MainCate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BaStaLevel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BaStaLevel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BaStaId", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BaStaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BaStaName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BaStaName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AttrLocal", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AttrLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AttrOfOther", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AttrOfOther", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetWorkDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NetWorkDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SpecLocal", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SpecLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EquiSitu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EquiSitu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EquiId", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EquiId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EngRomType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EngRomType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatchAttr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatchAttr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AirCondFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AirCondFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AirCondType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AirCondType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AirCondStarDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AirCondStarDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIStarDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIStarDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIIFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIIFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIIType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIIType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BattIIStarDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BattIIStarDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AntePolaWay", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AntePolaWay", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AnteHight", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AnteHight", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AntePlat", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AntePlat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IronTowType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IronTowType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IronTowHight", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IronTowHight", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IronTowCount", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IronTowCount", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EngRomFloor", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EngRomFloor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EngRomArea", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EngRomArea", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsSelfCreaTrans", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IsSelfCreaTrans", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TransFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TransFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TransType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TransType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RatePower", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RatePower", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InpCityElecLeng", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InpCityElecLeng", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ACDistBoxFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ACDistBoxFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ACDistBoxType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ACDistBoxType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LYSupprFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LYSupprFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LYSupprType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LYSupprType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnviContrFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnviContrFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnviContrType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnviContrType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SwitPowFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SwitPowFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SwitPowType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SwitPowType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZhLModeType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZhLModeType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetMConfiCount", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NetMConfiCount", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SingMRateI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SingMRateI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SuspFirFigFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SuspFirFigFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SuspFirFigType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SuspFirFigType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HandFirFigFact", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HandFirFigFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HandFirFigType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HandFirFigType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FirFigNJDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FirFigNJDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SiteRentHtNo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SiteRentHtNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HTSingnName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HTSingnName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RentStarTime", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RentStarTime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RentEndTime", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RentEndTime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@YearRentCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "YearRentCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastPayDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastPayDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastEndTime", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastEndTime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HostSitu", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HostSitu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Id", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Id", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ResMangConnectionString"].ConnectionString;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg where BaStaId=@bastaid";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bastaid", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "BaStaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg where Id=@id";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "Id", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg where BaStaName=@bastaname";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bastaname", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "BaStaName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[4].Connection = this.Connection;
            this._commandCollection[4].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg where AttrLocal=@attrlocal";
            this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attrlocal", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "AttrLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[5].Connection = this.Connection;
            this._commandCollection[5].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg where AttrLocal=@attrlocal and AirCondFact=@aircondfact";
            this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attrlocal", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "AttrLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@aircondfact", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "AirCondFact", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[6].Connection = this.Connection;
            this._commandCollection[6].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg where AttrLocal=@attrlocal and EngRomType=@engromtype";
            this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attrlocal", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "AttrLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@engromtype", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "EngRomType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[7].Connection = this.Connection;
            this._commandCollection[7].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg where AttrLocal=@attrlocal and EquiSitu=@equisitu";
            this._commandCollection[7].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attrlocal", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "AttrLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@equisitu", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "EquiSitu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[8].Connection = this.Connection;
            this._commandCollection[8].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg where AttrLocal=@attrlocal and IronTowType=@irontowtype";
            this._commandCollection[8].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attrlocal", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "AttrLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@irontowtype", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IronTowType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[9].Connection = this.Connection;
            this._commandCollection[9].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg where AttrLocal=@attrlocal and BaStaLevel=@bastalevel";
            this._commandCollection[9].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attrlocal", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "AttrLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bastalevel", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "BaStaLevel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[10].Connection = this.Connection;
            this._commandCollection[10].CommandText = @"SELECT Id, MainFact, MainCate, BaStaLevel, BaStaId, BaStaName, AttrLocal, AttrOfOther, NetWorkDate, SpecLocal, EquiSitu, EquiId, EngRomType, MatchAttr, AirCondFact, AirCondType, AirCondStarDate, BattIFact, BattIType, BattIStarDate, BattIIFact, BattIIType, BattIIStarDate, AntePolaWay, AnteHight, AntePlat, IronTowType, IronTowHight, IronTowCount, EngRomFloor, EngRomArea, IsSelfCreaTrans, TransFact, TransType, RatePower, InpCityElecLeng, ACDistBoxFact, ACDistBoxType, LYSupprFact, LYSupprType, EnviContrFact, EnviContrType, SwitPowFact, SwitPowType, ZhLModeType, NetMConfiCount, SingMRateI, SuspFirFigFact, SuspFirFigType, HandFirFigFact, HandFirFigType, FirFigNJDate, SiteRentHtNo, HTSingnName, RentStarTime, RentEndTime, YearRentCost, LastPayDate, LastEndTime, HostSitu, Remark FROM dbo.T_NetResLedg where AttrLocal=@attrlocal and IsSelfCreaTrans=@isselfcreatrans";
            this._commandCollection[10].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@attrlocal", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "AttrLocal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isselfcreatrans", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "IsSelfCreaTrans", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(NetResLedg.T_NetResLedgDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual NetResLedg.T_NetResLedgDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual NetResLedg.T_NetResLedgDataTable GetBaStaDataByBaStaId(string bastaid) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((bastaid == null)) {
                throw new global::System.ArgumentNullException("bastaid");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(bastaid));
            }
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual NetResLedg.T_NetResLedgDataTable GetBaStaDataById(long id) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((long)(id));
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual NetResLedg.T_NetResLedgDataTable GetBaStaDataByName(string bastaname) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            if ((bastaname == null)) {
                throw new global::System.ArgumentNullException("bastaname");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(bastaname));
            }
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual NetResLedg.T_NetResLedgDataTable GetDataByAttrLocal(string attrlocal) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            if ((attrlocal == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(attrlocal));
            }
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual NetResLedg.T_NetResLedgDataTable GetDataByLocalAir(string attrlocal, string aircondfact) {
            this.Adapter.SelectCommand = this.CommandCollection[5];
            if ((attrlocal == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(attrlocal));
            }
            if ((aircondfact == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(aircondfact));
            }
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual NetResLedg.T_NetResLedgDataTable GetDataByLocalEngRom(string attrlocal, string engromtype) {
            this.Adapter.SelectCommand = this.CommandCollection[6];
            if ((attrlocal == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(attrlocal));
            }
            if ((engromtype == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(engromtype));
            }
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual NetResLedg.T_NetResLedgDataTable GetDataByLocalEqui(string attrlocal, string equisitu) {
            this.Adapter.SelectCommand = this.CommandCollection[7];
            if ((attrlocal == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(attrlocal));
            }
            if ((equisitu == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(equisitu));
            }
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual NetResLedg.T_NetResLedgDataTable GetDataByLocalIronTow(string attrlocal, string irontowtype) {
            this.Adapter.SelectCommand = this.CommandCollection[8];
            if ((attrlocal == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(attrlocal));
            }
            if ((irontowtype == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(irontowtype));
            }
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual NetResLedg.T_NetResLedgDataTable GetDataByLocalLevel(string attrlocal, string bastalevel) {
            this.Adapter.SelectCommand = this.CommandCollection[9];
            if ((attrlocal == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(attrlocal));
            }
            if ((bastalevel == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(bastalevel));
            }
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual NetResLedg.T_NetResLedgDataTable GetDataByLocalTrans(string attrlocal, string isselfcreatrans) {
            this.Adapter.SelectCommand = this.CommandCollection[10];
            if ((attrlocal == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(attrlocal));
            }
            if ((isselfcreatrans == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(isselfcreatrans));
            }
            NetResLedg.T_NetResLedgDataTable dataTable = new NetResLedg.T_NetResLedgDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(NetResLedg.T_NetResLedgDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(NetResLedg dataSet) {
            return this.Adapter.Update(dataSet, "T_NetResLedg");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(long Original_Id) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_Id));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(
                    string MainFact, 
                    string MainCate, 
                    string BaStaLevel, 
                    string BaStaId, 
                    string BaStaName, 
                    string AttrLocal, 
                    string AttrOfOther, 
                    global::System.Nullable<global::System.DateTime> NetWorkDate, 
                    string SpecLocal, 
                    string EquiSitu, 
                    string EquiId, 
                    string EngRomType, 
                    string MatchAttr, 
                    string AirCondFact, 
                    string AirCondType, 
                    global::System.Nullable<global::System.DateTime> AirCondStarDate, 
                    string BattIFact, 
                    string BattIType, 
                    global::System.Nullable<global::System.DateTime> BattIStarDate, 
                    string BattIIFact, 
                    string BattIIType, 
                    global::System.Nullable<global::System.DateTime> BattIIStarDate, 
                    string AntePolaWay, 
                    global::System.Nullable<int> AnteHight, 
                    global::System.Nullable<int> AntePlat, 
                    string IronTowType, 
                    global::System.Nullable<int> IronTowHight, 
                    global::System.Nullable<int> IronTowCount, 
                    global::System.Nullable<int> EngRomFloor, 
                    global::System.Nullable<int> EngRomArea, 
                    string IsSelfCreaTrans, 
                    string TransFact, 
                    string TransType, 
                    global::System.Nullable<int> RatePower, 
                    global::System.Nullable<int> InpCityElecLeng, 
                    string ACDistBoxFact, 
                    string ACDistBoxType, 
                    string LYSupprFact, 
                    string LYSupprType, 
                    string EnviContrFact, 
                    string EnviContrType, 
                    string SwitPowFact, 
                    string SwitPowType, 
                    string ZhLModeType, 
                    global::System.Nullable<int> NetMConfiCount, 
                    global::System.Nullable<int> SingMRateI, 
                    string SuspFirFigFact, 
                    string SuspFirFigType, 
                    string HandFirFigFact, 
                    string HandFirFigType, 
                    global::System.Nullable<global::System.DateTime> FirFigNJDate, 
                    string SiteRentHtNo, 
                    string HTSingnName, 
                    global::System.Nullable<global::System.DateTime> RentStarTime, 
                    global::System.Nullable<global::System.DateTime> RentEndTime, 
                    global::System.Nullable<int> YearRentCost, 
                    global::System.Nullable<global::System.DateTime> LastPayDate, 
                    global::System.Nullable<global::System.DateTime> LastEndTime, 
                    string HostSitu, 
                    string Remark) {
            if ((MainFact == null)) {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(MainFact));
            }
            if ((MainCate == null)) {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(MainCate));
            }
            if ((BaStaLevel == null)) {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(BaStaLevel));
            }
            if ((BaStaId == null)) {
                throw new global::System.ArgumentNullException("BaStaId");
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(BaStaId));
            }
            if ((BaStaName == null)) {
                throw new global::System.ArgumentNullException("BaStaName");
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(BaStaName));
            }
            if ((AttrLocal == null)) {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = ((string)(AttrLocal));
            }
            if ((AttrOfOther == null)) {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = ((string)(AttrOfOther));
            }
            if ((NetWorkDate.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(NetWorkDate.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((SpecLocal == null)) {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = ((string)(SpecLocal));
            }
            if ((EquiSitu == null)) {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = ((string)(EquiSitu));
            }
            if ((EquiId == null)) {
                this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = ((string)(EquiId));
            }
            if ((EngRomType == null)) {
                this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = ((string)(EngRomType));
            }
            if ((MatchAttr == null)) {
                this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[12].Value = ((string)(MatchAttr));
            }
            if ((AirCondFact == null)) {
                this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = ((string)(AirCondFact));
            }
            if ((AirCondType == null)) {
                this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[14].Value = ((string)(AirCondType));
            }
            if ((AirCondStarDate.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[15].Value = ((System.DateTime)(AirCondStarDate.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            if ((BattIFact == null)) {
                this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[16].Value = ((string)(BattIFact));
            }
            if ((BattIType == null)) {
                this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[17].Value = ((string)(BattIType));
            }
            if ((BattIStarDate.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[18].Value = ((System.DateTime)(BattIStarDate.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            if ((BattIIFact == null)) {
                this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[19].Value = ((string)(BattIIFact));
            }
            if ((BattIIType == null)) {
                this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[20].Value = ((string)(BattIIType));
            }
            if ((BattIIStarDate.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[21].Value = ((System.DateTime)(BattIIStarDate.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            if ((AntePolaWay == null)) {
                this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[22].Value = ((string)(AntePolaWay));
            }
            if ((AnteHight.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[23].Value = ((int)(AnteHight.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((AntePlat.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[24].Value = ((int)(AntePlat.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            if ((IronTowType == null)) {
                this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[25].Value = ((string)(IronTowType));
            }
            if ((IronTowHight.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[26].Value = ((int)(IronTowHight.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            if ((IronTowCount.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[27].Value = ((int)(IronTowCount.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            if ((EngRomFloor.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[28].Value = ((int)(EngRomFloor.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            if ((EngRomArea.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[29].Value = ((int)(EngRomArea.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value;
            }
            if ((IsSelfCreaTrans == null)) {
                this.Adapter.InsertCommand.Parameters[30].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[30].Value = ((string)(IsSelfCreaTrans));
            }
            if ((TransFact == null)) {
                this.Adapter.InsertCommand.Parameters[31].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[31].Value = ((string)(TransFact));
            }
            if ((TransType == null)) {
                this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[32].Value = ((string)(TransType));
            }
            if ((RatePower.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[33].Value = ((int)(RatePower.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[33].Value = global::System.DBNull.Value;
            }
            if ((InpCityElecLeng.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[34].Value = ((int)(InpCityElecLeng.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[34].Value = global::System.DBNull.Value;
            }
            if ((ACDistBoxFact == null)) {
                this.Adapter.InsertCommand.Parameters[35].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[35].Value = ((string)(ACDistBoxFact));
            }
            if ((ACDistBoxType == null)) {
                this.Adapter.InsertCommand.Parameters[36].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[36].Value = ((string)(ACDistBoxType));
            }
            if ((LYSupprFact == null)) {
                this.Adapter.InsertCommand.Parameters[37].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[37].Value = ((string)(LYSupprFact));
            }
            if ((LYSupprType == null)) {
                this.Adapter.InsertCommand.Parameters[38].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[38].Value = ((string)(LYSupprType));
            }
            if ((EnviContrFact == null)) {
                this.Adapter.InsertCommand.Parameters[39].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[39].Value = ((string)(EnviContrFact));
            }
            if ((EnviContrType == null)) {
                this.Adapter.InsertCommand.Parameters[40].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[40].Value = ((string)(EnviContrType));
            }
            if ((SwitPowFact == null)) {
                this.Adapter.InsertCommand.Parameters[41].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[41].Value = ((string)(SwitPowFact));
            }
            if ((SwitPowType == null)) {
                this.Adapter.InsertCommand.Parameters[42].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[42].Value = ((string)(SwitPowType));
            }
            if ((ZhLModeType == null)) {
                this.Adapter.InsertCommand.Parameters[43].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[43].Value = ((string)(ZhLModeType));
            }
            if ((NetMConfiCount.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[44].Value = ((int)(NetMConfiCount.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[44].Value = global::System.DBNull.Value;
            }
            if ((SingMRateI.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[45].Value = ((int)(SingMRateI.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[45].Value = global::System.DBNull.Value;
            }
            if ((SuspFirFigFact == null)) {
                this.Adapter.InsertCommand.Parameters[46].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[46].Value = ((string)(SuspFirFigFact));
            }
            if ((SuspFirFigType == null)) {
                this.Adapter.InsertCommand.Parameters[47].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[47].Value = ((string)(SuspFirFigType));
            }
            if ((HandFirFigFact == null)) {
                this.Adapter.InsertCommand.Parameters[48].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[48].Value = ((string)(HandFirFigFact));
            }
            if ((HandFirFigType == null)) {
                this.Adapter.InsertCommand.Parameters[49].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[49].Value = ((string)(HandFirFigType));
            }
            if ((FirFigNJDate.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[50].Value = ((System.DateTime)(FirFigNJDate.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[50].Value = global::System.DBNull.Value;
            }
            if ((SiteRentHtNo == null)) {
                this.Adapter.InsertCommand.Parameters[51].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[51].Value = ((string)(SiteRentHtNo));
            }
            if ((HTSingnName == null)) {
                this.Adapter.InsertCommand.Parameters[52].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[52].Value = ((string)(HTSingnName));
            }
            if ((RentStarTime.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[53].Value = ((System.DateTime)(RentStarTime.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[53].Value = global::System.DBNull.Value;
            }
            if ((RentEndTime.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[54].Value = ((System.DateTime)(RentEndTime.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[54].Value = global::System.DBNull.Value;
            }
            if ((YearRentCost.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[55].Value = ((int)(YearRentCost.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[55].Value = global::System.DBNull.Value;
            }
            if ((LastPayDate.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[56].Value = ((System.DateTime)(LastPayDate.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[56].Value = global::System.DBNull.Value;
            }
            if ((LastEndTime.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[57].Value = ((System.DateTime)(LastEndTime.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[57].Value = global::System.DBNull.Value;
            }
            if ((HostSitu == null)) {
                this.Adapter.InsertCommand.Parameters[58].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[58].Value = ((string)(HostSitu));
            }
            if ((Remark == null)) {
                this.Adapter.InsertCommand.Parameters[59].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[59].Value = ((string)(Remark));
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    string MainFact, 
                    string MainCate, 
                    string BaStaLevel, 
                    string BaStaId, 
                    string BaStaName, 
                    string AttrLocal, 
                    string AttrOfOther, 
                    global::System.Nullable<global::System.DateTime> NetWorkDate, 
                    string SpecLocal, 
                    string EquiSitu, 
                    string EquiId, 
                    string EngRomType, 
                    string MatchAttr, 
                    string AirCondFact, 
                    string AirCondType, 
                    global::System.Nullable<global::System.DateTime> AirCondStarDate, 
                    string BattIFact, 
                    string BattIType, 
                    global::System.Nullable<global::System.DateTime> BattIStarDate, 
                    string BattIIFact, 
                    string BattIIType, 
                    global::System.Nullable<global::System.DateTime> BattIIStarDate, 
                    string AntePolaWay, 
                    global::System.Nullable<int> AnteHight, 
                    global::System.Nullable<int> AntePlat, 
                    string IronTowType, 
                    global::System.Nullable<int> IronTowHight, 
                    global::System.Nullable<int> IronTowCount, 
                    global::System.Nullable<int> EngRomFloor, 
                    global::System.Nullable<int> EngRomArea, 
                    string IsSelfCreaTrans, 
                    string TransFact, 
                    string TransType, 
                    global::System.Nullable<int> RatePower, 
                    global::System.Nullable<int> InpCityElecLeng, 
                    string ACDistBoxFact, 
                    string ACDistBoxType, 
                    string LYSupprFact, 
                    string LYSupprType, 
                    string EnviContrFact, 
                    string EnviContrType, 
                    string SwitPowFact, 
                    string SwitPowType, 
                    string ZhLModeType, 
                    global::System.Nullable<int> NetMConfiCount, 
                    global::System.Nullable<int> SingMRateI, 
                    string SuspFirFigFact, 
                    string SuspFirFigType, 
                    string HandFirFigFact, 
                    string HandFirFigType, 
                    global::System.Nullable<global::System.DateTime> FirFigNJDate, 
                    string SiteRentHtNo, 
                    string HTSingnName, 
                    global::System.Nullable<global::System.DateTime> RentStarTime, 
                    global::System.Nullable<global::System.DateTime> RentEndTime, 
                    global::System.Nullable<int> YearRentCost, 
                    global::System.Nullable<global::System.DateTime> LastPayDate, 
                    global::System.Nullable<global::System.DateTime> LastEndTime, 
                    string HostSitu, 
                    string Remark, 
                    long Original_Id) {
            if ((MainFact == null)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(MainFact));
            }
            if ((MainCate == null)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(MainCate));
            }
            if ((BaStaLevel == null)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(BaStaLevel));
            }
            if ((BaStaId == null)) {
                throw new global::System.ArgumentNullException("BaStaId");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(BaStaId));
            }
            if ((BaStaName == null)) {
                throw new global::System.ArgumentNullException("BaStaName");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(BaStaName));
            }
            if ((AttrLocal == null)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(AttrLocal));
            }
            if ((AttrOfOther == null)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(AttrOfOther));
            }
            if ((NetWorkDate.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(NetWorkDate.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((SpecLocal == null)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(SpecLocal));
            }
            if ((EquiSitu == null)) {
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(EquiSitu));
            }
            if ((EquiId == null)) {
                this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(EquiId));
            }
            if ((EngRomType == null)) {
                this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(EngRomType));
            }
            if ((MatchAttr == null)) {
                this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(MatchAttr));
            }
            if ((AirCondFact == null)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(AirCondFact));
            }
            if ((AirCondType == null)) {
                this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(AirCondType));
            }
            if ((AirCondStarDate.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(AirCondStarDate.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            if ((BattIFact == null)) {
                this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(BattIFact));
            }
            if ((BattIType == null)) {
                this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(BattIType));
            }
            if ((BattIStarDate.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[18].Value = ((System.DateTime)(BattIStarDate.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            if ((BattIIFact == null)) {
                this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(BattIIFact));
            }
            if ((BattIIType == null)) {
                this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(BattIIType));
            }
            if ((BattIIStarDate.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(BattIIStarDate.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            if ((AntePolaWay == null)) {
                this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(AntePolaWay));
            }
            if ((AnteHight.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(AnteHight.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((AntePlat.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(AntePlat.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            if ((IronTowType == null)) {
                this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(IronTowType));
            }
            if ((IronTowHight.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(IronTowHight.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            if ((IronTowCount.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(IronTowCount.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            if ((EngRomFloor.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[28].Value = ((int)(EngRomFloor.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            if ((EngRomArea.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(EngRomArea.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
            }
            if ((IsSelfCreaTrans == null)) {
                this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(IsSelfCreaTrans));
            }
            if ((TransFact == null)) {
                this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(TransFact));
            }
            if ((TransType == null)) {
                this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(TransType));
            }
            if ((RatePower.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(RatePower.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
            }
            if ((InpCityElecLeng.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(InpCityElecLeng.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
            }
            if ((ACDistBoxFact == null)) {
                this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(ACDistBoxFact));
            }
            if ((ACDistBoxType == null)) {
                this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(ACDistBoxType));
            }
            if ((LYSupprFact == null)) {
                this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(LYSupprFact));
            }
            if ((LYSupprType == null)) {
                this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(LYSupprType));
            }
            if ((EnviContrFact == null)) {
                this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(EnviContrFact));
            }
            if ((EnviContrType == null)) {
                this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(EnviContrType));
            }
            if ((SwitPowFact == null)) {
                this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(SwitPowFact));
            }
            if ((SwitPowType == null)) {
                this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(SwitPowType));
            }
            if ((ZhLModeType == null)) {
                this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(ZhLModeType));
            }
            if ((NetMConfiCount.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[44].Value = ((int)(NetMConfiCount.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
            }
            if ((SingMRateI.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[45].Value = ((int)(SingMRateI.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
            }
            if ((SuspFirFigFact == null)) {
                this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(SuspFirFigFact));
            }
            if ((SuspFirFigType == null)) {
                this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(SuspFirFigType));
            }
            if ((HandFirFigFact == null)) {
                this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(HandFirFigFact));
            }
            if ((HandFirFigType == null)) {
                this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(HandFirFigType));
            }
            if ((FirFigNJDate.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[50].Value = ((System.DateTime)(FirFigNJDate.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
            }
            if ((SiteRentHtNo == null)) {
                this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(SiteRentHtNo));
            }
            if ((HTSingnName == null)) {
                this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(HTSingnName));
            }
            if ((RentStarTime.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[53].Value = ((System.DateTime)(RentStarTime.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
            }
            if ((RentEndTime.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[54].Value = ((System.DateTime)(RentEndTime.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
            }
            if ((YearRentCost.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[55].Value = ((int)(YearRentCost.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
            }
            if ((LastPayDate.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[56].Value = ((System.DateTime)(LastPayDate.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
            }
            if ((LastEndTime.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[57].Value = ((System.DateTime)(LastEndTime.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
            }
            if ((HostSitu == null)) {
                this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(HostSitu));
            }
            if ((Remark == null)) {
                this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(Remark));
            }
            this.Adapter.UpdateCommand.Parameters[60].Value = ((long)(Original_Id));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
    }
    
    /// <summary>
    ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
    ///</summary>
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
        "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
    public partial class TableAdapterManager : global::System.ComponentModel.Component {
        
        private UpdateOrderOption _updateOrder;
        
        private T_NetResLedgTableAdapter _t_NetResLedgTableAdapter;
        
        private bool _backupDataSetBeforeUpdate;
        
        private global::System.Data.IDbConnection _connection;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public UpdateOrderOption UpdateOrder {
            get {
                return this._updateOrder;
            }
            set {
                this._updateOrder = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
            "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
            "a", "System.Drawing.Design.UITypeEditor")]
        public T_NetResLedgTableAdapter T_NetResLedgTableAdapter {
            get {
                return this._t_NetResLedgTableAdapter;
            }
            set {
                this._t_NetResLedgTableAdapter = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public bool BackupDataSetBeforeUpdate {
            get {
                return this._backupDataSetBeforeUpdate;
            }
            set {
                this._backupDataSetBeforeUpdate = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Browsable(false)]
        public global::System.Data.IDbConnection Connection {
            get {
                if ((this._connection != null)) {
                    return this._connection;
                }
                if (((this._t_NetResLedgTableAdapter != null) 
                            && (this._t_NetResLedgTableAdapter.Connection != null))) {
                    return this._t_NetResLedgTableAdapter.Connection;
                }
                return null;
            }
            set {
                this._connection = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        [global::System.ComponentModel.Browsable(false)]
        public int TableAdapterInstanceCount {
            get {
                int count = 0;
                if ((this._t_NetResLedgTableAdapter != null)) {
                    count = (count + 1);
                }
                return count;
            }
        }
        
        /// <summary>
        ///Update rows in top-down order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private int UpdateUpdatedRows(NetResLedg dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            int result = 0;
            if ((this._t_NetResLedgTableAdapter != null)) {
                global::System.Data.DataRow[] updatedRows = dataSet.T_NetResLedg.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
                if (((updatedRows != null) 
                            && (0 < updatedRows.Length))) {
                    result = (result + this._t_NetResLedgTableAdapter.Update(updatedRows));
                    allChangedRows.AddRange(updatedRows);
                }
            }
            return result;
        }
        
        /// <summary>
        ///Insert rows in top-down order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private int UpdateInsertedRows(NetResLedg dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            int result = 0;
            if ((this._t_NetResLedgTableAdapter != null)) {
                global::System.Data.DataRow[] addedRows = dataSet.T_NetResLedg.Select(null, null, global::System.Data.DataViewRowState.Added);
                if (((addedRows != null) 
                            && (0 < addedRows.Length))) {
                    result = (result + this._t_NetResLedgTableAdapter.Update(addedRows));
                    allAddedRows.AddRange(addedRows);
                }
            }
            return result;
        }
        
        /// <summary>
        ///Delete rows in bottom-up order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private int UpdateDeletedRows(NetResLedg dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
            int result = 0;
            if ((this._t_NetResLedgTableAdapter != null)) {
                global::System.Data.DataRow[] deletedRows = dataSet.T_NetResLedg.Select(null, null, global::System.Data.DataViewRowState.Deleted);
                if (((deletedRows != null) 
                            && (0 < deletedRows.Length))) {
                    result = (result + this._t_NetResLedgTableAdapter.Update(deletedRows));
                    allChangedRows.AddRange(deletedRows);
                }
            }
            return result;
        }
        
        /// <summary>
        ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            if (((updatedRows == null) 
                        || (updatedRows.Length < 1))) {
                return updatedRows;
            }
            if (((allAddedRows == null) 
                        || (allAddedRows.Count < 1))) {
                return updatedRows;
            }
            global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
                global::System.Data.DataRow row = updatedRows[i];
                if ((allAddedRows.Contains(row) == false)) {
                    realUpdatedRows.Add(row);
                }
            }
            return realUpdatedRows.ToArray();
        }
        
        /// <summary>
        ///Update all changes to the dataset.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public virtual int UpdateAll(NetResLedg dataSet) {
            if ((dataSet == null)) {
                throw new global::System.ArgumentNullException("dataSet");
            }
            if ((dataSet.HasChanges() == false)) {
                return 0;
            }
            if (((this._t_NetResLedgTableAdapter != null) 
                        && (this.MatchTableAdapterConnection(this._t_NetResLedgTableAdapter.Connection) == false))) {
                throw new global::System.ArgumentException("由 TableAdapterManager 管理的所有 TableAdapter 必须使用相同的连接字符串。");
            }
            global::System.Data.IDbConnection workConnection = this.Connection;
            if ((workConnection == null)) {
                throw new global::System.ApplicationException("TableAdapterManager 不包含任何连接信息。请将每个 TableAdapterManager TableAdapter 属性设置为有效的 Tabl" +
                        "eAdapter 实例。");
            }
            bool workConnOpened = false;
            if (((workConnection.State & global::System.Data.ConnectionState.Broken) 
                        == global::System.Data.ConnectionState.Broken)) {
                workConnection.Close();
            }
            if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
                workConnection.Open();
                workConnOpened = true;
            }
            global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
            if ((workTransaction == null)) {
                throw new global::System.ApplicationException("事务无法开始。当前的数据连接不支持事务或当前状态不允许事务开始。");
            }
            global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
            global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
            int result = 0;
            global::System.Data.DataSet backupDataSet = null;
            if (this.BackupDataSetBeforeUpdate) {
                backupDataSet = new global::System.Data.DataSet();
                backupDataSet.Merge(dataSet);
            }
            try {
                // ---- Prepare for update -----------
                //
                if ((this._t_NetResLedgTableAdapter != null)) {
                    revertConnections.Add(this._t_NetResLedgTableAdapter, this._t_NetResLedgTableAdapter.Connection);
                    this._t_NetResLedgTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
                    this._t_NetResLedgTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
                    if (this._t_NetResLedgTableAdapter.Adapter.AcceptChangesDuringUpdate) {
                        this._t_NetResLedgTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
                        adaptersWithAcceptChangesDuringUpdate.Add(this._t_NetResLedgTableAdapter.Adapter);
                    }
                }
                // 
                //---- Perform updates -----------
                //
                if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
                    result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
                    result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
                }
                else {
                    result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
                    result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
                }
                result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
                // 
                //---- Commit updates -----------
                //
                workTransaction.Commit();
                if ((0 < allAddedRows.Count)) {
                    global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
                    allAddedRows.CopyTo(rows);
                    for (int i = 0; (i < rows.Length); i = (i + 1)) {
                        global::System.Data.DataRow row = rows[i];
                        row.AcceptChanges();
                    }
                }
                if ((0 < allChangedRows.Count)) {
                    global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
                    allChangedRows.CopyTo(rows);
                    for (int i = 0; (i < rows.Length); i = (i + 1)) {
                        global::System.Data.DataRow row = rows[i];
                        row.AcceptChanges();
                    }
                }
            }
            catch (global::System.Exception ex) {
                workTransaction.Rollback();
                // ---- Restore the dataset -----------
                if (this.BackupDataSetBeforeUpdate) {
                    global::System.Diagnostics.Debug.Assert((backupDataSet != null));
                    dataSet.Clear();
                    dataSet.Merge(backupDataSet);
                }
                else {
                    if ((0 < allAddedRows.Count)) {
                        global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
                        allAddedRows.CopyTo(rows);
                        for (int i = 0; (i < rows.Length); i = (i + 1)) {
                            global::System.Data.DataRow row = rows[i];
                            row.AcceptChanges();
                            row.SetAdded();
                        }
                    }
                }
                throw ex;
            }
            finally {
                if (workConnOpened) {
                    workConnection.Close();
                }
                if ((this._t_NetResLedgTableAdapter != null)) {
                    this._t_NetResLedgTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._t_NetResLedgTableAdapter]));
                    this._t_NetResLedgTableAdapter.Transaction = null;
                }
                if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
                    global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
                    adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
                    for (int i = 0; (i < adapters.Length); i = (i + 1)) {
                        global::System.Data.Common.DataAdapter adapter = adapters[i];
                        adapter.AcceptChangesDuringUpdate = true;
                    }
                }
            }
            return result;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
            global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
            if ((this._connection != null)) {
                return true;
            }
            if (((this.Connection == null) 
                        || (inputConnection == null))) {
                return true;
            }
            if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
                return true;
            }
            return false;
        }
        
        /// <summary>
        ///Update Order Option
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public enum UpdateOrderOption {
            
            InsertUpdateDelete = 0,
            
            UpdateInsertDelete = 1,
        }
        
        /// <summary>
        ///Used to sort self-referenced table's rows
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
            
            private global::System.Data.DataRelation _relation;
            
            private int _childFirst;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
                this._relation = relation;
                if (childFirst) {
                    this._childFirst = -1;
                }
                else {
                    this._childFirst = 1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
                global::System.Diagnostics.Debug.Assert((row != null));
                global::System.Data.DataRow root = row;
                distance = 0;

                global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
                traversedRows[row] = row;

                global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
                for (
                ; ((parent != null) 
                            && (traversedRows.ContainsKey(parent) == false)); 
                ) {
                    distance = (distance + 1);
                    root = parent;
                    traversedRows[parent] = parent;
                    parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
                }

                if ((distance == 0)) {
                    traversedRows.Clear();
                    traversedRows[row] = row;
                    parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
                    for (
                    ; ((parent != null) 
                                && (traversedRows.ContainsKey(parent) == false)); 
                    ) {
                        distance = (distance + 1);
                        root = parent;
                        traversedRows[parent] = parent;
                        parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
                    }
                }

                return root;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
                if (object.ReferenceEquals(row1, row2)) {
                    return 0;
                }
                if ((row1 == null)) {
                    return -1;
                }
                if ((row2 == null)) {
                    return 1;
                }

                int distance1 = 0;
                global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);

                int distance2 = 0;
                global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);

                if (object.ReferenceEquals(root1, root2)) {
                    return (this._childFirst * distance1.CompareTo(distance2));
                }
                else {
                    global::System.Diagnostics.Debug.Assert(((root1.Table != null) 
                                    && (root2.Table != null)));
                    if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
                        return -1;
                    }
                    else {
                        return 1;
                    }
                }
            }
        }
    }
}

#pragma warning restore 1591