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

📄 wldddataset.designer.cs

📁 一个使用免疫算法实现物流调度的源代码
💻 CS
📖 第 1 页 / 共 5 页
字号:
            internal missionNodeDataTable(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 missionNodeDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn missionIdColumn {
                get {
                    return this.columnmissionId;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn projectIdColumn {
                get {
                    return this.columnprojectId;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn nameColumn {
                get {
                    return this.columnname;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn pxColumn {
                get {
                    return this.columnpx;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn pyColumn {
                get {
                    return this.columnpy;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn etColumn {
                get {
                    return this.columnet;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ltColumn {
                get {
                    return this.columnlt;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn amountColumn {
                get {
                    return this.columnamount;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn flagColumn {
                get {
                    return this.columnflag;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public missionNodeRow this[int index] {
                get {
                    return ((missionNodeRow)(this.Rows[index]));
                }
            }
            
            public event missionNodeRowChangeEventHandler missionNodeRowChanging;
            
            public event missionNodeRowChangeEventHandler missionNodeRowChanged;
            
            public event missionNodeRowChangeEventHandler missionNodeRowDeleting;
            
            public event missionNodeRowChangeEventHandler missionNodeRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddmissionNodeRow(missionNodeRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public missionNodeRow AddmissionNodeRow(System.Guid missionId, System.Guid projectId, string name, int px, int py, int et, int lt, int amount, int flag) {
                missionNodeRow rowmissionNodeRow = ((missionNodeRow)(this.NewRow()));
                rowmissionNodeRow.ItemArray = new object[] {
                        missionId,
                        projectId,
                        name,
                        px,
                        py,
                        et,
                        lt,
                        amount,
                        flag};
                this.Rows.Add(rowmissionNodeRow);
                return rowmissionNodeRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public missionNodeRow FindBymissionId(System.Guid missionId) {
                return ((missionNodeRow)(this.Rows.Find(new object[] {
                            missionId})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                missionNodeDataTable cln = ((missionNodeDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new missionNodeDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnmissionId = base.Columns["missionId"];
                this.columnprojectId = base.Columns["projectId"];
                this.columnname = base.Columns["name"];
                this.columnpx = base.Columns["px"];
                this.columnpy = base.Columns["py"];
                this.columnet = base.Columns["et"];
                this.columnlt = base.Columns["lt"];
                this.columnamount = base.Columns["amount"];
                this.columnflag = base.Columns["flag"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnmissionId = new System.Data.DataColumn("missionId", typeof(System.Guid), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnmissionId);
                this.columnprojectId = new System.Data.DataColumn("projectId", typeof(System.Guid), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnprojectId);
                this.columnname = new System.Data.DataColumn("name", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnname);
                this.columnpx = new System.Data.DataColumn("px", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnpx);
                this.columnpy = new System.Data.DataColumn("py", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnpy);
                this.columnet = new System.Data.DataColumn("et", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnet);
                this.columnlt = new System.Data.DataColumn("lt", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnlt);
                this.columnamount = new System.Data.DataColumn("amount", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnamount);
                this.columnflag = new System.Data.DataColumn("flag", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnflag);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columnmissionId}, true));
                this.columnmissionId.AllowDBNull = false;
                this.columnmissionId.Unique = true;
                this.columnname.MaxLength = 10;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public missionNodeRow NewmissionNodeRow() {
                return ((missionNodeRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new missionNodeRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(missionNodeRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.missionNodeRowChanged != null)) {
                    this.missionNodeRowChanged(this, new missionNodeRowChangeEvent(((missionNodeRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.missionNodeRowChanging != null)) {
                    this.missionNodeRowChanging(this, new missionNodeRowChangeEvent(((missionNodeRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.missionNodeRowDeleted != null)) {
                    this.missionNodeRowDeleted(this, new missionNodeRowChangeEvent(((missionNodeRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.missionNodeRowDeleting != null)) {
                    this.missionNodeRowDeleting(this, new missionNodeRowChangeEvent(((missionNodeRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovemissionNodeRow(missionNodeRow row) {
                this.Rows.Remove(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
                System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
                System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
                wlddDataSet ds = new wlddDataSet();
                xs.Add(ds.GetSchemaSerializable());
                System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "missionNodeDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return type;
            }

⌨️ 快捷键说明

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