diff --git a/sane/scanner.cpp b/sane/scanner.cpp index f2484d8..f432c37 100644 --- a/sane/scanner.cpp +++ b/sane/scanner.cpp @@ -1054,6 +1054,8 @@ int scanner::init_options_id(void) INIT_FIXED_IDS(DEVICE_MAC_ADDR); INIT_FIXED_IDS(CUSTOM_GAMMA); INIT_FIXED_IDS(MOTOR_VER); + INIT_FIXED_IDS(INITIAL_BOOT_TIME); + while ((desc = hg_sane_middleware::instance()->get_option_descriptor(handle_, (const void*)op_id))) { @@ -2819,6 +2821,7 @@ COM_API_IMPLEMENT(scanner, bool, get_option_info(int sn, value_type* type, value SIMPLE_INT_INFO(SANE_OPT_ID_VID, true); SIMPLE_INT_INFO(SANE_OPT_ID_PID, true); SIMPLE_INT_INFO(SANE_OPT_ID_ROLLER_LIFE, true); + SIMPLE_STR_INFO(SANE_OPT_ID_INITIAL_BOOT_TIME, true); sn = transfer_id(sn); if (sn == -1) diff --git a/twain/twain.vcxproj b/twain/twain.vcxproj index f3ae8af..84177ec 100644 --- a/twain/twain.vcxproj +++ b/twain/twain.vcxproj @@ -82,7 +82,7 @@ $(LibraryPath) - huagaotwain200.ds + huagaotwain100.ds true $(SolutionDir)..\..\sdk\include\;$(SolutionDir)..\..\sdk\include\twain\;$(IncludePath) $(SolutionDir)..\..\release\win\$(PlatformTarget)\OEM\huagao\ diff --git a/twain/twain/huagaods.cpp b/twain/twain/huagaods.cpp index 2609328..636cdd8 100644 --- a/twain/twain/huagaods.cpp +++ b/twain/twain/huagaods.cpp @@ -3529,6 +3529,7 @@ void huagao_ds::init_support_caps_ex(void) GET_ONLY_CAP(CO_ADDR, std::string, Str255); GET_ONLY_CAP(CO_GPS, std::string, Str255); GET_ONLY_CAP(MOTOR_VER, std::string, Str255); + GET_ONLY_CAP(INITIAL_BOOT_TIME, std::string, Str255); GET_ONLY_CAP(DEV_NAME, std::string, Str255); GET_ONLY_CAP(DEV_FAMILY, std::string, Str255); GET_ONLY_CAP(VID, int, Int32);