新增初始时间
This commit is contained in:
parent
3add1addfb
commit
0eda7d2ae2
|
@ -1054,6 +1054,8 @@ int scanner::init_options_id(void)
|
||||||
INIT_FIXED_IDS(DEVICE_MAC_ADDR);
|
INIT_FIXED_IDS(DEVICE_MAC_ADDR);
|
||||||
INIT_FIXED_IDS(CUSTOM_GAMMA);
|
INIT_FIXED_IDS(CUSTOM_GAMMA);
|
||||||
INIT_FIXED_IDS(MOTOR_VER);
|
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)))
|
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_VID, true);
|
||||||
SIMPLE_INT_INFO(SANE_OPT_ID_PID, true);
|
SIMPLE_INT_INFO(SANE_OPT_ID_PID, true);
|
||||||
SIMPLE_INT_INFO(SANE_OPT_ID_ROLLER_LIFE, true);
|
SIMPLE_INT_INFO(SANE_OPT_ID_ROLLER_LIFE, true);
|
||||||
|
SIMPLE_STR_INFO(SANE_OPT_ID_INITIAL_BOOT_TIME, true);
|
||||||
|
|
||||||
sn = transfer_id(sn);
|
sn = transfer_id(sn);
|
||||||
if (sn == -1)
|
if (sn == -1)
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<LibraryPath>$(LibraryPath)</LibraryPath>
|
<LibraryPath>$(LibraryPath)</LibraryPath>
|
||||||
<TargetName>huagaotwain200.ds</TargetName>
|
<TargetName>huagaotwain100.ds</TargetName>
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
<IncludePath>$(SolutionDir)..\..\sdk\include\;$(SolutionDir)..\..\sdk\include\twain\;$(IncludePath)</IncludePath>
|
<IncludePath>$(SolutionDir)..\..\sdk\include\;$(SolutionDir)..\..\sdk\include\twain\;$(IncludePath)</IncludePath>
|
||||||
<OutDir>$(SolutionDir)..\..\release\win\$(PlatformTarget)\OEM\huagao\</OutDir>
|
<OutDir>$(SolutionDir)..\..\release\win\$(PlatformTarget)\OEM\huagao\</OutDir>
|
||||||
|
|
|
@ -3529,6 +3529,7 @@ void huagao_ds::init_support_caps_ex(void)
|
||||||
GET_ONLY_CAP(CO_ADDR, std::string, Str255);
|
GET_ONLY_CAP(CO_ADDR, std::string, Str255);
|
||||||
GET_ONLY_CAP(CO_GPS, std::string, Str255);
|
GET_ONLY_CAP(CO_GPS, std::string, Str255);
|
||||||
GET_ONLY_CAP(MOTOR_VER, 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_NAME, std::string, Str255);
|
||||||
GET_ONLY_CAP(DEV_FAMILY, std::string, Str255);
|
GET_ONLY_CAP(DEV_FAMILY, std::string, Str255);
|
||||||
GET_ONLY_CAP(VID, int, Int32);
|
GET_ONLY_CAP(VID, int, Int32);
|
||||||
|
|
Loading…
Reference in New Issue