DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ESetNastavenia.h
Go to the documentation of this file.
1 #if !defined ESETNASTAVENIA_H
2 #define ESETNASTAVENIA_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "core/common/Node.h"
6 #include "dataio/DataIODefines.h"
7 
8 namespace EM
9 {
10  namespace Strojcek
11  {
12  namespace VstupneUdaje
13  {
14  namespace Nastavenia
15  {
16  class ENastaveniaRoot;
17  class ESetNastaveniaCol;
18 
19  class DATAIO_API ESetNastavenia : public ENode
20  {
21  public:
22  ESetNastavenia( ESetNastaveniaCol *owner );
23  ESetNastavenia( unsigned short typNastaveniaID, long hodnota );
24  virtual ~ESetNastavenia();
25 
27  {
28  TicketTemplate1 = 1,
29  TicketTemplate2 = 2,
30  TicketTemplate3 = 3,
31  TicketTemplate4 = 4,
32  TicketTemplate5 = 5,
33  TicketTemplate6 = 6,
34  TicketTemplate7 = 7,
35  TicketTemplate8 = 8,
36  TicketTemplate9 = 9,
37  TicketTemplate10 = 10,
38  HeaderTemplate = 11,
39  SideMachine = 12,
40  Calendar = 13,
41  Turnus = 14,
42  TurnusNotes = 15,
43  BusStopGPSCoordinates = 16,
44  DriversPasswords = 17,
45  PrintTicketForBusStop = 18,
46  DOSBusStops = 19,
47  BusLineNumbersText = 20,
48  AdvanceSaleBusLines = 21,
49  TimeBefore = 22,
50  TimeAfter = 23,
51  /*
52  * 0 - short bus stop names
53  * 1 - long bus stop names for print/slave/bus table
54  * 2 - long bus stop names for print/slave/bus table, but also for driver (OBC)
55  */
56  BusStopNames = 24,
57  NewValidityInDays = 25,
58  RG_Detector = 26,
59  EMTEST_Detector = 27,
60  EMTEST_Boards = 28,
61  MOBITEC_Boards = 29,
62  BoardTexts = 30,
63  BoardBusLines = 31,
64  MachineType = 32,
65  GenerateBusValidity = 33,
66  ExportInUTF8 = 34,
67  ExportLinesFromAllBuses = 35,
68  ExportTariffSettings = 36,
69  ShowPlatformNumber = 37,
70  GenerateAllLinesAsPAL = 38,
71  MachineMode = 39,
72  ShowTicketInfoOnReader = 40,
73  TicketInfoTimeoutSeconds = 41,
74  SingleOrMultiDisplayCardInfo = 42,
75  BusLineName2 = 43,
76  /*
77  * 0 = possible to buy tickets for fellow passengers on all readers
78  * 1 = possible to buy tickets for fellow passengers on the first reader only
79  */
80  OnlyFirstReaderFellowPassengerBuy = 44,
81 
82  // 45 - unused value
83 
84  /*
85  * 0 = get daily identification number by driver number
86  * 1 = get daily identification number by vehicle ID
87  */
88  GetDailyIDRecordNumberBy = 46
89  };
90 
91  ESetNastaveniaCol *GetOwner();
92 
93  unsigned short GetTypNastaveniaID();
94  long GetHodnota();
95 
96  void SetTypNastaveniaID( unsigned short typNastaveniaID );
97  void SetHodnota( long hodnota );
98  ESetNastavenia* GetLeft();
99  ESetNastavenia* GetRight();
100 
101  protected:
102  virtual long Write( FILE *file );
103 
104  private:
105  class DataClass;
106  DataClass *d;
107  };
108  }
109  }
110  }
111 }
112 
113 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define DATAIO_API
Definition: DataIODefines.h:10