Exemple #1
0
 public bool UpdateMaterial(string batch, string material)
 {
     SqlAdapter.ConnectionString = _connstr;
     return(SqlAdapter.Run(string.Format(_usql, material, batch)));
 }
Exemple #2
0
 public bool UpWeight(DepotObject depotObject)
 {
     SqlAdapter.ConnectionString = _connstr;
     return(SqlAdapter.Run(string.Format(_uwsql, depotObject.Weight, depotObject.TheoryWeight, depotObject.BatchNo + depotObject.BatchIndex)));
 }
Exemple #3
0
 public bool UploadDepot(DepotObject depotObject)
 {
     SqlAdapter.ConnectionString = _connstr;
     return(SqlAdapter.Run(string.Format(_isql, new object[] { depotObject.BatchNo + depotObject.BatchIndex, depotObject.Weight, depotObject.TheoryWeight, depotObject.Barcode, depotObject.Material })));
 }