Ejemplo n.º 1
0
 public void SetDbHistory(Context.DataBoronganHistory dbitem)
 {
     dbitem.IsTambahan      = IsTambahan;
     dbitem.Tanggal         = DateTime.Now;
     dbitem.NamaBorongan    = NamaBorongan;
     dbitem.Jarak           = Jarak;
     dbitem.Customer        = CustomerName;
     dbitem.Rasio           = Rasio;
     dbitem.LiterSolar      = LiterSolar;
     dbitem.HargaSolar      = HargaSolar;
     dbitem.WaktuHariKerja  = WaktuHariKerja;
     dbitem.JumlahMakan     = JumlahMakan;
     dbitem.AreaUangMakan   = AreaUangMakan;
     dbitem.UangMakan       = UangMakan;
     dbitem.BiayaTol        = BiayaTol;
     dbitem.BobotTipsParkir = BobotTipsParkir;
     dbitem.TipsParkir      = TipsParkir;
     dbitem.BobotGaji1      = BobotGaji1;
     dbitem.gaji1           = gaji1;
     dbitem.BobotGaji2      = BobotGaji2;
     dbitem.gaji2           = gaji2;
     dbitem.TotalGaji       = TotalGaji;
     dbitem.Kapal           = Kapal;
     dbitem.BiayaKapal      = BiayaKapal;
     dbitem.BoronganDasar   = BoronganDasar;
     dbitem.Kawalan         = Kawalan;
     dbitem.Timbangan       = Timbangan;
     dbitem.Karantina       = Karantina;
     dbitem.SPSI            = SPSI;
     dbitem.MultiDrop       = MultiDrop;
     dbitem.TotalBorongan   = TotalBorongan;
     dbitem.Pembulatan      = Pembulatan;
 }
Ejemplo n.º 2
0
 public DataBorongan(Context.DataBoronganHistory dbitem)
 {
     Id              = dbitem.Id;
     Tanggal         = dbitem.Tanggal;
     IsTambahan      = dbitem.IsTambahan;
     NamaBorongan    = dbitem.NamaBorongan;
     Jarak           = dbitem.Jarak;
     CustomerName    = dbitem.Customer;
     Rasio           = dbitem.Rasio;
     LiterSolar      = dbitem.LiterSolar;
     HargaSolar      = dbitem.HargaSolar;
     WaktuHariKerja  = dbitem.WaktuHariKerja;
     JumlahMakan     = dbitem.JumlahMakan;
     AreaUangMakan   = dbitem.AreaUangMakan;
     UangMakan       = dbitem.UangMakan;
     BiayaTol        = dbitem.BiayaTol;
     BobotTipsParkir = dbitem.BobotTipsParkir;
     TipsParkir      = dbitem.TipsParkir;
     BobotGaji1      = dbitem.BobotGaji1;
     gaji1           = dbitem.gaji1;
     BobotGaji2      = dbitem.BobotGaji2;
     gaji2           = dbitem.gaji2;
     TotalGaji       = dbitem.TotalGaji;
     Kapal           = dbitem.Kapal;
     BiayaKapal      = dbitem.BiayaKapal;
     BoronganDasar   = dbitem.BoronganDasar;
     Kawalan         = dbitem.Kawalan;
     Timbangan       = dbitem.Timbangan;
     Karantina       = dbitem.Karantina;
     SPSI            = dbitem.SPSI;
     MultiDrop       = dbitem.MultiDrop;
     TotalBorongan   = dbitem.TotalBorongan;
     Pembulatan      = dbitem.Pembulatan;
 }