⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datasettaglogging.designer.cs

📁 用于SIEMENS的WINCC项目数据库读写
💻 CS
📖 第 1 页 / 共 3 页
字号:
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected DataTableTagLoggingDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ValueIDColumn {
                get {
                    return this.columnValueID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn localTimestampColumn {
                get {
                    return this.columnlocalTimestamp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RealValueColumn {
                get {
                    return this.columnRealValue;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn QualityColumn {
                get {
                    return this.columnQuality;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FlagsColumn {
                get {
                    return this.columnFlags;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ValueNameColumn {
                get {
                    return this.columnValueName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn localDateTimeFromColumn {
                get {
                    return this.columnlocalDateTimeFrom;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn localDateTimeToColumn {
                get {
                    return this.columnlocalDateTimeTo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn univDateTimeFromColumn {
                get {
                    return this.columnunivDateTimeFrom;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn univDateTimeToColumn {
                get {
                    return this.columnunivDateTimeTo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DataTableTagLoggingRow this[int index] {
                get {
                    return ((DataTableTagLoggingRow)(this.Rows[index]));
                }
            }
            
            public event DataTableTagLoggingRowChangeEventHandler DataTableTagLoggingRowChanging;
            
            public event DataTableTagLoggingRowChangeEventHandler DataTableTagLoggingRowChanged;
            
            public event DataTableTagLoggingRowChangeEventHandler DataTableTagLoggingRowDeleting;
            
            public event DataTableTagLoggingRowChangeEventHandler DataTableTagLoggingRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddDataTableTagLoggingRow(DataTableTagLoggingRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DataTableTagLoggingRow AddDataTableTagLoggingRow(string ValueID, string localTimestamp, string RealValue, string Quality, string Flags, string ValueName, string localDateTimeFrom, string localDateTimeTo, string univDateTimeFrom, string univDateTimeTo) {
                DataTableTagLoggingRow rowDataTableTagLoggingRow = ((DataTableTagLoggingRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        ValueID,
                        localTimestamp,
                        RealValue,
                        Quality,
                        Flags,
                        ValueName,
                        localDateTimeFrom,
                        localDateTimeTo,
                        univDateTimeFrom,
                        univDateTimeTo};
                rowDataTableTagLoggingRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowDataTableTagLoggingRow);
                return rowDataTableTagLoggingRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                DataTableTagLoggingDataTable cln = ((DataTableTagLoggingDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new DataTableTagLoggingDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnValueID = base.Columns["ValueID"];
                this.columnlocalTimestamp = base.Columns["localTimestamp"];
                this.columnRealValue = base.Columns["RealValue"];
                this.columnQuality = base.Columns["Quality"];
                this.columnFlags = base.Columns["Flags"];
                this.columnValueName = base.Columns["ValueName"];
                this.columnlocalDateTimeFrom = base.Columns["localDateTimeFrom"];
                this.columnlocalDateTimeTo = base.Columns["localDateTimeTo"];
                this.columnunivDateTimeFrom = base.Columns["univDateTimeFrom"];
                this.columnunivDateTimeTo = base.Columns["univDateTimeTo"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnValueID = new global::System.Data.DataColumn("ValueID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnValueID);
                this.columnlocalTimestamp = new global::System.Data.DataColumn("localTimestamp", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnlocalTimestamp);
                this.columnRealValue = new global::System.Data.DataColumn("RealValue", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRealValue);
                this.columnQuality = new global::System.Data.DataColumn("Quality", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnQuality);
                this.columnFlags = new global::System.Data.DataColumn("Flags", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFlags);
                this.columnValueName = new global::System.Data.DataColumn("ValueName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnValueName);
                this.columnlocalDateTimeFrom = new global::System.Data.DataColumn("localDateTimeFrom", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnlocalDateTimeFrom);
                this.columnlocalDateTimeTo = new global::System.Data.DataColumn("localDateTimeTo", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnlocalDateTimeTo);
                this.columnunivDateTimeFrom = new global::System.Data.DataColumn("univDateTimeFrom", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnunivDateTimeFrom);
                this.columnunivDateTimeTo = new global::System.Data.DataColumn("univDateTimeTo", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnunivDateTimeTo);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DataTableTagLoggingRow NewDataTableTagLoggingRow() {
                return ((DataTableTagLoggingRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new DataTableTagLoggingRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(DataTableTagLoggingRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.DataTableTagLoggingRowChanged != null)) {
                    this.DataTableTagLoggingRowChanged(this, new DataTableTagLoggingRowChangeEvent(((DataTableTagLoggingRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.DataTableTagLoggingRowChanging != null)) {
                    this.DataTableTagLoggingRowChanging(this, new DataTableTagLoggingRowChangeEvent(((DataTableTagLoggingRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.DataTableTagLoggingRowDeleted != null)) {
                    this.DataTableTagLoggingRowDeleted(this, new DataTableTagLoggingRowChangeEvent(((DataTableTagLoggingRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.DataTableTagLoggingRowDeleting != null)) {
                    this.DataTableTagLoggingRowDeleting(this, new DataTableTagLoggingRowChangeEvent(((DataTableTagLoggingRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveDataTableTagLoggingRow(DataTableTagLoggingRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            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();
                DataSetTagLogging ds = new DataSetTagLogging();
                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 = "DataTableTagLoggingDataTable";
                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;
            }
        }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -