def __init__(self, f_dict): work_dir = f_dict.get('work_dir') file_protokoll = work_dir + 'protokoll_system_statistik.txt' self.oprot = prot.Protokoll(file_protokoll) self.file_system_bestand = f_dict.get('file_system_bestand') self.file_system_bestand_struktur = f_dict.get( 'file_system_bestand_struktur') self.file_statistik = f_dict.get('file_system_statistik') self.file_statistik_beschreibung = f_dict.get( 'file_system_statistik_beschreibung') self.grafik_file_statistik_anzahl = f_dict.get( 'grafik_file_statistik_anzahl') self.grafik_file_statistik_jsb = f_dict.get( 'grafik_file_statistik_jsb') self.dtype_statistik_dict = { 'von': int, 'bis': int, 'produkt': int, 'position': str, 'vsnr': int, 'histnr': int, 'name': str, 'wert': float }
def __init__(self, f_dict): work_dir = f_dict.get('work_dir') file_protokoll = work_dir + 'protokoll_system_pm_produkt.txt' self.oprot = prot.Protokoll(file_protokoll) self.file_produkt = work_dir + 'produkt.csv'
def __init__(self, f_dict): file_protokoll = f_dict.get('protokoll_file_bilanz') self.oprot = prot.Protokoll(file_protokoll) self.file_bilanz_start = f_dict.get('file_bilanz_start') text = 'Bilanz/__init__: File für Startbilanz: ' + str( self.file_bilanz_start) self.oprot.SchreibeInProtokoll(text) self.file_bilanz = f_dict.get('file_bilanz') text = 'Bilanz/__init__: File für Bilanz: ' + str(self.file_bilanz) self.oprot.SchreibeInProtokoll(text) self.dtype_dic = f_dict.get('file_bilanz_struktur') text = 'Bilanz/__init__: es wurde eine Beschreibung der Binalnztabelle angelegt: ' + str( self.dtype_dic) self.oprot.SchreibeInProtokoll(text) self.dtype_dic_start = { 'jahr': int, 'rgl': str, 'avbg': str, 'name': str, 'wert': str } text = 'Bilanz/__init__: es wurde eine Beschreibung der Start-Binalnztabelle angelegt: ' + str( self.dtype_dic_start) self.oprot.SchreibeInProtokoll(text) self.file_system_fortschreibung = f_dict.get( 'file_system_fortschreibung') self.dtype_fortschteibung = f_dict.get( 'file_system_fortschreibung_struktur') self.LegeBilanzAn()
def __init__(self, f_dict): self.oopt = opt.Optionen(f_dict.get('optionen_file_antrag')) self.oprot = prot.Protokoll(f_dict.get('protokoll_file_antrag')) self.file_system_antrag = f_dict.get('file_system_antrag') self.LegeAntrag() self.pfad = os.path.dirname(self.file_system_antrag) self.temp = self.pfad + '/temp.csv'
def __init__(self, f_dict): work_dir = f_dict.get('work_dir') file_protokoll = work_dir + 'protokoll_system_fortschreibung.txt' self.oprot = prot.Protokoll(file_protokoll) self.file_system_bestand = f_dict.get('file_system_bestand') self.file_system_fortschreibung = f_dict.get( 'file_system_fortschreibung') self.file_system_bestand_struktur_dict = f_dict.get( 'file_system_bestand_struktur') self.file_system_fortschreibung_struktur_dict = f_dict.get( 'file_system_fortschreibung_struktur') self.files_dict = f_dict self.hilfe = hs.Hilfe_System()
def __init__(self, f_dict, parent=None): super().__init__(parent) work_dir = f_dict.get('work_dir') file_protokoll = work_dir + 'protokoll_system_dialig_vertrag.txt' self.oprot = prot.Protokoll(file_protokoll) self.file_ui = work_dir + 'dialog_vertraege.ui' self.file_system_bestand = f_dict.get('file_system_bestand') self.file_system_fortschreibung = f_dict.get( 'file_system_fortschreibung') self.file_system_bestand_struktur_dict = f_dict.get( 'file_system_bestand_struktur') self.file_system_fortschreibung_struktur_dict = f_dict.get( 'file_system_fortschreibung_struktur')
def __init__(self, f_dict): file_protokoll = f_dict.get('protokoll_file_vertrieb') self.oprot = prot.Protokoll(file_protokoll) self.file_vertrieb = f_dict.get('file_vertrieb') text = 'Vertrieb/__Init__: File für die Angaben zum Neugeschäft festgelegt: ' + self.file_vertrieb self.oprot.SchreibeInProtokoll(text) self.dtype_dic = { 'nr': int, 'jahr': int, 'tkz': int, 'name': str, 'wert': str } self.LegeFileVertrieb()
def __init__(self, f_dict): work_dir = f_dict.get('work_dir') file_protokoll = work_dir + 'protokoll_kapitalanlagen.txt' self.oprot = prot.Protokoll(file_protokoll) self.file_kapitalanlagen = work_dir + 'kapitalanlagen.csv' self.file_renten_tabelle = work_dir + 'ka_renten.csv' self.file_aktien_tabelle = work_dir + 'ka_aktien.csv' self.file_sa_tabelle = work_dir + 'ka_sa.csv' self.file_bilanz = f_dict.get('file_bilanz') self.oka_renten = ka_rente.KA_Renten(f_dict) self.LegeKapitalanlagenAn() self.LegeAktienTabelleAn() self.LegeSATabelleAn()
def __init__(self, f_dict): work_dir=f_dict.get('work_dir') self.work_dir = work_dir file_protokoll=work_dir+'protokoll_ka_renten.txt' self.oprot = prot.Protokoll(file_protokoll) self.file_renten_tabelle=work_dir+'ka_renten.csv' self.LegeRentenTabelleAn() self.file_renten_sa_tabelle=work_dir+'ka_sa_renten.csv' self.LegeRentenSaTabelleAn() self.ozsk = zsk.Zinsstrukturkurve(f_dict) self.file_renten_grafik=work_dir+'grafik_renten.png' self.dtype_dic= { 'jahr':int, 'nr':int, 'von':int, 'bis':int, 'name':str, 'wert':str} self.dtype_sa_dic= { 'jahr':int, 'nr':int, 'von':int, 'bis':int, 'name':str, 'wert':str}
def __init__(self, f_dict, dic): pfad_pm=f_dict.get('work_dir_pm') vsnr=dic.get('vsnr') histnr=dic.get('histnr') gevo=dic.get('gevo') file_protokoll = str(pfad_pm) + 'protokoll_pm_' + str(vsnr) + '_' + str(histnr) + '_' + str(gevo)+'.txt' self.oprot = prot.Protokoll(file_protokoll) self.oprod = prod.Produkt(f_dict) #Produktdaten werden geholt: self.produkt={} tkz=dic.get('tkz') self.produkt['tkz']=tkz von=dic.get('von') self.produkt['von']=von self.produkt=self.oprod.LeseProduktDaten(self.produkt)
def __init__(self, f_dict): work_dir = f_dict.get('work_dir') self.work_dir = work_dir file_protokoll = work_dir + 'protokoll_zinsstrukturkurve.txt' self.oprot = prot.Protokoll(file_protokoll) self.file_zinskurve_tabelle = work_dir + 'ka_zinskurve.csv' self.file_zinskurve_start_tabelle = work_dir + 'ka_zinskurve_start.csv' self.file_zinskurve_grafik = work_dir + 'grafik_zsk.png' self.file_zsk_verschiebung_grafik = work_dir + 'grafik_zsk_verschiebung.png' self.file_zsk_infos = work_dir + 'zsk_infos.csv' self.satz_zsk_dict = {} self.startjahr_Simulation = f_dict.get('Startjahr_Simulation') self.anzahl_jahre_in_zinsstrukturkurve = 5 self.LegeZinskurveTabelleAn() self.LegeZskInfosAn() self.LeseZinskurveStart()
def __init__(self, f_dict, parent=None): super().__init__(parent) self.work_dir=f_dict.get('work_dir') self.file_aufsichtsrat=self.work_dir+'aufsichtsrat.csv' self.file_aufsichtsrat_struktur_dict={'jahr':int, 'name':str, 'wert':str} self.LegeTabelleAufsichtaratAn() file_protokoll=self.work_dir+'protokoll_aufsichtsrat.txt' self.oprot = prot.Protokoll(file_protokoll) self.file_ui=self.work_dir+'aufsichtsrat.ui' self.mindestverzinsung = 0.04 self.wobinich = 'hallo' self.meinzustand = 'gruen' self.stimmung_icon = self.SetztStimmungIcon() self.ui = uic.loadUi(self.file_ui, self) self.obil = bil.Bilanz(f_dict) self.startjahr=f_dict.get('Startjahr_Simulation')
oprot.SchreibeInProtokoll("ENDE erreicht!!!") print("**** Ende ****") app = widgets.QApplication(sys.argv) wMainwindow = uic.loadUi(files_dict.get('mainwindow_file')) wSpielwindow = uic.loadUi(files_dict.get('spielwindow_file')) wMainwindow.pushButtonSpiele.clicked.connect(Steuerung) wMainwindow.actionSpielen.triggered.connect(Steuerung) wSpielwindow.pushButton_ZSK.clicked.connect(ZeigeGrafik_ZSK) wSpielwindow.pushButton_statistik_anzahl.clicked.connect( ZeigeGrafik_Statistik_Anzahl) wSpielwindow.pushButton_Entwicklung_Renten.clicked.connect( ZeigeGrafik_Entwicklung_Renten) wSpielwindow.horizontalSlider_Renten.valueChanged.connect(AnteilImSliderRenten) LegeLaufzeitAuswahlBeiRentenFest() LegeLaufzeitAuswahlBeiProduktenFest() #Starteinstellungen zu Produkten LegeDefoultEinstellungenfest() oopt = opt.Optionen(files_dict.get('optionen_file_main')) oprot = prot.Protokoll(files_dict.get('protokoll_file_main')) wMainwindow.show() app.exec_()
def __init__(self, f_dict): self.oopt = opt.Optionen(f_dict.get('optionen_file_antrag_oe')) self.oprot = prot.Protokoll(f_dict.get('protokoll_file_antrag_oe'))