DataTypesF.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. #define DBMODE_NONE "-"
  15. #define DBMODE_INSERT "신규"
  16. #define DBMODE_UPDATE "수정"
  17. #define DBMODE_DELETE "삭제"
  18. #define DBMODE_UNKNOWN "?"
  19. //---------------------------------------------------------------------------
  20. /*
  21. ******************************************************************************
  22. * Define user structure
  23. ******************************************************************************
  24. */
  25. /*
  26. * 전자지도에서 위치정보를 관리하기 위한 구조체 정의
  27. */
  28. typedef struct
  29. {
  30. TForm *pForm;
  31. int Level;
  32. String Id;
  33. } ST_SELLINK;
  34. /*
  35. * 전자지도 정보를 저장할 구조체
  36. */
  37. typedef struct
  38. {
  39. int mapType;
  40. String offLineMapPath;
  41. String onLineMapPath;
  42. String imagePath;
  43. String sApiKey; // Api Key
  44. int nZoomLevel; // Init Zoom Level
  45. int nMinZoom; // Min Zoom Level
  46. int nMaxZoom; // Max Zoom Level
  47. int nFacilityZoom; // Facility init zoom level
  48. double dCenterX; // Lat
  49. double dCenterY; // Lng
  50. double dLeftTopX; // boundary
  51. double dLeftTopY; // boundary
  52. double dRightBottomX; // boundary
  53. double dRightBottomY; // boundary
  54. } ST_GISINFO;
  55. //---------------------------------------------------------------------------
  56. typedef struct
  57. {
  58. String AClassName;
  59. String AExeName;
  60. String AOption;
  61. } ST_RUNPROGRAM;
  62. #endif