DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ECennik.h
Go to the documentation of this file.
1 #if !defined(AFX_ECENNIK_H__CCB17C0F_969B_4A69_A749_A38DAAE86FD4__INCLUDED_)
2 #define AFX_ECENNIK_H__CCB17C0F_969B_4A69_A749_A38DAAE86FD4__INCLUDED_
3 
4 #include "dataio/DataIODefines.h"
5 #include "core/common/Node.h"
6 #include "core/common/EDate.h"
7 
8 namespace EM
9 {
10  namespace Strojcek
11  {
12  namespace VstupneUdaje
13  {
14  namespace TarifnySystem
15  {
16  class ERootTarifnySystem;
17  class ECennikCol;
18  class ETarifnePasmoCol;
19  class EOdchylkyCol;
20  class EOdchylky;
21  class ETarifnePasmo;
22  class ECennikPlatnostCol;
23  class ETrojuholnikIntervalCol;
24  class ETrojuholnikSpecialCol;
25 
26  class DATAIO_API ECennik : public ENode
27  {
28  public:
30  {
31  Undefined = 0,
32  /*
33  * SAD Prievidza - PAD
34  * CSAD Plzen
35  * CSAD Karvina
36  * CSAD Vsetin
37  */
38  Kilometrical = 1,
39  /*
40  * DP Hradec Kralove - MHD
41  * DP Pardubice - MHD
42  * SAD Prievidza - MHD
43  * MHD Banska Bystrica
44  * DP Presov - MHD
45  */
46  TariffArea = 2,
47  /*
48  * DP Kosice - MHD
49  */
50  Time = 3,
51  Busstop = 4,
52  FixedPrices = 5,
53  WithoutParameter = 6,
54  KilometricalDriver = 7,
55  SectorTime = 8,
56  /*
57  * Povodny ODIS
58  *
59  * CSAD Trinec
60  * BID
61  */
62  ColoredZones = 9,
63  /*
64  * Nepodporovany, nepouzivany typ cennika
65  */
66  SectorDriver = 10,
67  Sector = 11,
68  DepositDiscount = 12,
69  TariffAreaList = 13,
70  BusstopSection = 14,
71  IREDO = 15,
72  /*
73  * III.B etapa projektu BID - vyuziva sa pre predaj 'hodinovych' casovych listkov
74  */
75  SectorList = 16,
76  /*
77  * IDOL MHD
78  */
79  TariffUnits = 17,
80  Deviation = 18,
81  SectorVSB = 19,
82  FixedPricesPerSector = 22,
83  /*
84  * Plzen
85  */
86  DaysNumbersAndSectors = 23,
87  /*
88  * DP Wejherovo
89  */
90  ZoneList99 = 24,
91  /*
92  * Rovnake spravanie ako IREDO. Tento cennik je podmnozina urcitej casti v IDS IREDO( konkretne IDOL MHD )
93  */
94  SectorsInterval = 25,
95  ZoneList10 = 26,
96  ZoneAmountFixedPrices = 27,
97  ColoredZonesContinuous = 28,
98 
99  PriceListCount = 29
100  };
101 
102  ECennik( ECennikCol *owner, long id, const char *nazov, long cisloMHD, unsigned char typID, unsigned char menaID );
103  virtual ~ECennik();
104 
105  public:
106  ECennikCol *GetOwner();
107  ECennikPlatnostCol *GetCennikPlatnostCol();
108 
109  ETarifnePasmoCol *GetTarifnePasmoCol( EM::Common::EDate &platnost );
110  ETarifnePasmoCol *GetTarifnePasmoCol();
111  EOdchylkyCol *GetOdchylkyCol( EM::Common::EDate &platnost );
112  EOdchylkyCol *GetOdchylkyCol();
113  ETrojuholnikIntervalCol *GetTrojuholnikIntervalCol();
114  ETrojuholnikSpecialCol *GetTrojuholnikSpecialCol();
115 
116  void SetIDS( unsigned short ids );
117 
118  long GetId();
119  char *GetNazov();
120  long GetCisloMHD();
121  unsigned char GetTypCennikaID();
122  unsigned char GetMenaID();
123  unsigned short GetIDS();
124  ECennik *GetLeft();
125  ECennik *GetRight();
126 
127  private:
128  class DataClass;
129  DataClass *d;
130  };
131  }
132  }
133  }
134 }
135 
136 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10