class TinhGiaBeTuDong: def __init__(self): self.MayBe = MayThanhPham( 660000, 0.5, 2000, 0) #tốc độ 2000, khấu hao 5 năm tấm bỏ vô /giờ, có bù hao rồi self.ChiBe = 20000 #chỉ bế cho 1 bài def chi_phi_theo_so_luong(self, so_luong): return self.ChiBe + self.MayBe.tong_chi_phi_chay_may(so_luong) def gia_ban_theo_day_loi_nhuan(self, day_so_luong, day_loi_nhuan, so_luong, muc_loi_nhuan_them): loi_nhuan = giaTriTheoKhuc(day_so_luong, day_loi_nhuan, so_luong) ty_le_loi_nhuan = loi_nhuan / 100 if ty_le_loi_nhuan >= 1: #ngừa chia 0 ty_le_loi_nhuan = 0.99 kq1 = self.chi_phi_theo_so_luong(so_luong) + \ self.chi_phi_theo_so_luong(so_luong) * ty_le_loi_nhuan /(1 - ty_le_loi_nhuan) ty_le_loi_nhuan_them = muc_loi_nhuan_them / 100 kq2 = kq1 + kq1 * ty_le_loi_nhuan_them / (1 - ty_le_loi_nhuan_them) return kq2 def gia_ban(self, so_luong, muc_loi_nhuan): ty_le_loi_nhuan = muc_loi_nhuan / 100 kq = self.chi_phi_theo_so_luong(so_luong) + \ self.chi_phi_theo_so_luong(so_luong) + ty_le_loi_nhuan / ( 1- ty_le_loi_nhuan) return kq
class TinhKeoGayPUR: def __init__(self, phi_keo_moi_cuon): self.MayKeoGayPUR = MayThanhPham(200000, 0.5, 70, 20000) #tốc độ 70 cuốn/gời self.PhiKeoMoiCuon = phi_keo_moi_cuon def chi_phi_theo_so_luong(self, so_luong): return self.MayKeoGayPUR.tong_chi_phi_chay_may(so_luong) \ + self.PhiKeoMoiCuon * so_luong def gia_ban_theo_day_loi_nhuan(self, day_so_luong, day_loi_nhuan, so_luong, muc_loi_nhuan_them): loi_nhuan = giaTriTheoKhuc(day_so_luong, day_loi_nhuan, so_luong) ty_le_loi_nhuan = loi_nhuan / 100 if ty_le_loi_nhuan >= 1: #ngừa chia 0 ty_le_loi_nhuan = 0.99 kq1 = self.chi_phi_theo_so_luong(so_luong) / (1 - ty_le_loi_nhuan) ty_le_loi_nhuan_them = muc_loi_nhuan_them / 100 kq2 = kq1 / (1 - ty_le_loi_nhuan_them) return kq2 def gia_ban(self, so_luong, muc_loi_nhuan): ty_le_loi_nhuan = muc_loi_nhuan / 100 kq = self.chi_phi_theo_so_luong(so_luong) / (1 - ty_le_loi_nhuan) return kq
class TinhGiaBeTruyenThong: def __init__(self): self.QuetKeoDan = MayThanhPham( 30000, 0.5, 275, 0) #tốc độ 13 giây 1 bao thư 12x22, settup 0.5 hf self.TienKeoMotBai = 320000 #Tiền keo cho 1 bài def chi_phi_theo_so_luong(self, so_luong): return self.TienKeoMotBai + self.QuetKeoDan.tong_chi_phi_chay_may( so_luong) def gia_ban_theo_day_loi_nhuan(self, day_so_luong, day_loi_nhuan, so_luong, muc_loi_nhuan_them): loi_nhuan = giaTriTheoKhuc(day_so_luong, day_loi_nhuan, so_luong) ty_le_loi_nhuan = loi_nhuan / 100 if ty_le_loi_nhuan >= 1: #ngừa chia 0 ty_le_loi_nhuan = 0.99 kq1 = self.chi_phi_theo_so_luong(so_luong) + \ self.chi_phi_theo_so_luong(so_luong) * ty_le_loi_nhuan /(1 - ty_le_loi_nhuan) ty_le_loi_nhuan_them = muc_loi_nhuan_them / 100 kq2 = kq1 + kq1 * ty_le_loi_nhuan_them / (1 - ty_le_loi_nhuan_them) return kq2 def gia_ban(self, so_luong, muc_loi_nhuan): ty_le_loi_nhuan = muc_loi_nhuan / 100 kq = self.chi_phi_theo_so_luong(so_luong) + \ self.chi_phi_theo_so_luong(so_luong) + ty_le_loi_nhuan / ( 1- ty_le_loi_nhuan) return kq
class TinhGiaEpKimThuyLuc: def __init__(self): self.MayEpKim = MayThanhPham( 60000, 0.5, 720, 20000) #tốc độ 720, khấu hao 5 năm tấm bỏ vô /giờ, có bù hao rồi def chi_phi_theo_so_luong(self, so_luong): return self.MayEpKim.tong_chi_phi_chay_may(so_luong) def gia_ban_theo_day_loi_nhuan(self, day_so_luong, day_loi_nhuan, so_luong, muc_loi_nhuan_them): loi_nhuan = giaTriTheoKhuc(day_so_luong, day_loi_nhuan, so_luong) ty_le_loi_nhuan = loi_nhuan / 100 if ty_le_loi_nhuan >= 1: #ngừa chia 0 ty_le_loi_nhuan = 0.99 kq1 = self.chi_phi_theo_so_luong(so_luong) + \ self.chi_phi_theo_so_luong(so_luong) * ty_le_loi_nhuan /(1 - ty_le_loi_nhuan) ty_le_loi_nhuan_them = muc_loi_nhuan_them / 100 kq2 = kq1 + kq1 * ty_le_loi_nhuan_them / (1 - ty_le_loi_nhuan_them) return kq2 def gia_ban(self, so_luong, muc_loi_nhuan): ty_le_loi_nhuan = muc_loi_nhuan / 100 kq = self.chi_phi_theo_so_luong(so_luong) + \ self.chi_phi_theo_so_luong(so_luong) + ty_le_loi_nhuan / ( 1- ty_le_loi_nhuan) return kq
class TinhCanDigiFold: def __init__(self ): self.MayCanDigiFold = MayThanhPham(250000, 0.2, 4000, 10000) #tốc độ 3000 tờ /giờ def chi_phi_theo_so_luong(self, so_luong ): return self.MayCanDigiFold.tong_chi_phi_chay_may(so_luong) def gia_ban_theo_day_loi_nhuan(self, day_so_luong, day_loi_nhuan, so_luong, muc_loi_nhuan_them): loi_nhuan = giaTriTheoKhuc(day_so_luong, day_loi_nhuan, so_luong) ty_le_loi_nhuan = loi_nhuan / 100 if ty_le_loi_nhuan >= 1: #ngừa chia 0 ty_le_loi_nhuan = 0.99 kq1 = self.chi_phi_theo_so_luong(so_luong) /(1 - ty_le_loi_nhuan) ty_le_loi_nhuan_them = muc_loi_nhuan_them / 100 kq2 = kq1 / (1 - ty_le_loi_nhuan_them) return kq2 def gia_ban(self, so_luong, muc_loi_nhuan): ty_le_loi_nhuan = muc_loi_nhuan / 100 kq = self.chi_phi_theo_so_luong(so_luong) / ( 1- ty_le_loi_nhuan) return kq
class TinhKeoGayEva: def __init__(self ): self.MayKeoGayEva = MayThanhPham(140000, 0.3, 120, 10000) #tốc độ 120 cuốn/giờ def chi_phi_theo_so_luong(self, so_luong ): return self.MayKeoGayEva.tong_chi_phi_chay_may(so_luong) def gia_ban_theo_day_loi_nhuan(self, day_so_luong, day_loi_nhuan, so_luong, muc_loi_nhuan_them): loi_nhuan = giaTriTheoKhuc(day_so_luong, day_loi_nhuan, so_luong) ty_le_loi_nhuan = loi_nhuan / 100 if ty_le_loi_nhuan >= 1: #ngừa chia 0 ty_le_loi_nhuan = 0.99 kq1 = self.chi_phi_theo_so_luong(so_luong) /(1 - ty_le_loi_nhuan) ty_le_loi_nhuan_them = muc_loi_nhuan_them / 100 kq2 = kq1 / (1 - ty_le_loi_nhuan_them) return kq2 def gia_ban(self, so_luong, muc_loi_nhuan): ty_le_loi_nhuan = muc_loi_nhuan / 100 kq = self.chi_phi_theo_so_luong(so_luong) / ( 1- ty_le_loi_nhuan) return kq
class TinhSapCuonDeKhauChi: def __init__(self ): self.MayDuplo = MayThanhPham(190000, 0.3, 12, 0) #tốc độ 5 phút/cuốn def chi_phi_theo_so_luong(self, so_luong ): return self.MayDuplo.tong_chi_phi_chay_may(so_luong) def gia_ban_theo_day_loi_nhuan(self, day_so_luong, day_loi_nhuan, so_luong, muc_loi_nhuan_them): loi_nhuan = giaTriTheoKhuc(day_so_luong, day_loi_nhuan, so_luong) ty_le_loi_nhuan = loi_nhuan / 100 if ty_le_loi_nhuan >= 1: #ngừa chia 0 ty_le_loi_nhuan = 0.99 kq1 = self.chi_phi_theo_so_luong(so_luong) /(1 - ty_le_loi_nhuan) ty_le_loi_nhuan_them = muc_loi_nhuan_them / 100 kq2 = kq1 / (1 - ty_le_loi_nhuan_them) return kq2 def gia_ban(self, so_luong, muc_loi_nhuan): ty_le_loi_nhuan = muc_loi_nhuan / 100 kq = self.chi_phi_theo_so_luong(so_luong) / ( 1- ty_le_loi_nhuan) return kq
def __init__(self): self.QuetKeoDan = MayThanhPham( 30000, 0.5, 275, 0) #tốc độ 13 giây 1 bao thư 12x22, settup 0.5 hf self.TienKeoMotBai = 320000 #Tiền keo cho 1 bài
def __init__(self ): self.MayBe = MayThanhPham(150000, 0.5, 360, 0) #tốc độ 360 tấm bỏ vô /giờ, có bù hao rồi self.ChiBe = 20000 #chỉ bế cho 1 bài
def __init__(self): self.MayKhauChi = MayThanhPham(65000, 0.3, 8, 50000) #tốc độ 5 phút/cuốn
def __init__(self ): self.MayCanDigiFold = MayThanhPham(250000, 0.2, 4000, 10000) #tốc độ 3000 tờ /giờ
def __init__(self, phi_keo_moi_cuon): self.MayKeoGayPUR = MayThanhPham(200000, 0.5, 70, 20000) #tốc độ 70 cuốn/gời self.PhiKeoMoiCuon = phi_keo_moi_cuon
def __init__(self): self.MayBe = MayThanhPham( 660000, 0.5, 2000, 0) #tốc độ 2000, khấu hao 5 năm tấm bỏ vô /giờ, có bù hao rồi self.ChiBe = 20000 #chỉ bế cho 1 bài
def __init__(self): self.MayCanQuay = MayThanhPham(150000, 0.3, 3000, 10000) #tốc độ 3000 tờ /giờ
def __init__(self ): self.MayDuplo = MayThanhPham(190000, 0.3, 12, 0) #tốc độ 5 phút/cuốn
def __init__(self): self.MayEpKim = MayThanhPham( 60000, 0.5, 720, 20000) #tốc độ 720, khấu hao 5 năm tấm bỏ vô /giờ, có bù hao rồi
def __init__(self ): self.MayKeoGayEva = MayThanhPham(140000, 0.3, 120, 10000) #tốc độ 120 cuốn/giờ