newtx/sdk/huagao/brand_zj.h

90 lines
4.1 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
// Definitions for ZhongJing OEM ...
//
//
#define OEM_NAME "\344\270\212\346\265\267\344\270\255\346\231\266\347\247\221\346\212\200\346\234\211\351\231\220\345\205\254\345\217\270"
#define OEM_SHORT_NAME "\344\270\255\346\231\266"
#define OEM_SHORT_NAME_E "zj"
#define PRODUCT_VID 0x05DA
#define PRODUCT_VENDOR "Microtek"
#define ADMIN_NAME "user"
#define ADMIN_PWD "microtek"
// #define COMPANY_NAME "上海中晶科技有限公司"
#define COMPANY_NAME "\344\270\212\346\265\267\344\270\255\346\231\266\347\247\221\346\212\200\346\234\211\351\231\220\345\205\254\345\217\270"
// #define BRAND_APP_NAME "中晶扫描应用程序"
#define BRAND_APP_NAME "\344\270\255\346\231\266\346\211\253\346\217\217\345\272\224\347\224\250\347\250\213\345\272\217"
// #define BRAND_TITLE_VERSION "版本"
#define BRAND_TITLE_VERSION "\347\211\210\346\234\254"
// #define BRAND_TITLE_COPYRIGHT "版权"
#define BRAND_TITLE_COPYRIGHT "\347\211\210\346\235\203"
#define BRAND_COPYRIGHT "2022 MICROTEK\343\200\202\344\277\235\347\225\231\346\211\200\346\234\211\347\211\210\346\235\203"
// #define BRAND_TITE_MANUFACTOR "制造商/开发商"
#define BRAND_TITE_MANUFACTOR "\345\210\266\351\200\240\345\225\206/\345\274\200\345\217\221\345\225\206"
// #define BRAND_TITLE_URL "公司网址"
#define BRAND_TITLE_URL "\345\205\254\345\217\270\347\275\221\345\235\200"
#define BRAND_COMPANY_URL "www.microtek.com.cn"
#define BRAND_COMPANY_URL_EN "www.microtek.com"
#define BRAND_URL_COMPANY_URL "http://www.microtek.com.cn"
#define BRAND_URL_COMPANY_URL_EN "http://www.microtek.com"
//#define BRAND_TITLE_TEL "联系电话"
#define BRAND_TITLE_TEL "\350\201\224\347\263\273\347\224\265\350\257\235"
#define BRAND_COMPANY_TEL "886-3-5772155"
//#define BRAND_TITLE_ADDRESS "地址"
#define BRAND_TITLE_ADDRESS "\345\234\260\345\235\200"
// #define BRAND_COMPANY_ADDRESS "上海市徐汇区桂平路680号35号楼"
#define BRAND_COMPANY_ADDRESS "\344\270\212\346\265\267\345\270\202\345\276\220\346\261\207\345\214\272\346\241\202\345\271\263\350\267\257680\345\217\26735\345\217\267\346\245\274"
//#define BRAND_TITLE_GPS "导航地址"
#define BRAND_TITLE_GPS ""//"\345\257\274\350\210\252\345\234\260\345\235\200"
//#define BRAND_COMPANY_GPS "百度地图访问"
#define BRAND_COMPANY_GPS ""//"\347\231\276\345\272\246\345\234\260\345\233\276\350\256\277\351\227\256"
#define BRAND_URL_GPS ""//"https://j.map.baidu.com/67/BWSu"
#ifndef WIN32
#define LIBNAME "libzjdriver.so"
#define HGVERSION_LIBNANE "libZjVersion.so"
#define IMGPRC_LIBNANE "libZjImgProc.so"
#define HGBASE_LIBNAME "libZjBase.so"
#ifdef UOS
#define HELP_PATH "../../entries/help/MicrotekScan_scanSettings_Help_manual.pdf"
#define HELP_PATH_EN "../../entries/help/MicrotekScan_scanSettings_Help_manual_EN.pdf"
#elif KYLIN
#define HELP_PATH "../doc/MicrotekScan_scanSettings_Help_manual.pdf"
#define HELP_PATH_EN "../doc/MicrotekScan_scanSettings_Help_manual_EN.pdf"
#endif
#else
#define HGVERSION_LIBNANE "ZJVersion.dll"
#define IMGPRC_LIBNANE "ZJImgProc.dll"
#define HGBASE_LIBNAME "ZJBase.dll"
#define HELP_PATH "MicrotekScan_scanSettings_Help_manual.pdf"
#define HELP_PATH_EN "MicrotekScan_scanSettings_Help_manual_EN.pdf"
#endif
// 编译DS时每个系列只需要编译其中一个PID即可最好是该系列有代表性的PID
#define IS_BELONG_FAMILY_G9200(pid) ((pid) == 0x9220)
#define PRODUCT_NAME_ZJ_9200 "Microtek A3HG Scanner"
#define PRODUCT_FAMILY_ZJ_9200 "S6500"
#define IS_BELONG_FAMILY_OTHER(pid) ((pid) != 0x9220)
#define PRODUCT_NAME_ZJ_OTHER "Microtek"
#define PRODUCT_FAMILY_ZJ_OTHER "General"
#if IS_BELONG_FAMILY_G9200(PRODUCT_PID)
#define PRODUCT_NAME PRODUCT_NAME_ZJ_9200
#define PRODUCT_FAMILY PRODUCT_FAMILY_ZJ_9200
#else
#define PRODUCT_NAME PRODUCT_NAME_ZJ_OTHER
#define PRODUCT_FAMILY PRODUCT_FAMILY_ZJ_OTHER
#endif