DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EZmenaPlatnostiCL.h
Go to the documentation of this file.
1 #ifndef EM_ZMENAPLATNOSTICL_H
2 #define EM_ZMENAPLATNOSTICL_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/dataoutput/ECasovyPredaj.h"
6 #include "dataio/dataoutput/EStatistikaStruct.h"
7 #include <vector>
8 
9 namespace EM
10 {
11  namespace Strojcek
12  {
13  namespace StatistikaStrojcek
14  {
16  {
17  public:
19  virtual ~EZmenaPlatnostiCL();
21 
22  EZmenaPlatnostiCL& operator=(EZmenaPlatnostiCL& listok);
23 
24  unsigned char GetTypZmeny();
25  unsigned long GetStaraPlatnostOd();
26  unsigned long GetStaraPlatnostDo();
27  std::vector<unsigned short> GetZones();
28  bool IsNetworkWide();
29  unsigned char GetZoneCount();
30  long GetOriginalPrice();
31 
32  void SetTypZmeny( unsigned char newVal );
33  void SetStaraPlatnostOd( unsigned long newVal );
34  void SetStaraPlatnostDo( unsigned long newVal );
35  void SetZones( std::vector<unsigned short> zoneList );
36  void SetNetworkWide( bool networkWide );
37  void SetOriginalPrice( long originalPrice );
38 
39  virtual short getChksum();
40  virtual bool read( REC_INFO *zaznam );
41  virtual bool write();
42 
43  bool write83();
44  bool read83();
45  bool write99();
46  bool read99();
47 
48  void FillInZMENA_PLATNOSTI_CL( ZMENA_PLATNOSTI_CL &zmenaPlatnostiCL );
49  void FillUpZMENA_PLATNOSTI_CL( ZMENA_PLATNOSTI_CL &zmenaPlatnostiCL );
50  void FillInLISTOK1( LISTOK1 &listok1 );
51  void FillUpLISTOK1( LISTOK1 &listok1 );
52  void FillInCasovyODIS( CasovyODIS &casovyODIS );
53  void FillUpCasovyODIS( CasovyODIS &casovyODIS );
54 
55  void fillInSizeAndInterCislo2();
56 
57  virtual VystupneData *SendTicket();
58  VystupneData *Send83( VystupneData *vystupnyZaznam );
59  VystupneData *Send99( VystupneData *vystupnyZaznam );
60 
61  virtual void ReceiveTicket( VystupneData *vstupneData );
62  void Receive83( VystupneData *vstupnyZaznam );
63  void Receive99( VystupneData *vstupnyZaznam );
64 
65  long typStruct();
66 
67  private:
68  class DataClass;
69  DataClass *d;
70  };
71  }
72  }
73 }
74 
75 #endif
Definition: EStatistikaStruct.h:507
Definition: EStatistikaStruct.h:617
Definition: EStatistikaStruct.h:105
Definition: ECestovnyListok.h:19
Definition: EStatistikaStruct.h:20
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
Definition: EZmenaPlatnostiCL.h:15
#define DATAIO_API
Definition: DataIODefines.h:10