newtx/sdk/huagao/brand_lsc.h

103 lines
4.9 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 Lanxum OEM ...
//
//
#define OEM_NAME "\345\214\227\344\272\254\347\253\213\346\200\235\350\276\260\350\256\241\347\256\227\346\234\272\346\212\200\346\234\257\346\234\211\351\231\220\345\205\254\345\217\270"
#define OEM_SHORT_NAME "\347\253\213\346\200\235\350\276\260"
#define OEM_SHORT_NAME_E "lsc"
#define PRODUCT_VID 0x31c9
#define PRODUCT_VENDOR "Lanxum"
#define ADMIN_NAME "user"
#define ADMIN_PWD "lanxum"
// #define COMPANY_NAME "北京立思辰计算机技术有限公司"
#define COMPANY_NAME "\345\214\227\344\272\254\347\253\213\346\200\235\350\276\260\350\256\241\347\256\227\346\234\272\346\212\200\346\234\257\346\234\211\351\231\220\345\205\254\345\217\270"
// #define BRAND_APP_NAME "立思辰扫描应用程序"
#define BRAND_APP_NAME "\347\253\213\346\200\235\350\276\260\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 "2010-2022 LANXUM\343\200\202\344\277\235\347\225\231\346\211\200\346\234\211\346\235\203\345\210\251"
// #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.lanxum.com"
#define BRAND_COMPANY_URL_EN "www.lanxum.com"
#define BRAND_URL_COMPANY_URL "http://www.lanxum.com"
#define BRAND_URL_COMPANY_URL_EN "http://www.lanxum.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 "+86 010 82736600"
// #define BRAND_TITLE_ADDRESS "地址"
#define BRAND_TITLE_ADDRESS "\345\234\260\345\235\200"
// #define BRAND_COMPANY_ADDRESS "中国北京市海淀区学清路8号科技财富中心B座3A层"
#define BRAND_COMPANY_ADDRESS "\344\270\255\345\233\275\345\214\227\344\272\254\345\270\202\346\265\267\346\267\200\345\214\272\345\255\246\346\270\205\350\267\2578\345\217\267\347\247\221\346\212\200\350\264\242\345\257\214\344\270\255\345\277\203B\345\272\2473A\345\261\202"
// #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/5f/Xzh"
#ifndef WIN32
#define LIBNAME "liblscdriver.so"
#define HGVERSION_LIBNANE "libLscVersion.so"
#define IMGPRC_LIBNANE "libLscImgProc.so"
#define HGBASE_LIBNAME "libLscBase.so"
#ifdef UOS
#define HELP_PATH "../../entries/help/LanxumScan_scanSettings_Help_manual.pdf"
#define HELP_PATH_EN ""
#elif KYLIN
#define HELP_PATH "../doc/LanxumScan_scanSettings_Help_manual.pdf"
#define HELP_PATH_EN ""
#endif
#else
#define HGVERSION_LIBNANE "LSCVersion.dll"
#define IMGPRC_LIBNANE "LSCImgProc.dll"
#define HGBASE_LIBNAME "LSCBase.dll"
#define HELP_PATH "LanxumScan_scanSettings_Help_manual.pdf"
#define HELP_PATH_EN ""
#endif
// 编译DS时每个系列只需要编译其中一个PID即可最好是该系列有代表性的PID
#define IS_BELONG_FAMILY_G42(pid) ((pid) == 0x8200 || (pid) == 0x8420 || (pid) == 0x8429)
#define PRODUCT_NAME_LSC_G42 "LANXUMSCAN G42S"
#define PRODUCT_FAMILY_LSC_G42 "G42S"
#define IS_BELONG_FAMILY_G52(pid) ((pid) == 0x8520 || (pid) == 0x8529)
#define PRODUCT_NAME_LSC_G52 "LANXUMSCAN G52S"
#define PRODUCT_FAMILY_LSC_G52 "G52S"
#define IS_BELONG_FAMILY_G62(pid) ((pid) == 0x8620 || (pid) == 0x8629)
#define PRODUCT_NAME_LSC_G62 "LANXUMSCAN G62S"
#define PRODUCT_FAMILY_LSC_G62 "G62S"
#define IS_BELONG_FAMILY_G73(pid) ((pid) == 0x8730 || (pid) == 0x8739)
#define PRODUCT_NAME_LSC_G73 "LANXUMSCAN G73S"
#define PRODUCT_FAMILY_LSC_G73 "G73S"
#if IS_BELONG_FAMILY_G42(PRODUCT_PID)
#define PRODUCT_NAME PRODUCT_NAME_LSC_G42
#define PRODUCT_FAMILY PRODUCT_FAMILY_LSC_G42
#elif IS_BELONG_FAMILY_G52(PRODUCT_PID)
#define PRODUCT_NAME PRODUCT_NAME_LSC_G52
#define PRODUCT_FAMILY PRODUCT_FAMILY_LSC_G52
#elif IS_BELONG_FAMILY_G62(PRODUCT_PID)
#define PRODUCT_NAME PRODUCT_NAME_LSC_G62
#define PRODUCT_FAMILY PRODUCT_FAMILY_LSC_G62
#elif IS_BELONG_FAMILY_G73(PRODUCT_PID)
#define PRODUCT_NAME PRODUCT_NAME_LSC_G73
#define PRODUCT_FAMILY PRODUCT_FAMILY_LSC_G73
#endif