private void SaveWeight(ASYCUDAValuation v, xcuda_Weight dw)
 {
     if (dw != null)
     {
         var w = new ASYCUDAValuationWeight();
         w.Gross_weight = dw.Gross_weight.ToString();
         v.Weight       = w;
     }
 }
示例#2
0
 public async Task Savexcuda_Weight(xcuda_Weight i)
 {
     if (i == null)
     {
         return;
     }
     using (var ctx = new xcuda_WeightService())
     {
         await ctx.Updatexcuda_Weight(i).ConfigureAwait(false);
     }
 }