Exemple #1
0
 public Goods_TableRow AddGoods_TableRow(Station_TableRow parentStation_TableRowByStation_Table_Goods_Table, string BoxCardID, string TruckNo, string StartTime, string EndTime, int State, double Weight, int StartStationID, int EndStationID) {
     Goods_TableRow rowGoods_TableRow = ((Goods_TableRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             BoxCardID,
             TruckNo,
             StartTime,
             EndTime,
             State,
             Weight,
             StartStationID,
             EndStationID};
     if ((parentStation_TableRowByStation_Table_Goods_Table != null)) {
         columnValuesArray[0] = parentStation_TableRowByStation_Table_Goods_Table[0];
     }
     rowGoods_TableRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowGoods_TableRow);
     return rowGoods_TableRow;
 }
Exemple #2
0
 public void AddStation_TableRow(Station_TableRow row) {
     this.Rows.Add(row);
 }
Exemple #3
0
 public void RemoveStation_TableRow(Station_TableRow row) {
     this.Rows.Remove(row);
 }
Exemple #4
0
 public Station_TableRowChangeEvent(Station_TableRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }