Example #1
0
 public void Add工作單Row(工作單Row row) {
     this.Rows.Add(row);
 }
Example #2
0
 public 工作單RowChangeEvent(工作單Row row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
Example #3
0
 public 工作單品號Row Add工作單品號Row(工作單Row parent工作單RowBy工作單工作單品號, 產品品號Row parent產品品號RowBy產品品號工作單品號, decimal 數量, System.DateTime 實際完成日, System.DateTime 客戶需貨日, System.DateTime 預計完成日, string 客戶, int 編號) {
     工作單品號Row row工作單品號Row = ((工作單品號Row)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             null,
             數量,
             實際完成日,
             客戶需貨日,
             預計完成日,
             客戶,
             編號};
     if ((parent工作單RowBy工作單工作單品號 != null)) {
         columnValuesArray[0] = parent工作單RowBy工作單工作單品號[0];
     }
     if ((parent產品品號RowBy產品品號工作單品號 != null)) {
         columnValuesArray[1] = parent產品品號RowBy產品品號工作單品號[0];
     }
     row工作單品號Row.ItemArray = columnValuesArray;
     this.Rows.Add(row工作單品號Row);
     return row工作單品號Row;
 }
Example #4
0
 public 工時Row Add工時Row(string 編號, 員工Row parent員工RowBy員工工時, System.DateTime 日期, 工作單Row parent工作單RowBy工作單工時, decimal 工時, 非生產Row parent非生產RowBy非生產工時, string 備註, string 非生產名稱, string 員工姓名, string 新舊, int 數量, string 借入產線, string QCN, int 工品編號, int 工時類型) {
     工時Row row工時Row = ((工時Row)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             編號,
             null,
             日期,
             null,
             工時,
             null,
             備註,
             非生產名稱,
             員工姓名,
             新舊,
             數量,
             借入產線,
             QCN,
             工品編號,
             工時類型};
     if ((parent員工RowBy員工工時 != null)) {
         columnValuesArray[1] = parent員工RowBy員工工時[0];
     }
     if ((parent工作單RowBy工作單工時 != null)) {
         columnValuesArray[3] = parent工作單RowBy工作單工時[0];
     }
     if ((parent非生產RowBy非生產工時 != null)) {
         columnValuesArray[5] = parent非生產RowBy非生產工時[0];
     }
     row工時Row.ItemArray = columnValuesArray;
     this.Rows.Add(row工時Row);
     return row工時Row;
 }
Example #5
0
 public void Remove工作單Row(工作單Row row) {
     this.Rows.Remove(row);
 }