1 #ifndef _VYPOCET_CENY_H_
2 #define _VYPOCET_CENY_H_
4 #include "dataio/DataIODefines.h"
5 #include "dataio/datainput/EVypocetCenyStruct.h"
6 #include "dataio/datainput/LibEDataIO.h"
9 #include "core/common/eplatform.h"
18 namespace VstupneUdaje
20 namespace TarifnySystem
22 class EVlastnostTarifyHodnotaCol;
36 std::vector<int> Zony;
39 void SetAplikacia(
unsigned long application );
40 unsigned long GetAplikacia();
42 void AddPasmo(
int pasmo );
43 std::vector<int> GetPasma();
58 class ComputingBywayBusStopData
75 chybaLinkaNeexistuje = 1,
76 chybaTarifaNeexistuje = 2,
77 chybaCennikNeexistuje = 3,
78 chybaLinkaNemaNastZast = 4,
79 chybaLinkaNemaVystZast = 5,
80 chybaTarPasmoNeexistuje = 6,
81 chybaTarPasmoVzdialenostNeexistuje = 7,
82 chybaTarPasmoKmManualNeexistuje = 8,
83 chybaTarSkupinaNeexisuje = 9,
84 chybaTypKarty_TypZlavyNeexistuje = 10,
85 chybaTarifaPodlaZlavyNeexistuje = 11,
86 chybaNastZastJeZaVystZast = 13,
87 chybaNeplatnaTarifaVDni = 14,
88 chybaCenaNaPasmeNeexituje = 15,
100 enumChyby VypocitajCenu(
_VSTUPNA_STRUKTURA* vstupy,
long &cena, EHead *&ListkyTarifaKm,
double *cenaReal = NULL );
102 short GetCurrentTarifnaSkupina();
104 bool GetValidZones(
_VSTUPNA_STRUKTURA *vstupy,
OUT std::vector<unsigned short> &outValidZones,
OUT bool &isNetworkWide );
106 void SetGetChybu( enumChyby chyba);
116 int GetPrvyPokracujuciSpojIdx();
118 long GetPocetSpojov();
119 bool PorovnajTypStlpca(
unsigned short typStlpca,
unsigned char paymentType,
unsigned char PracDen,
unsigned char SoNe,
unsigned char nocna,
unsigned char spicka,
unsigned char den );
120 long CalculateAdjustedBywayBusStops(
ComputingBywayBusStopData computingBywayBusStopData,
long &adjustedCheckinBusStopLineOrder,
long &adjustedCheckoutBusStopLineOrder,
bool &isSectionValid,
BywayType useBywayType );
Definition: ETarifnePasmo.h:24
Definition: ERootDataIO.h:40
long realCheckInBusStopLineOrder
Definition: EVypocetCeny.h:63
Definition: EVypocetCeny.h:69
long realCheckOutBusStopLineOrder
Definition: EVypocetCeny.h:64
Definition: EVypocetCeny.h:54
long sectionCheckOutLineOrder
Definition: EVypocetCeny.h:66
Definition: EVypocetCeny.h:29
BywayType
Definition: EVypocetCeny.h:51
long tripNumber
Definition: EVypocetCeny.h:62
enumChyby
Definition: EVypocetCeny.h:72
Definition: EVypocetCenyStruct.h:183
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
Definition: EVypocetCeny.h:53
Definition: EVypocetCenyStruct.h:53
long lineNumber
Definition: EVypocetCeny.h:61
Definition: EVypocetCeny.h:58
long sectionCheckInLineOrder
Definition: EVypocetCeny.h:65
#define DATAIO_API
Definition: DataIODefines.h:10
Definition: EVypocetCeny.h:55