传感器数据库dataset.designer.cs

来自「这是关于数据库中绑定到datagridwiew中的数据库技术」· CS 代码 · 共 1,040 行 · 第 1/5 页

CS
1,040
字号
            传感器数据库DataSet ds = new 传感器数据库DataSet();
            System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
            System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
            xs.Add(ds.GetSchemaSerializable());
            System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            return type;
        }
        
        public delegate void 传感器数据总表RowChangeEventHandler(object sender, 传感器数据总表RowChangeEvent e);
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [System.Serializable()]
        [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class 传感器数据总表DataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn column编号ID;
            
            private System.Data.DataColumn column日期;
            
            private System.Data.DataColumn column时间;
            
            private System.Data.DataColumn _column线位移_静态_mm_;
            
            private System.Data.DataColumn _column线位移_动态_mm_;
            
            private System.Data.DataColumn _column角位移_静态___;
            
            private System.Data.DataColumn _column角位移_动态___;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 传感器数据总表DataTable() {
                this.TableName = "传感器数据总表";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal 传感器数据总表DataTable(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;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected 传感器数据总表DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 编号IDColumn {
                get {
                    return this.column编号ID;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 日期Column {
                get {
                    return this.column日期;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 时间Column {
                get {
                    return this.column时间;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn _线位移_静态_mm_Column {
                get {
                    return this._column线位移_静态_mm_;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn _线位移_动态_mm_Column {
                get {
                    return this._column线位移_动态_mm_;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn _角位移_静态___Column {
                get {
                    return this._column角位移_静态___;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn _角位移_动态___Column {
                get {
                    return this._column角位移_动态___;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 传感器数据总表Row this[int index] {
                get {
                    return ((传感器数据总表Row)(this.Rows[index]));
                }
            }
            
            public event 传感器数据总表RowChangeEventHandler 传感器数据总表RowChanging;
            
            public event 传感器数据总表RowChangeEventHandler 传感器数据总表RowChanged;
            
            public event 传感器数据总表RowChangeEventHandler 传感器数据总表RowDeleting;
            
            public event 传感器数据总表RowChangeEventHandler 传感器数据总表RowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Add传感器数据总表Row(传感器数据总表Row row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 传感器数据总表Row Add传感器数据总表Row(int 编号ID, System.DateTime 日期, System.DateTime 时间, int _线位移_静态_mm_, float _线位移_动态_mm_, int _角位移_静态___, double _角位移_动态___) {
                传感器数据总表Row row传感器数据总表Row = ((传感器数据总表Row)(this.NewRow()));
                row传感器数据总表Row.ItemArray = new object[] {
                        编号ID,
                        日期,
                        时间,
                        _线位移_静态_mm_,
                        _线位移_动态_mm_,
                        _角位移_静态___,
                        _角位移_动态___};
                this.Rows.Add(row传感器数据总表Row);
                return row传感器数据总表Row;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public 传感器数据总表Row FindBy编号ID(int 编号ID) {
                return ((传感器数据总表Row)(this.Rows.Find(new object[] {
                            编号ID})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                传感器数据总表DataTable cln = ((传感器数据总表DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new 传感器数据总表DataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column编号ID = base.Columns["编号ID"];
                this.column日期 = base.Columns["日期"];
                this.column时间 = base.Columns["时间"];
                this._column线位移_静态_mm_ = base.Columns["线位移(静态/mm)"];
                this._column线位移_动态_mm_ = base.Columns["线位移(动态/mm)"];
                this._column角位移_静态___ = base.Columns["角位移(静态/°)"];
                this._column角位移_动态___ = base.Columns["角位移(动态/°)"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column编号ID = new System.Data.DataColumn("编号ID", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column编号ID);
                this.column日期 = new System.Data.DataColumn("日期", typeof(System.DateTime), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column日期);
                this.column时间 = new System.Data.DataColumn("时间", typeof(System.DateTime), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column时间);
                this._column线位移_静态_mm_ = new System.Data.DataColumn("线位移(静态/mm)", typeof(int), null, System.Data.MappingType.Element);
                this._column线位移_静态_mm_.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "_线位移_静态_mm_");
                this._column线位移_静态_mm_.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "_线位移_静态_mm_Column");
                this._column线位移_静态_mm_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_column线位移_静态_mm_");
                this._column线位移_静态_mm_.ExtendedProperties.Add("Generator_UserColumnName", "线位移(静态/mm)");
                base.Columns.Add(this._column线位移_静态_mm_);
                this._column线位移_动态_mm_ = new System.Data.DataColumn("线位移(动态/mm)", typeof(float), null, System.Data.MappingType.Element);
                this._column线位移_动态_mm_.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "_线位移_动态_mm_");
                this._column线位移_动态_mm_.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "_线位移_动态_mm_Column");
                this._column线位移_动态_mm_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_column线位移_动态_mm_");
                this._column线位移_动态_mm_.ExtendedProperties.Add("Generator_UserColumnName", "线位移(动态/mm)");
                base.Columns.Add(this._column线位移_动态_mm_);

⌨️ 快捷键说明

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