📄 dataset11.cs
字号:
Check_Times})));
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
public override DataTable Clone() {
QAInspectFabricHeaderDataTable cln = ((QAInspectFabricHeaderDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
protected override DataTable CreateInstance() {
return new QAInspectFabricHeaderDataTable();
}
internal void InitVars() {
this.columnFabric_No = this.Columns["Fabric_No"];
this.columnCheck_Times = this.Columns["Check_Times"];
this.columnPPo_No = this.Columns["PPo_No"];
this.columnLot_No = this.Columns["Lot_No"];
this.columnBatch_No = this.Columns["Batch_No"];
this.columnDefect_Type = this.Columns["Defect_Type"];
this.columnDefect_Name = this.Columns["Defect_Name"];
this.columnDefect_Bulk = this.Columns["Defect_Bulk"];
this.columnDefect_Sort = this.Columns["Defect_Sort"];
this.columnDefect_Start = this.Columns["Defect_Start"];
this.columnDefect_End = this.Columns["Defect_End"];
this.columnDefect_ToLeft = this.Columns["Defect_ToLeft"];
}
private void InitClass() {
this.columnFabric_No = new DataColumn("Fabric_No", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnFabric_No);
this.columnCheck_Times = new DataColumn("Check_Times", typeof(int), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnCheck_Times);
this.columnPPo_No = new DataColumn("PPo_No", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnPPo_No);
this.columnLot_No = new DataColumn("Lot_No", typeof(int), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnLot_No);
this.columnBatch_No = new DataColumn("Batch_No", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnBatch_No);
this.columnDefect_Type = new DataColumn("Defect_Type", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnDefect_Type);
this.columnDefect_Name = new DataColumn("Defect_Name", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnDefect_Name);
this.columnDefect_Bulk = new DataColumn("Defect_Bulk", typeof(System.Byte), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnDefect_Bulk);
this.columnDefect_Sort = new DataColumn("Defect_Sort", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnDefect_Sort);
this.columnDefect_Start = new DataColumn("Defect_Start", typeof(System.Decimal), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnDefect_Start);
this.columnDefect_End = new DataColumn("Defect_End", typeof(System.Decimal), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnDefect_End);
this.columnDefect_ToLeft = new DataColumn("Defect_ToLeft", typeof(System.Decimal), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnDefect_ToLeft);
this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
this.columnFabric_No,
this.columnCheck_Times}, true));
this.columnFabric_No.AllowDBNull = false;
this.columnCheck_Times.AllowDBNull = false;
this.columnDefect_Type.AllowDBNull = false;
this.columnDefect_Name.AllowDBNull = false;
this.columnDefect_Bulk.AllowDBNull = false;
this.columnDefect_Sort.AllowDBNull = false;
this.columnDefect_Start.AllowDBNull = false;
this.columnDefect_End.AllowDBNull = false;
this.columnDefect_ToLeft.AllowDBNull = false;
}
public QAInspectFabricHeaderRow NewQAInspectFabricHeaderRow() {
return ((QAInspectFabricHeaderRow)(this.NewRow()));
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
return new QAInspectFabricHeaderRow(builder);
}
protected override System.Type GetRowType() {
return typeof(QAInspectFabricHeaderRow);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.QAInspectFabricHeaderRowChanged != null)) {
this.QAInspectFabricHeaderRowChanged(this, new QAInspectFabricHeaderRowChangeEvent(((QAInspectFabricHeaderRow)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.QAInspectFabricHeaderRowChanging != null)) {
this.QAInspectFabricHeaderRowChanging(this, new QAInspectFabricHeaderRowChangeEvent(((QAInspectFabricHeaderRow)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.QAInspectFabricHeaderRowDeleted != null)) {
this.QAInspectFabricHeaderRowDeleted(this, new QAInspectFabricHeaderRowChangeEvent(((QAInspectFabricHeaderRow)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.QAInspectFabricHeaderRowDeleting != null)) {
this.QAInspectFabricHeaderRowDeleting(this, new QAInspectFabricHeaderRowChangeEvent(((QAInspectFabricHeaderRow)(e.Row)), e.Action));
}
}
public void RemoveQAInspectFabricHeaderRow(QAInspectFabricHeaderRow row) {
this.Rows.Remove(row);
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class QAInspectFabricHeaderRow : DataRow {
private QAInspectFabricHeaderDataTable tableQAInspectFabricHeader;
internal QAInspectFabricHeaderRow(DataRowBuilder rb) :
base(rb) {
this.tableQAInspectFabricHeader = ((QAInspectFabricHeaderDataTable)(this.Table));
}
public string Fabric_No {
get {
return ((string)(this[this.tableQAInspectFabricHeader.Fabric_NoColumn]));
}
set {
this[this.tableQAInspectFabricHeader.Fabric_NoColumn] = value;
}
}
public int Check_Times {
get {
return ((int)(this[this.tableQAInspectFabricHeader.Check_TimesColumn]));
}
set {
this[this.tableQAInspectFabricHeader.Check_TimesColumn] = value;
}
}
public string PPo_No {
get {
try {
return ((string)(this[this.tableQAInspectFabricHeader.PPo_NoColumn]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("Cannot get value because it is DBNull.", e);
}
}
set {
this[this.tableQAInspectFabricHeader.PPo_NoColumn] = value;
}
}
public int Lot_No {
get {
try {
return ((int)(this[this.tableQAInspectFabricHeader.Lot_NoColumn]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("Cannot get value because it is DBNull.", e);
}
}
set {
this[this.tableQAInspectFabricHeader.Lot_NoColumn] = value;
}
}
public string Batch_No {
get {
try {
return ((string)(this[this.tableQAInspectFabricHeader.Batch_NoColumn]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("Cannot get value because it is DBNull.", e);
}
}
set {
this[this.tableQAInspectFabricHeader.Batch_NoColumn] = value;
}
}
public string Defect_Type {
get {
return ((string)(this[this.tableQAInspectFabricHeader.Defect_TypeColumn]));
}
set {
this[this.tableQAInspectFabricHeader.Defect_TypeColumn] = value;
}
}
public string Defect_Name {
get {
return ((string)(this[this.tableQAInspectFabricHeader.Defect_NameColumn]));
}
set {
this[this.tableQAInspectFabricHeader.Defect_NameColumn] = value;
}
}
public System.Byte Defect_Bulk {
get {
return ((System.Byte)(this[this.tableQAInspectFabricHeader.Defect_BulkColumn]));
}
set {
this[this.tableQAInspectFabricHeader.Defect_BulkColumn] = value;
}
}
public string Defect_Sort {
get {
return ((string)(this[this.tableQAInspectFabricHeader.Defect_SortColumn]));
}
set {
this[this.tableQAInspectFabricHeader.Defect_SortColumn] = value;
}
}
public System.Decimal Defect_Start {
get {
return ((System.Decimal)(this[this.tableQAInspectFabricHeader.Defect_StartColumn]));
}
set {
this[this.tableQAInspectFabricHeader.Defect_StartColumn] = value;
}
}
public System.Decimal Defect_End {
get {
return ((System.Decimal)(this[this.tableQAInspectFabricHeader.Defect_EndColumn]));
}
set {
this[this.tableQAInspectFabricHeader.Defect_EndColumn] = value;
}
}
public System.Decimal Defect_ToLeft {
get {
return ((System.Decimal)(this[this.tableQAInspectFabricHeader.Defect_ToLeftColumn]));
}
set {
this[this.tableQAInspectFabricHeader.Defect_ToLeftColumn] = value;
}
}
public bool IsPPo_NoNull() {
return this.IsNull(this.tableQAInspectFabricHeader.PPo_NoColumn);
}
public void SetPPo_NoNull() {
this[this.tableQAInspectFabricHeader.PPo_NoColumn] = System.Convert.DBNull;
}
public bool IsLot_NoNull() {
return this.IsNull(this.tableQAInspectFabricHeader.Lot_NoColumn);
}
public void SetLot_NoNull() {
this[this.tableQAInspectFabricHeader.Lot_NoColumn] = System.Convert.DBNull;
}
public bool IsBatch_NoNull() {
return this.IsNull(this.tableQAInspectFabricHeader.Batch_NoColumn);
}
public void SetBatch_NoNull() {
this[this.tableQAInspectFabricHeader.Batch_NoColumn] = System.Convert.DBNull;
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class QAInspectFabricHeaderRowChangeEvent : EventArgs {
private QAInspectFabricHeaderRow eventRow;
private DataRowAction eventAction;
public QAInspectFabricHeaderRowChangeEvent(QAInspectFabricHeaderRow row, DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
public QAInspectFabricHeaderRow Row {
get {
return this.eventRow;
}
}
public DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -