DataTypesF.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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 offLineMapPath;
  58. String onLineMapPath;
  59. String imagePath;
  60. String sApiKey; // Api Key
  61. int nZoomLevel; // Init Zoom Level
  62. int nMinZoom; // Min Zoom Level
  63. int nMaxZoom; // Max Zoom Level
  64. int nFacilityZoom; // Facility init zoom level
  65. double dCenterX; // Lat
  66. double dCenterY; // Lng
  67. double dLeftTopX; // boundary
  68. double dLeftTopY; // boundary
  69. double dRightBottomX; // boundary
  70. double dRightBottomY; // boundary
  71. } ST_GISINFO;
  72. //---------------------------------------------------------------------------
  73. typedef struct
  74. {
  75. String AClassName;
  76. String AExeName;
  77. String AOption;
  78. } ST_RUNPROGRAM;
  79. #endif