90 lines
3.9 KiB
C
90 lines
3.9 KiB
C
#pragma once
|
||
|
||
// Definitions for ZiGuang OEM ...
|
||
//
|
||
//
|
||
|
||
|
||
|
||
#define OEM_NAME "\347\264\253\345\205\211\350\202\241\344\273\275\346\234\211\351\231\220\345\205\254\345\217\270"
|
||
#define OEM_SHORT_NAME "\347\264\253\345\205\211"
|
||
#define OEM_SHORT_NAME_E "zg"
|
||
#define PRODUCT_VID 0x32EC
|
||
#define PRODUCT_VENDOR "uni"
|
||
|
||
|
||
#define ADMIN_NAME "user"
|
||
#define ADMIN_PWD "uniscan"
|
||
|
||
// #define COMPANY_NAME "紫光股份有限公司"
|
||
#define COMPANY_NAME "\347\264\253\345\205\211\350\202\241\344\273\275\346\234\211\351\231\220\345\205\254\345\217\270"
|
||
// #define BRAND_APP_NAME "紫光扫描应用程序"
|
||
#define BRAND_APP_NAME "\347\264\253\345\205\211\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 "\347\264\253\345\205\211\350\202\241\344\273\275\346\234\211\351\231\220\345\205\254\345\217\270\347\211\210\346\235\203\346\211\200\346\234\211\302\2512020"
|
||
// #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.uniscan.com"
|
||
#define BRAND_URL_COMPANY_URL "http://www.unisscan.com"
|
||
#define BRAND_URL_COMPANY_URL_EN "http://www.unisscan.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 "400-700-8188"
|
||
//#define BRAND_TITLE_ADDRESS "地址"
|
||
#define BRAND_TITLE_ADDRESS "\345\234\260\345\235\200"
|
||
// #define BRAND_COMPANY_ADDRESS "北京市海淀区清华大学紫光大楼"
|
||
#define BRAND_COMPANY_ADDRESS "\345\214\227\344\272\254\345\270\202\346\265\267\346\267\200\345\214\272\346\270\205\345\215\216\345\244\247\345\255\246\347\264\253\345\205\211\345\244\247\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/dd/eNIJ"
|
||
|
||
|
||
#ifndef WIN32
|
||
|
||
#define LIBNAME "libzgdriver.so"
|
||
#define HGVERSION_LIBNANE "libZGVersion.so"
|
||
#define IMGPRC_LIBNANE "libZgImgProc.so"
|
||
#define HGBASE_LIBNAME "libZgBase.so"
|
||
|
||
#ifdef UOS
|
||
#define HELP_PATH "../../entries/help/UniScan_scanSettings_Help_manual.pdf";
|
||
#define HELP_PATH_EN ""
|
||
#elif KYLIN
|
||
#define HELP_PATH "../doc/UniScan_scanSettings_Help_manual.pdf";
|
||
#define HELP_PATH_EN ""
|
||
#endif
|
||
|
||
#else
|
||
|
||
#define HGVERSION_LIBNANE "ZGVersion.dll"
|
||
#define IMGPRC_LIBNANE "ZGImgProc.dll"
|
||
#define HGBASE_LIBNAME "ZGBase.dll"
|
||
#define HELP_PATH "UniScan_scanSettings_Help_manual.pdf"
|
||
#define HELP_PATH_EN ""
|
||
|
||
#endif
|
||
|
||
|
||
// 编译DS时,每个系列只需要编译其中一个PID即可,最好是该系列有代表性的PID
|
||
#define IS_BELONG_FAMILY_G200(pid) ((pid) == 0x200)
|
||
#define PRODUCT_NAME_ZG_200 "Uniscan Q7 Series"
|
||
#define PRODUCT_FAMILY_ZG_200 "Q7"
|
||
#define IS_BELONG_FAMILY_G210(pid) ((pid) == 0x210)
|
||
#define PRODUCT_NAME_ZG_210 "Uniscan Q1 Series"
|
||
#define PRODUCT_FAMILY_ZG_210 "Q1"
|
||
|
||
#if IS_BELONG_FAMILY_G200(PRODUCT_PID)
|
||
#define PRODUCT_NAME PRODUCT_NAME_ZG_200
|
||
#define PRODUCT_FAMILY PRODUCT_FAMILY_ZG_200
|
||
#elif IS_BELONG_FAMILY_G210(PRODUCT_PID)
|
||
#define PRODUCT_NAME PRODUCT_NAME_ZG_210
|
||
#define PRODUCT_FAMILY PRODUCT_FAMILY_ZG_210
|
||
#endif
|