mirror of
https://github.com/soukoku/ntwain.git
synced 2025-04-29 06:44:16 +08:00
Moved static csv conversions to own file.
This commit is contained in:
parent
5ca9bb601c
commit
9bd155d419
1850
NTwain/TWAINWorkingGroup/CsvSerializer.cs
Normal file
1850
NTwain/TWAINWorkingGroup/CsvSerializer.cs
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -216,7 +216,7 @@ namespace NTwain
|
||||
if (State > STATE.S3)
|
||||
{
|
||||
TW_IDENTITY twidentity = default;
|
||||
if (TWAIN.CsvToIdentity(ref twidentity, _twain.GetDsIdentity()))
|
||||
if (CsvSerializer.CsvToIdentity(ref twidentity, _twain.GetDsIdentity()))
|
||||
{
|
||||
return twidentity;
|
||||
}
|
||||
@ -274,7 +274,7 @@ namespace NTwain
|
||||
if ((_twain.GetState() == STATE.S4) && (state < STATE.S4))
|
||||
{
|
||||
TW_IDENTITY twidentity = default;
|
||||
TWAIN.CsvToIdentity(ref twidentity, _twain.GetDsIdentity());
|
||||
CsvSerializer.CsvToIdentity(ref twidentity, _twain.GetDsIdentity());
|
||||
_twain.DatIdentity(DG.CONTROL, MSG.CLOSEDS, ref twidentity);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user