DataTypesF.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. //---------------------------------------------------------------------------
  2. #ifndef DataTypesFH
  3. #define DataTypesFH
  4. //---------------------------------------------------------------------------
  5. #include <vcl.h>
  6. #include <Classes.hpp>
  7. #include <windows.h>
  8. //---------------------------------------------------------------------------
  9. /*
  10. ******************************************************************************
  11. * Define enum
  12. ******************************************************************************
  13. */
  14. typedef enum
  15. {
  16. enJobNone = 0,
  17. enJobSave,
  18. enJobEdit,
  19. enJobDelete,
  20. enJobUpdate,
  21. } EN_JOB;
  22. //---------------------------------------------------------------------------
  23. typedef enum
  24. {
  25. enDbNone,
  26. enDbInsert,
  27. enDbUpdate,
  28. enDbDelete,
  29. } EN_DBMODE;
  30. //---------------------------------------------------------------------------
  31. #define DBMODE_NONE "-"
  32. #define DBMODE_INSERT "신규"
  33. #define DBMODE_UPDATE "수정"
  34. #define DBMODE_DELETE "삭제"
  35. #define DBMODE_UNKNOWN "?"
  36. //---------------------------------------------------------------------------
  37. /*
  38. ******************************************************************************
  39. * Define user structure
  40. ******************************************************************************
  41. */
  42. /*
  43. * 전자지도에서 위치정보를 관리하기 위한 구조체 정의
  44. */
  45. typedef struct
  46. {
  47. TForm *pForm;
  48. int Level;
  49. String Id;
  50. } ST_SELLINK;
  51. /*
  52. * 전자지도 정보를 저장할 구조체
  53. */
  54. typedef struct
  55. {
  56. int mapType;
  57. String mapUrl;
  58. String imagePath;
  59. String sApiKey; // Api Key
  60. int nZoomLevel; // Init Zoom Level
  61. int nMinZoom; // Min Zoom Level
  62. int nMaxZoom; // Max Zoom Level
  63. int nFacilityZoom; // Facility init zoom level
  64. double dCenterX; // Lat
  65. double dCenterY; // Lng
  66. double dLeftTopX; // boundary
  67. double dLeftTopY; // boundary
  68. double dRightBottomX; // boundary
  69. double dRightBottomY; // boundary
  70. } ST_GISINFO;
  71. //---------------------------------------------------------------------------
  72. typedef struct
  73. {
  74. String AClassName;
  75. String AExeName;
  76. String AOption;
  77. } ST_RUNPROGRAM;
  78. #endif