CDSStaIncidentF.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. //---------------------------------------------------------------------------
  2. #ifndef CDSStaIncidentFH
  3. #define CDSStaIncidentFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <ADODB.hpp>
  7. #include <DB.hpp>
  8. #include "cxCustomData.hpp"
  9. #include "ITSLibF.h"
  10. #include "ITSDbF.h"
  11. //---------------------------------------------------------------------------
  12. class TItsStaIncidentInfo
  13. {
  14. public:
  15. TItsStaIncidentInfo();
  16. virtual ~TItsStaIncidentInfo();
  17. private:
  18. void Clear();
  19. };
  20. /*
  21. * StaIncident class
  22. */
  23. class TItsStaIncident
  24. {
  25. public:
  26. TItsStaIncident();
  27. virtual ~TItsStaIncident();
  28. private:
  29. public:
  30. void Clear();
  31. String FDate;
  32. int FIncid[6][4]; //전체,사고,공사,행사,기상,기타의 발생건수, 사망자수, 부상자수, 재산피해액
  33. public:
  34. TItsMap<String, TItsStaIncidentInfo*> FSubLists;
  35. };
  36. //---------------------------------------------------------------------------
  37. /*
  38. * StaIncident Manager
  39. */
  40. class TItsStaIncidentManager
  41. {
  42. public:
  43. TItsStaIncidentManager();
  44. virtual ~TItsStaIncidentManager();
  45. public:
  46. TItsMap<String, TItsStaIncident*> FLists;
  47. };
  48. //---------------------------------------------------------------------------
  49. //extern TItsStaIncidentManager *ItsStaIncidentManager;
  50. //---------------------------------------------------------------------------
  51. #endif