DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ENastavenieHodnota.h
Go to the documentation of this file.
1 #if !defined(AFX_ENASTAVENIE_HODNOTA_H__95869285_7628_4BDF_98A6_B908709BE68F__INCLUDED_)
2 #define AFX_ENASTAVENIE_HODNOTA_H__95869285_7628_4BDF_98A6_B908709BE68F__INCLUDED_
3 
4 #include "dataio/DataIODefines.h"
5 #include "core/common/Node.h"
6 
7 namespace EM
8 {
9  namespace Strojcek
10  {
11  namespace VstupneUdaje
12  {
13  namespace TarifnySystem
14  {
15  class ENastavenieHodnotaCol;
16  class ERootTarifnySystem;
17 
21  class DATAIO_API ENastavenieHodnota : public EEMObject
22  {
23  public:
25  {
26  PlatbaHotovost = 1,
27  PlatbaMincovnik = 2,
28  PlatbaCipKarta = 3,
29  PracDniVolno = 4,
30  CudzieMeny = 5,
31  PocetPrim = 6,
32  PocetMHD = 7,
33  PokracSpoje = 8,
34  PrestupCK = 9,
35  CKinOutJL = 10,
36  CKvodic = 11,
37  CKdvojZast = 12,
38  CenoveSkupiny = 13,
39  CKinOutCL = 14,
40  AutomatEPMHD = 15,
41  PriplatokJL = 16,
42  IDS = 17,
43  Predpredaj = 18,
44  PriplatokCL = 19,
45  MinZostatokJL = 20,
46  MinZostatokCL = 21,
47  PodlaTypuKarty = 22,
48  MaxPocDniPredPla = 23,
49  MaxPocDniPoPlatn = 24,
50  PlatnPredZacPlCL = 25,
51  PlatnPoSkoncPlCL = 26,
52  PredajCLvAutobuse = 27,
53  ZlavnCKPoUkPlZl = 28,
54  MinZosPoloJL = 29,
55  MinZostPoloCL = 30,
56  AutomatKomZlava = 31,
57  AutomatCLMHD = 32,
58  AutomatMincovn = 33,
59  CasNulovaniaMincovn = 34,
60  PrihlPIN = 35,
61  PrihlKartaOperatora = 36,
62  PrihlCisloVozidla = 37,
63  /*
64  * Spravanie prihlasovania sa so stazkou (ovplyvnene aj priznakom ForceEnteringDailyIdentificationRecord):
65  * 0 - nepozaduje sa zadat cislo stazky pri otvoreni odpoctu
66  * ForceEnteringDailyIdentificationRecord - 0 - Nepozaduje sa zadanie
67  * ForceEnteringDailyIdentificationRecord - 1 - Pozaduje sa zadanie pri otvarani odpoctu
68  * ForceEnteringDailyIdentificationRecord - 2 - Pozaduje sa zadanie pri kazdom prihlaseni
69  * 1 - pozaduje sa zadat cislo stazky pri otvoreni odpoctu
70  * ForceEnteringDailyIdentificationRecord - 0 - Pozaduje sa zadanie pri otvarani odpoctu (malo by sa ale iba po uzatvoreni stazky cez prikaz v menu - aktualne nefunguje spravne)
71  * ForceEnteringDailyIdentificationRecord - 1 - Pozaduje sa zadanie pri otvarani odpoctu
72  * ForceEnteringDailyIdentificationRecord - 2 - Pozaduje sa zadanie pri kazdom prihlaseni
73  */
74  PrihlCisloStazky = 38,
75  PrihlCisloTurnusu = 39,
76  /*
77  * Spravanie storna v rezime PAL:
78  * 0 - storno zakazane
79  * 1 - moznost stornovat poslednu operaciu
80  * 2 - moznost stornovat listok do casoveho limitu, definovaneho nastavenim 41 "StornoJLMaxCas"
81  * 3 - moznost stornovat posledny listok len v priapde ze bolo zaplatene hotovostou. Ostatne operaciu su zakazane
82  * 4 - moznost stornovat listok do casoveho limitu, definovaneho nastavenim 41 "StornoJLMaxCas" a to le v pripade ze bolo zaplatene hotovostou
83  */
84  StornoJL = 40,
85  /*
86  * Cas storno operacie pre rezim PAL
87  */
88  StornoJLMaxCas = 41,
89  /*
90  * Nepouzivane nastavenie vo vozidlovej aplikacii
91  *
92  * V predpredaji pouzivane pri storne casoveho listka:
93  * 0 - storno zakazane
94  * 1,2 - umoznuje vystornovat listok so zaciatkom platnosti v buducnosti
95  * 3 - storno povolene bez obmedzenia
96  * 4 - to iste ako nastavenie 1 a 2
97  */
98  StornoCL = 42,
99  VzorHlavicky = 43,
100  VydajListNaPrechZast = 44,
101  PocJazdPrestupList = 45,
102  Kalendar = 46,
103  AutomatPrepinZast = 47,
104  ZaokruhlenieDPH = 48,
105  PovolKorekciaCasu = 49,
106  MincTrzbaDoCelkOdvod = 50,
107  PokrSpKontrNavazn = 51,
108  PokrSpSposobZadania = 52,
109  PrepadMincTypListka = 53,
110  VypocetCenyCL = 54,
111  ObdobiePlatnostiCL = 55,
112  SposobZadavaniaCL = 56,
113  RezimMHDNaPrimLinke = 57,
114  UkoncenieRezimuMHD = 58,
115  /*
116  * 0 = od nástupu
117  * 1 = od výstupu
118  */
119  TypPrestupu = 59,
120  /*
121  * 0 - Current time is obtained from system time
122  * 1 - Current time is obtained from bus stop (tariff time)
123  * 2 - 0 or 1 - which is better for passenger
124  */
125  CasPrestupuPodla = 60,
126  /*
127  * 0 - tariff system has not enabled OWT with time validity, time validity is only interchange time
128  * 1 - tariff system has enabled OWT with time validity
129  * 3 - same as setting 1, but time validity is from pricelist row. For each pricelist row is possible to set different OWT time validity
130  */
131  ZadatCasPrestPred = 61,
132  /*
133  * 0 - zakazany prestup spolucestujucich
134  * 1 - prestup spolucestujucich sa zakupuje postupne
135  * 2 - prestup spolucestujucich vzdy v jednom kroku
136  */
137  DokupPrestupListok = 62,
138  BuffrKlavPriVydajLis = 63,
139  PotvrdDokupZlavnLis = 64,
140  ZmenaCasuLZDen = 65,
141  ZmenaCasuLZMesiac = 66,
142  ZmenaCasuZLDen = 67,
143  ZmenaCasuZLMesiac = 68,
144  DefaultTarifaMHD = 69,
145  DefaultTarifaPrimest = 70,
146  MinZostNaEPPoPlatbe = 71,
147  HlasZastVzdialPrich = 72,
148  HlasZastVzdialOdchod = 73,
149  PrihlCisloPrikazu = 74,
150  PrihlCisloLinkaSpoj = 75,
151  TlacitListokJazdaCL = 76,
152  BlokSystPriNeplKarte = 77,
153  BlokCitackPriVyskLin = 78,
154  PrihlKartaPriOtvOdp = 79,
155  PlatbaBankovaKarta = 80,
156  PokrSpZobrKoncZast = 81,
157  TypInfoTabule = 82,
158  PredajZlavnCLPoPlatn = 83,
159  KontrPlatnVlastnaKa = 84,
160  KontrPlatnCudziaKar = 85,
161  AbsolPocitNaPocListk = 86,
162  AbsolPocitNaKonListk = 87,
163  FunkcKasyPoVycitDni = 88,
164  PrihlKontCisPracNaK = 89,
165  CasoveListky = 90,
166  PocetCasListNaKarte = 91,
167  MaxZostNaEPPoVklade = 92,
168  ZPKontrolPocetJazd = 93,
169  ZPKontrolovatVek = 94,
170  ZPKontrolovatKm = 95,
171  ZPPovolJazdaVSobotu = 96,
172  AutomatZP = 97,
173  /*
174  * Manuálne prepínanie zastávok:
175  * 0 - bez obmedzenia
176  * 1 - len dopredu
177  */
178  PosunZastIbaDopredu = 98,
179  PrilozCKNaNZStorno = 99,
180  CLPriznakAVarsava = 100,
181  CLPriznakBVarsava = 101,
182  ZiackaPreukazka = 102,
183  ViacnasobnyPrestup = 103,
184  DetailyNaKonListku = 104,
185  HlavZobrazVodic = 105,
186  MHDPredajCLvBus = 106,
187  MHDVypocetCenyCL = 107,
188  MHDObdobiePlatnCL = 108,
189  MHDSposobZadavCL = 109,
190  MHDZlavnCLPoPlatn = 110,
191  ZPKontrKmPocasJazdy = 111,
192  TypPrestupnehoListka = 112,
193  PrestupZhodnaZastav = 113,
194  AutomatEPPAL = 114,
195  AutomatCLPAL = 115,
196  ZaznamOMeskani = 116,
197  EPPriznPreOdvodDPH = 117,
198  AktualTSPodlaZon = 118,
199  PlatbaCKnaZahrZast = 119,
200  ZlavaOdVyskyVkladu = 120,
201  IgnorovatCL = 121,
202  VnutrListNaMedzLinke = 122,
203  TlacitListokJazdaZP = 123,
204  SystemEMcard = 124,
205  JazdaCLTyzdenJednosm = 125,
206  JazdaCLTyzdenObojsme = 126,
207  JazdaCLMesacnJednosm = 127,
208  JazdaCLMesacnObojsm = 128,
209  PlatnStudZlavyDoDen = 129,
210  PlatnStudZlavDoMesia = 130,
211  TarifaJazdaCLTJ = 131,
212  TarifaJazdaCLTO = 132,
213  TarifaJazdaCLMJ = 133,
214  TarifaJazdaCLMO = 134,
215  MaxVekZlavyDetiPrim = 135,
216  MaxVekZlavyDetiMHD = 136,
217 
218  CasovyLimitVstupuDoVydaja = 137,
219  CasovyLimitOdchoduZVydaja = 138,
220  JourneyAnotherCard = 139,
221 
222  /*
223  * 0 - not allowed
224  * 1 - allowed
225  */
226  AllowInvoicePayment = 140,
227 
228  MinBalanceForHolderSignalization = 141,
229 
230  /* 0 - max count not set (limit is not set)
231  * > 0 - actual max fellow traveller ticket count
232  * Max count is always limited by card physical limit (32 ticket - owner included)!
233  */
234  MaxFellowTravellerTicketCount = 142,
235 
236  /*
237  * 0 - cancelling is forbidden
238  * 1 - cancelling is allowed for one (the last) ticket only
239  * 2 - cancelling is allowed for any number of tickets until the maximum time for cancelling
240  */
241  CancelOneTimeTicketPresale = 143,
242 
243  /*
244  * 0 - without restrictions
245  * 1-255 - time (in minutes), for which a ticket can be cancelled
246  */
247  CancelOneTimeTicketPresaleMaxTime = 144,
248 
249  /*
250  * Ciselnikova hodnota
251  * 0 - 40 pre vozidlo a 80 pre TS predpredaj
252  * 1 - 80
253  * 2 - neobmedzeny
254  */
255  MaxNumberOfTariffsOnTariffGroup = 145,
256 
257  DefSuburbanTransportArrivalRadius = 146,
258  DefSuburbanTransportDepartRadius = 147,
259 
260  /*
261  * Setting 148 in tariff system may have value:
262  * - 0 - Issue ticket to end of actual tariff area
263  * - 1 - Issue ticket to end of actual trip
264  * - 2 - Issue by selected price list row only in urban zones
265  */
266  DestinationTicketMode = 148,
267 
268  /*
269  * Spravanie rovnake ako pri nastaveni 40 "StornoJL"
270  */
271  CancellationBehaviourInUrbanMode = 149,
272  /*
273  * Cas storno operacie pre rezim MHD
274  */
275  TimeToCanellationInUrbanMode = 150,
276 
277  /*
278  * Determines the number of days before card validity expiration warning.
279  */
280  DaysBeforeCardExpirationWarning = 151,
281 
282  /*
283  * 0 - disabled
284  * 1 - enabled
285  */
286  CardValidityExtension = 152,
287  CardExpireDate = 153,
288  NumberOfCardsPerDay = 154, // from code in OnBoardComputer/src/businesslogic/ecardvalidityextender ECardValidityExtender::loadCfgXml()
289 
290  /*
291  * Determines, whether the stops that the trip passes by should be counted to the trip
292  *
293  * 0 - all bus stops of the trip
294  * 1 - only those bus stops, where the trip stops
295  */
296  StopsToCountToTripLength = 155,
297 
298  AllowCardTypeChange = 156,
299  AllowStudentCards = 157,
300 
301  /*
302  * 0 - not IDS
303  * 1 - 14 - tariff group number IDS
304  */
305  TariffSystemTypeIDS = 158,
306 
307  MinAgeSeniorDiscount = 159,
308 
309  /*
310  * 0 - do not check
311  * 1 - check
312  */
313  CheckTimeTicketOnTariffGroup = 160,
314 
315  // unused value
316  // _161 = 161,
317 
318  /*
319  * 0 - "3-3-4"
320  * 1 - "3-8"
321  * 2 - "3-8" ??? (from UML doc)
322  */
323  UIDViewFormat = 162,
324 
325  /*
326  * 0 - 255 (restriction for Zilog)
327  * 1 - 999 (restriction for Intel)
328  * 2 - ??? (from UML doc)
329  */
330  MaxTariffTicketNumber = 163,
331 
332  /*
333  * 0 - 14 (restriction for Zilog)
334  * 1 - 99 (restriction for Intel)
335  */
336  MaxTariffSystemNumber = 164,
337 
338  TariffSystemTerminalType = 165,
339 
340  /*
341  * 0 - bus stops and tickets are printed
342  * 1 - bus stops, tickets and tariff zones are printed
343  * 2 - nothing is printed
344  */
345  PrintTicketListOrTariffZones = 166,
346 
347  MinAgeForFreeTravellingUrbanMode = 167,
348 
349  /*
350  * translated from UML doc
351  */
352  ExtraFeeFor = 168,
353 
354  // from UML doc: Zlavnost CL Po Platnosti Komercnej Zlavy
355  DiscountTimeValidityEvalType = 169,
356 
357  /*
358  * 0 - Platnost doplnkovej zlavy( regionalna zlava ) sa ma porovnavat s koncom platnosti predlzovaneho/predavaneho casoveho listka
359  * 1 - Platnost doplnkovej zlavy( regionalna zlava ) sa ma porovnavat so zaciatkom platnosti predlzovaneho/predavaneho casoveho listka
360  *
361  * Popis z dev/uml: MHD_Zlav CL Po Platnosti Komercnej Zlavy
362  */
363  RegionalDiscountTimeValidityEvalT = 170,
364 
365  SurchargeCash = 171,
366 
367  /*
368  * 0 - Emtest
369  * 1 - IDOL
370  */
371  CardTypeCustomerProfile = 172,
372 
373  /*
374  * CO bez trasy - pri vystupe v systeme CICO zohladnit zmenu pasma na zastavkach na trase spoja pre vypocet ceny
375  * 0 - neprehladavat
376  * 1 - prehladavat
377  *
378  * Popis z dev/uml
379  */
380  CheckOutWithoutRoute = 173,
381 
382  /*
383  * 0 - cross transfers are forbidden
384  * 1 - cross transfers are allowed
385  */
386  AllowCrossTransfers = 174,
387 
388  /*
389  * 0 - nieje kombinovany listok, kontrolovat prvu zastavku
390  * 1 - jednoduche kombinovanie( vytvoria sa maximalne dve sekcie, pricom zlavnena sekcia bude platna na nastupnej alebo vystupnej zastavke )
391  * 2 - prehladavanie celeho useku( vytvoria sa sekcie podla CL alebo KZ, ostatne cash )
392  * 3 - nieje kombinovany listok - prehladavat prvu a poslednu zastavku
393  * 4 - nieje kombinovany listok - prehladavat cely usek
394  */
395  UseCombinedTicket = 175,
396 
397  /*
398  * Settings PlaySoundsUrbanTransport and PlaySoundsSuburbanTransport:
399  * 0 - disabled
400  * 1 - enabled
401  */
402  PlaySoundsUrbanTransport = 176,
403  PlaySoundsSuburbanTransport = 177,
404 
405  /*
406  * the same as PlatnStudZlavyDoDen and PlatnStudZlavDoMesia respectively, but for card publisher number = 104 and date 30.6.
407  */
408  StudentDiscountValidityDay = 178,
409  StudentDiscountValidityMonth = 179,
410 
411  TurningDayMulticard = 180,
412 
413  /*
414  * 0 - interchange on the same line is allowed
415  * 1 - interchange on the same line is forbidden
416  */
417  ForbidInterchangeOnTheSameLine = 181,
418 
419  /*
420  * Nastavenie 182: Kolko dni po platnosti karty je mozne CL predlzit
421  */
422  DaysAfterDiscountValiditySuburban = 182,
423 
424  DaysAfterDiscountValidityUrban = 183,
425 
426  /*
427  * 0 - do not print ticket copy
428  * 1 - ask if ticket copy should be printed
429  */
430  PrintTicketCopy = 184,
431 
432  DontPrintEarnings = 185,
433 
434  /*
435  * Setting 186: determine, how/if OWT will be written on card
436  * 0 - write everything
437  * 1 - dont write if there's no space on the card
438  * 2 - dont write fellows
439  * 3 - dont write any OneWayTicket
440  * 4 - dont write any OneWayTicket from OnboardComputer
441  */
442  WriteOneWayTicketOnCard = 186,
443 
444  /*
445  * Setting 187 determines, if delay time will be added to interchange time
446  * 0 - dont deal with delay
447  * 1 - add delay to interchange time
448  */
449  AddDelayToInterchangeTime = 187,
450 
451  ExitOnlyAtReturn = 188,
452 
453  /*
454  * 0 - do not sell surcharge
455  * 1 - sell surcharge automatically
456  * 2 - tell user to buy surcharge manually
457  */
458  SellSurchargeForTimeTickets = 189,
459 
460  /*
461  * 0=od nástupu
462  * 1=od výstupu
463  */
464  TypPrestupuPAD = 190,
465 
466  AllowRecheckinOnTheSameLineOrTrip = 191,
467 
468  /*
469  * 0 - name and surname are hidden
470  * 1 - name and surname are shown
471  *
472  * from UML doc
473  */
474  EnableNameShowing = 192,
475 
476  /*
477  * 0 - birth date is hidden
478  * 1 - birth date is shown
479  */
480  EnableBirthDateShowing = 193,
481 
482  /*
483  * 0 - Presale ( IFC ) tariff group does not exists
484  * 1 - Presale ( IFC ) tariff group exists
485  */
486  PresaleTariffGroupExists = 194,
487 
488  /*
489  * 0 - card type/subtype info is NOT shown when card is approached OR ticket is sold
490  * 1 - card type/subtype info is shown when card is approached OR ticket is sold
491  */
492  ShowCardTypeSubTypeInfoOnOBC = 195,
493 
494  /*
495  * Value for the maximum amount of EMV payment
496  */
497  MaximumAmountOfEMVPayment = 196,
498 
499  /* Not used in vehicle apps */
500  CommercialTariffGroupCount = 197,
501 
502  /*
503  * Which parameters should be entered to onboard computer after closing daily identification record.
504  * 0.bit - tachograph value
505  * 1.bit - refueled volume
506  * 2.bit - heating value
507  * 3.bit - air conditioning value
508  * 4-7.bit - currently not specified
509  */
510  DailyIdentificationRecordParameters = 198,
511 
512  /*
513  * the same as StudentDiscountValidityDay and StudentDiscountValidityMonth respectively, but applied for discount validity 31.8.
514  */
515  StudentDiscountValidityDayAlternative = 199,
516  StudentDiscountValidityMonthAlternative = 200,
517 
518  /*
519  * Setting indicates whether capping system is enabled or not
520  * 0 = capping system is not enabled
521  * 1 = capping system is enabled
522  */
523  CappingSystemEnabled = 201,
524 
525  /*
526  * Should driver confirm the vehicle condition on opening daily identification record
527  * 0 = no confirmation
528  * 1 = driver confirms if vehicle is ok or not
529  */
530  ConfirmVehicleConditionOnTakingOver = 202,
531 
532  /*
533  * Bus stop platform name can be represented by number or text.
534  * 0 - number (default)
535  * 1 - text
536  */
537  BusStopPlatformNameType = 203,
538 
539  /*
540  * Setting that enables/disables virtual bus stops skipping when calculating travelled distance.
541  * Virtual bus stop is fictive bus stop that is used only for possibility to insert zone to traveled route.
542  * In case of kilometrical price list, distances from one bus stop to another may NOT set in input data for virtual bus stops, so virtual bus stops have to be skipped (if distances are NOT set).
543  * Virtual bus stop is identified by flag EZastavka::GetTypZastavky set to value 3, virtual bus stops also have set flag ESpojZastavka::GetFlagTime set to value 3 (FlagTime::Prechadza).
544  * 0 - virtual bus stops will NOT be skipped for kilometrical distance calculation and will be used as generic bus stops (default)
545  * 1 - virtual bus stops will be skipped for kilometrical distance calculation
546  */
547  SkipVirtualBusStopsForDistanceCalculation = 204
548  };
549 
550  ENastavenieHodnota( ENastavenieHodnotaCol *owner, long hodnota, unsigned short typ );
551  virtual ~ENastavenieHodnota();
552 
553  ENastavenieHodnotaCol *GetOwner();
554 
555  long GetHodnotu();
556  unsigned short GetTypNastaveniaID();
557 
558  private:
559  class DataClass;
560  DataClass *d;
561  };
562  }
563  }
564  }
565 }
566 
567 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10