You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitlib.pub/MITLIB/Include/dbini.h

114 lines
4.9 KiB
C

#ifndef _DBINI
#define _DBINI
#include "FileLocation.h"
#ifdef _C_DRIVE
// database files path
#define MACHINE_DB "C:\\Machine\\Database\\MitMc.mdb"
#define JAM_DB "C:\\Machine\\Database\\MitJamInfoDB.mdb"
#define PACKAGE_DB "C:\\Machine\\Database\\MitPkg.mdb"
#define LOTINFO_DB "C:\\Machine\\Database\\MitLot.mdb"
#define LANGUAGE_DB "C:\\Machine\\Database\\MitLanguage.mdb"
#define MESSAGE_DB "C:\\Machine\\Database\\MitMessages.mdb"
#define MDBNAMEPKG "C:\\Machine\\Database\\MitPkg.mdb"
#define MDBNAMEPKGOLD "C:\\Machine\\Database\\MitPkgOld.mdb"
#define MDBNAMEMC "C:\\Machine\\Database\\MitMc.mdb"
#define MDBNAMEMCOLD "C:\\Machine\\Database\\MitMcOld.mdb"
#define MDBNAMELOT "C:\\Machine\\Database\\MitLot.mdb"
#define MDBNAMELOTOLD "C:\\Machine\\Database\\MitLotOld.mdb"
#define MDBNAMEJAM "C:\\Machine\\Database\\MitJamInfoDB.mdb"
#define MDBNAMEJAMOLD "C:\\Machine\\Database\\MitJamInfoDBOld.mdb"
#define PATHMDBBKUP "C:\\Machine\\Database\\MdbBkup\\"
// ini files path
#define RUNTIME_INI "C:\\Machine\\Ini\\RunTime.ini"
#define PATHINIBKUP "C:\\Machine\\Ini\\IniBkup\\"
#define CONFIG_INI "C:\\Machine\\Ini\\Config.ini"
#define HARDWARE_INI "C:\\Machine\\Ini\\Hardware.ini"
#define GUIDLL_INI "C:\\Machine\\Ini\\Guidll.ini"
// Data log files path
#define LOT_REPORT_PATH "C:\\Machine\\Report\\Lot_"
#define PKG_REPORT_PATH "C:\\Machine\\Report\\Pkg_"
#define MSG_REPORT_PATH "C:\\Machine\\Report\\Msg_"
#define REPORT_PATH "C:\\Machine\\Report"
#define WAFER_MAP_PATH "C:\\Machine\\Mapdata"
#define USER_WAFER_MAP_PATH "C:\\Machine\\Mapdata\\UserMap"
#define SECSGEM_DB "C:\\Machine\\Database\\MitSecsGem.mdb"
#define INDICATOR_AVI "C:\\Machine\\Graphics\\Indicator.avi"
#define MACHINE_BITMAP "C:\\Machine\\Graphics\\Machine.bmp"
#define SECSGEM_WAFER_MAPFILE_PATH "C:\\MapData\\"
#else
#define MACHINE_DB CFileLocation::instance().GetLocation(CFileLocation::MACHINE_DB_FILE)
#define JAM_DB "D:\\Machine\\Database\\MitJamInfoDB.mdb"
#define PACKAGE_DB "D:\\Machine\\Database\\MitPkg.mdb"
#define LOTINFO_DB "D:\\Machine\\Database\\MitLot.mdb"
#define LANGUAGE_DB "D:\\Machine\\Database\\MitLanguage.mdb"
#define MESSAGE_DB "D:\\Machine\\Database\\MitMessages.mdb"
#define MDBNAMEPKG "D:\\Machine\\Database\\MitPkg.mdb"
#define MDBNAMEPKGOLD "D:\\Machine\\Database\\MitPkgOld.mdb"
#define MDBNAMEMC "D:\\Machine\\Database\\MitMc.mdb"
#define MDBNAMEMCOLD "D:\\Machine\\Database\\MitMcOld.mdb"
#define MDBNAMELOT "D:\\Machine\\Database\\MitLot.mdb"
#define MDBNAMELOTOLD "D:\\Machine\\Database\\MitLotOld.mdb"
#define MDBNAMEJAM "D:\\Machine\\Database\\MitJamInfoDB.mdb"
#define MDBNAMEJAMOLD "D:\\Machine\\Database\\MitJamInfoDBOld.mdb"
#define PATHMDBBKUP "D:\\Machine\\Database\\MdbBkup\\"
// ini files path
#define RUNTIME_INI CFileLocation::instance().GetLocation(CFileLocation::RUNTIME_INI_FILE)
#define PATHINIBKUP "D:\\Machine\\Ini\\IniBkup\\"
#define CONFIG_INI CFileLocation::instance().GetLocation(CFileLocation::CONFIG_INI_FILE)
#define HARDWARE_INI CFileLocation::instance().GetLocation(CFileLocation::HARDWARE_INI_FILE)
#define CLUSTER_MAP_INI "D:\\Machine\\Ini\\Cluster.ini"
#define GUIDLL_INI CFileLocation::instance().GetLocation(CFileLocation::GUILDLL_INI_FILE)
// Data log files path
#define LOT_REPORT_PATH "D:\\Machine\\Report\\Lot_"
#define PKG_REPORT_PATH "D:\\Machine\\Report\\Pkg_"
#define MSG_REPORT_PATH "D:\\Machine\\Report\\Msg_"
#define REPORT_PATH "D:\\Machine\\Report"
#define WAFER_MAP_PATH "D:\\Machine\\Mapdata"
#define USER_WAFER_MAP_PATH "D:\\Machine\\Mapdata\\UserMap"
#define SECSGEM_DB "D:\\Machine\\Database\\MitSecsGem.mdb"
#define INDICATOR_AVI "D:\\Machine\\Graphics\\Indicator.avi"
#define MACHINE_BITMAP "D:\\Machine\\Graphics\\Machine.bmp"
#define SECSGEM_WAFER_MAPFILE_PATH "D:\\MapData\\"
#endif
#define LOT_INFO_TABLE "Lot Info"
#define LOT_MESSAGE_TABLE "Lot Message"
#define LOT_TIME_INFO_TABLE "Lot Time Info"
#define RECIPE_MANAGEMENT_TABLE "RecipeManagement"
#define END_LOT_TIME_FIELD "End Lot Time"
#define START_LOT_TIME_FIELD "Start Lot Time"
#define LOT_START_DATE_TIME "Lot Start Date Time"
#define RECIPE_NAME_KEYNAME "Recipe Name"
#define PACKAGE_NAME_KEYNAME "Package Name"
#define SEMIE10_SECTION_NAME "SEMIE10"
#define UNIT_CNT_KEYNAME "Unit Count"
#define SECGEM_RECIPE_EVENT_SECTION_NAME "SecGem Recipe Event"
#define SECGEM_CREATE_RECIPE_EVENT_KEYNAME "Create Recipe Name"
#define SECGEM_DEL_RECIPE_EVENT_KEYNAME "Delete Recipe Name"
#define SECGEM_DEL_RECIPE_EVENT_PKG_KEYNAME "Delete Recipe Package Name"
#define SECGEM_MODIFIED_RECIPE_EVENT_KEYNAME "Modified Recipe Name"
#define SECSGEM_SECTION_NAME "SECSGEM"
#endif