shtrih-m / fr_drv_ng_examples

Примеры использования https://github.com/shtrih-m/fr_drv_ng
10 stars 2 forks source link

СмартПОС тэг 1191 #23

Closed DanshiMeister closed 3 years ago

DanshiMeister commented 4 years ago

Не получается отправить тэг 1191 [classic_interface_0x8d7b8640 ] [T] Set_TagNumber(1191) [classic_interface_0x8d7b8640 ] [T] Set_TagNumber() ok [classic_interface_0x8d7b8640 ] [T] Set_TagType(7) [classic_interface_0x8d7b8640 ] [T] Set_TagType() ok [classic_interface_0x8d7b8640 ] [T] Set_TagValueStr(mdlp) [classic_interface_0x8d7b8640 ] [T] Set_TagValueStr() ok [classic_interface_0x8d7b8640 ] [T] FNSendTagOperation() [TcpSocketIO_0xa2989bb0 ] [D] -> 8F 10 00 0E 00 FF 4D 1E 00 00 00 A7 04 04 00 6D 64 6C 70 C5 7D [TcpSocketIO_0xa2989bb0 ] [D] <- 8F [TcpSocketIO_0xa2989bb0 ] [D] <- 05 00 0E 00 FF 4D 33 02 F5 [ProtocolV2_0x8eaf60c0 ] [D] command FF4D return code: 51 execution took 26ms [ProtocolV2_0x8eaf60c0 ] [E] Incorrect command parameters

если пробовать то же самое через Тест драйвера то выдает ошибку (0) ККТ: Некорректные параметры в команде <0x0033001E: тег не может быть отправлен в предмет расчета (тег 1059)>

с обычными ФР всё работает.

swex commented 4 years ago

нужен полный лог, кроме того обратите внимание на этот комментарий в примерах.

DanshiMeister commented 4 years ago

[classic_interface_0x906417c0 ] [T] Set_Password(30) [classic_interface_0x906417c0 ] [T] Set_Password() ok [classic_interface_0x906417c0 ] [T] Set_ConnectionURI(tcp://127.0.0.1:12345?timeout=30000&protocol=v2) [isConnectUriValid ] [I] io_url looks good [classic_interface_0x906417c0 ] [T] Set_ConnectionURI() ok [classic_interface_0x906417c0 ] [T] Connect() [getIoFromString ] [I] io_url looks good: tcp://127.0.0.1:12345?timeout=30000&protocol=v2 [getIoFromString ] [I] type: tcp [getIoFromString ] [I] path: 127.0.0.1 [getProtocolFromString ] [I] protocol v2 [getTimeout ] [I] timeout: 30000 [ProtocolV2_0x90484180 ] [I] setTimeout(30000ms) [ProtocolV2_0x90484180 ] [I] timeout: 30000 [TcpSocketIO_0x9dff2df0 ] [I] IO timeout = 30000ms [TcpSocketIO_0x9dff2df0 ] [I] open() true [TcpSocketIO_0x9dff2df0 ] [D] -> 8F 00 00 0F 1D [TcpSocketIO_0x9dff2df0 ] [D] <- 8F [TcpSocketIO_0x9dff2df0 ] [D] <- 02 00 01 00 99 5A [ProtocolV2_0x90484180 ] [D] command 0 return code: 0 execution took 12ms [ProtocolV2_0x90484180 ] [D] commands total: 1, succeed: 1, failed: 0, avg. exec time: 12ms [ProtocolV2_0x90484180 ] [I] connect() true [TcpSocketIO_0x9dff2df0 ] [D] -> 8F 03 00 02 00 FC 2D BF [TcpSocketIO_0x9dff2df0 ] [D] <- 8F [TcpSocketIO_0x9dff2df0 ] [D] <- 1A 00 02 00 FC 00 00 00 02 00 2D 00 D8 D2 D0 C8 D5 2D D1 CC C0 D0 D2 CF CE D1 2D D4 9D F1 [ProtocolV2_0x90484180 ] [D] command FC return code: 0 execution took 3ms [ProtocolV2_0x90484180 ] [D] commands total: 2, succeed: 2, failed: 0, avg. exec time: 8ms [TcpSocketIO_0x9dff2df0 ] [D] -> 8F 07 00 03 00 11 1E 00 00 00 AD 66 [TcpSocketIO_0x9dff2df0 ] [D] <- 8F [TcpSocketIO_0x9dff2df0 ] [D] <- 34 00 03 00 11 00 1E 43 32 49 8E 1C 02 14 01 2C 00 90 00 02 00 80 4E 41 00 00 01 01 10 0C 07 14 13 0D 0D 00 BF 00 00 00 19 00 00 00 00 00 0C FC 6E D2 01 00 00 00 2A F3 [ProtocolV2_0x90484180 ] [D] command 11 return code: 0 execution took 13ms [ProtocolV2_0x90484180 ] [D] commands total: 3, succeed: 3, failed: 0, avg. exec time: 9ms [classic_interface_0x906417c0 ] [I] model: 45 [classic_interface_0x906417c0 ] [I] desciption: ШТРИХ-СМАРТПОС-Ф [classic_interface_0x906417c0 ] [I] fw_date: 2020-02-28T00:00:00 [classic_interface_0x906417c0 ] [T] Connect() ok [classic_interface_0x906417c0 ] [T] Set_CheckType(0) [classic_interface_0x906417c0 ] [T] Set_CheckType() ok [classic_interface_0x906417c0 ] [T] OpenCheck() [TcpSocketIO_0x9dff2df0 ] [D] -> 8F 08 00 04 00 8D 1E 00 00 00 00 8E F5 [TcpSocketIO_0x9dff2df0 ] [D] <- 8F [TcpSocketIO_0x9dff2df0 ] [D] <- 05 00 04 00 8D 00 1E 9B 8B [ProtocolV2_0x90484180 ] [D] command 8D return code: 0 execution took 215ms [ProtocolV2_0x90484180 ] [D] commands total: 4, succeed: 4, failed: 0, avg. exec time: 61ms [classic_interface_0x906417c0 ] [T] OpenCheck() ok [classic_interface_0x906417c0 ] [T] Get_ErrorCode() [classic_interface_0x906417c0 ] [T] Get_ErrorCode() -> 0 [classic_interface_0x906417c0 ] [T] Disconnect() [ProtocolV2_0x90484180 ] [I] disconnect() [TcpSocketIO_0x9dff2df0 ] [I] close() [classic_interface_0x906417c0 ] [T] Disconnect() ok [classic_interface_0x906585c0 ] [T] Set_Password(30) [classic_interface_0x906585c0 ] [T] Set_Password() ok [classic_interface_0x906585c0 ] [T] Set_ConnectionURI(tcp://127.0.0.1:12345?timeout=30000&protocol=v2) [isConnectUriValid ] [I] io_url looks good [classic_interface_0x906585c0 ] [T] Set_ConnectionURI() ok [classic_interface_0x906585c0 ] [T] Connect() [getIoFromString ] [I] io_url looks good: tcp://127.0.0.1:12345?timeout=30000&protocol=v2 [getIoFromString ] [I] type: tcp [getIoFromString ] [I] path: 127.0.0.1 [getProtocolFromString ] [I] protocol v2 [getTimeout ] [I] timeout: 30000 [ProtocolV2_0x90484220 ] [I] setTimeout(30000ms) [ProtocolV2_0x90484220 ] [I] timeout: 30000 [TcpSocketIO_0x9dff2ed0 ] [I] IO timeout = 30000ms [TcpSocketIO_0x9dff2ed0 ] [I] open() true [TcpSocketIO_0x9dff2ed0 ] [D] -> 8F 00 00 0F 1D [TcpSocketIO_0x9dff2ed0 ] [D] <- 8F [TcpSocketIO_0x9dff2ed0 ] [D] <- 02 00 01 00 99 5A [ProtocolV2_0x90484220 ] [D] command 0 return code: 0 execution took 13ms [ProtocolV2_0x90484220 ] [D] commands total: 1, succeed: 1, failed: 0, avg. exec time: 13ms [ProtocolV2_0x90484220 ] [I] connect() true [TcpSocketIO_0x9dff2ed0 ] [D] -> 8F 03 00 02 00 FC 2D BF [TcpSocketIO_0x9dff2ed0 ] [D] <- 8F [TcpSocketIO_0x9dff2ed0 ] [D] <- 1A 00 02 00 FC 00 00 00 02 00 2D 00 D8 D2 D0 C8 D5 2D D1 CC C0 D0 D2 CF CE D1 2D D4 9D F1 [ProtocolV2_0x90484220 ] [D] command FC return code: 0 execution took 0ms [ProtocolV2_0x90484220 ] [D] commands total: 2, succeed: 2, failed: 0, avg. exec time: 7ms [TcpSocketIO_0x9dff2ed0 ] [D] -> 8F 07 00 03 00 11 1E 00 00 00 AD 66 [TcpSocketIO_0x9dff2ed0 ] [D] <- 8F [TcpSocketIO_0x9dff2ed0 ] [D] <- 34 00 03 00 11 00 1E 43 32 49 8E 1C 02 14 01 2C 00 90 00 08 00 80 4E 41 00 00 01 01 10 0C 07 14 13 0D 0D 00 BF 00 00 00 19 00 00 00 00 00 0C FC 6E D2 01 00 00 00 8B 34 [ProtocolV2_0x90484220 ] [D] command 11 return code: 0 execution took 8ms [ProtocolV2_0x90484220 ] [D] commands total: 3, succeed: 3, failed: 0, avg. exec time: 7ms [classic_interface_0x906585c0 ] [I] model: 45 [classic_interface_0x906585c0 ] [I] desciption: ШТРИХ-СМАРТПОС-Ф [classic_interface_0x906585c0 ] [I] fw_date: 2020-02-28T00:00:00 [classic_interface_0x906585c0 ] [T] Connect() ok [classic_interface_0x906585c0 ] [T] Set_TagNumber(1203) [classic_interface_0x906585c0 ] [T] Set_TagNumber() ok [classic_interface_0x906585c0 ] [T] Set_TagType(7) [classic_interface_0x906585c0 ] [T] Set_TagType() ok [classic_interface_0x906585c0 ] [T] Set_TagValueStr(000000000000) [classic_interface_0x906585c0 ] [T] Set_TagValueStr() ok [classic_interface_0x906585c0 ] [T] FNSendTag() [TcpSocketIO_0x9dff2ed0 ] [D] -> 8F 18 00 04 00 FF 0C 1E 00 00 00 B3 04 0C 00 30 30 30 30 30 30 30 30 30 30 30 30 5F 9D [TcpSocketIO_0x9dff2ed0 ] [D] <- 8F [TcpSocketIO_0x9dff2ed0 ] [D] <- 05 00 04 00 FF 0C 00 61 8B [ProtocolV2_0x90484220 ] [D] command FF0C return code: 0 execution took 14ms [ProtocolV2_0x90484220 ] [D] commands total: 4, succeed: 4, failed: 0, avg. exec time: 9ms [classic_interface_0x906585c0 ] [T] FNSendTag() ok [ProtocolV2_0x90484220 ] [I] disconnect() [TcpSocketIO_0x9dff2ed0 ] [I] close() [classic_interface_0x906585c0 ] [T] Disconnect() ok [classic_interface_0x906618c0 ] [T] Set_Password(30) [classic_interface_0x906618c0 ] [T] Set_Password() ok [classic_interface_0x906618c0 ] [T] Set_ConnectionURI(tcp://127.0.0.1:12345?timeout=30000&protocol=v2) [isConnectUriValid ] [I] io_url looks good [classic_interface_0x906618c0 ] [T] Set_ConnectionURI() ok [classic_interface_0x906618c0 ] [T] Connect() [getIoFromString ] [I] io_url looks good: tcp://127.0.0.1:12345?timeout=30000&protocol=v2 [getIoFromString ] [I] type: tcp [getIoFromString ] [I] path: 127.0.0.1 [getProtocolFromString ] [I] protocol v2 [getTimeout ] [I] timeout: 30000 [ProtocolV2_0x90484400 ] [I] setTimeout(30000ms) [ProtocolV2_0x90484400 ] [I] timeout: 30000 [TcpSocketIO_0x9dff3720 ] [I] IO timeout = 30000ms [TcpSocketIO_0x9dff3720 ] [I] open() true [TcpSocketIO_0x9dff3720 ] [D] -> 8F 00 00 0F 1D [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 02 00 01 00 99 5A [ProtocolV2_0x90484400 ] [D] command 0 return code: 0 execution took 8ms [ProtocolV2_0x90484400 ] [D] commands total: 1, succeed: 1, failed: 0, avg. exec time: 8ms [ProtocolV2_0x90484400 ] [I] connect() true [TcpSocketIO_0x9dff3720 ] [D] -> 8F 03 00 02 00 FC 2D BF [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 1A 00 02 00 FC 00 00 00 02 00 2D 00 D8 D2 D0 C8 D5 2D D1 CC C0 D0 D2 CF CE D1 2D D4 9D F1 [ProtocolV2_0x90484400 ] [D] command FC return code: 0 execution took 1ms [ProtocolV2_0x90484400 ] [D] commands total: 2, succeed: 2, failed: 0, avg. exec time: 5ms [TcpSocketIO_0x9dff3720 ] [D] -> 8F 07 00 03 00 11 1E 00 00 00 AD 66 [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 34 00 03 00 11 00 1E 43 32 49 8E 1C 02 14 01 2C 00 90 00 08 00 80 4E 41 00 00 01 01 10 0C 07 14 13 0D 0D 00 BF 00 00 00 19 00 00 00 00 00 0C FC 6E D2 01 00 00 00 8B 34 [ProtocolV2_0x90484400 ] [D] command 11 return code: 0 execution took 5ms [ProtocolV2_0x90484400 ] [D] commands total: 3, succeed: 3, failed: 0, avg. exec time: 5ms [classic_interface_0x906618c0 ] [I] model: 45 [classic_interface_0x906618c0 ] [I] desciption: ШТРИХ-СМАРТПОС-Ф [classic_interface_0x906618c0 ] [I] fw_date: 2020-02-28T00:00:00 [classic_interface_0x906618c0 ] [T] Connect() ok [classic_interface_0x906618c0 ] [T] Set_CheckType(1) [classic_interface_0x906618c0 ] [T] Set_CheckType() ok [classic_interface_0x906618c0 ] [T] Set_Quantity(1) [classic_interface_0x906618c0 ] [T] Set_Quantity() ok [classic_interface_0x906618c0 ] [T] Set_Price(3000) [classic_interface_0x906618c0 ] [T] Set_Price() ok [classic_interface_0x906618c0 ] [T] Set_Tax1(0) [classic_interface_0x906618c0 ] [T] Set_Tax1() ok [classic_interface_0x906618c0 ] [T] Set_Summ1Enabled(false) [classic_interface_0x906618c0 ] [T] Set_Summ1Enabled() ok [classic_interface_0x906618c0 ] [T] Set_TaxValue1Enabled(false) [classic_interface_0x906618c0 ] [T] Set_TaxValue1Enabled() ok [classic_interface_0x906618c0 ] [T] Set_Department(1) [classic_interface_0x906618c0 ] [T] Set_Department() ok [classic_interface_0x906618c0 ] [T] Set_PaymentTypeSign(4) [classic_interface_0x906618c0 ] [T] Set_PaymentTypeSign() ok [classic_interface_0x906618c0 ] [T] Set_PaymentItemSign(1) [classic_interface_0x906618c0 ] [T] Set_PaymentItemSign() ok [classic_interface_0x906618c0 ] [T] Set_StringForPrinting(ВАЛЕРИАНА П 0.2 ДРЖ №50 ФЛ) [classic_interface_0x906618c0 ] [T] Set_StringForPrinting() ok [classic_interface_0x906618c0 ] [T] Set_ModelParamNumber(23) [classic_interface_0x906618c0 ] [T] Set_ModelParamNumber() ok [classic_interface_0x906618c0 ] [T] ReadModelParamValue() [TcpSocketIO_0x9dff3720 ] [D] -> 8F 03 00 04 00 FC 8D 0D [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 1A 00 04 00 FC 00 00 00 02 00 2D 00 D8 D2 D0 C8 D5 2D D1 CC C0 D0 D2 CF CE D1 2D D4 B8 28 [ProtocolV2_0x90484400 ] [D] command FC return code: 0 execution took 1ms [ProtocolV2_0x90484400 ] [D] commands total: 4, succeed: 4, failed: 0, avg. exec time: 4ms [TcpSocketIO_0x9dff3720 ] [D] -> 8F 04 00 05 00 F7 01 83 2E [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 29 00 05 00 F7 00 08 00 C0 F7 3F 28 02 00 00 00 01 0C 0A 00 00 00 00 00 00 1E 00 00 00 00 06 AF 05 28 00 00 00 0D 0E 10 0A 1D 11 82 80 [ProtocolV2_0x90484400 ] [D] command F7 return code: 0 execution took 3ms [ProtocolV2_0x90484400 ] [D] commands total: 5, succeed: 5, failed: 0, avg. exec time: 4ms [TcpSocketIO_0x9dff3720 ] [D] -> 8F 07 00 06 00 11 1E 00 00 00 0A 1F [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 34 00 06 00 11 00 1E 43 32 49 8E 1C 02 14 01 2C 00 90 00 08 00 80 4E 41 00 00 01 01 10 0C 07 14 13 0D 0D 00 BF 00 00 00 19 00 00 00 00 00 0C FC 6E D2 01 00 00 00 EA B2 [ProtocolV2_0x90484400 ] [D] command 11 return code: 0 execution took 4ms [ProtocolV2_0x90484400 ] [D] commands total: 6, succeed: 6, failed: 0, avg. exec time: 4ms [TcpSocketIO_0x9dff3720 ] [D] -> 8F 08 00 07 00 26 1E 00 00 00 01 50 0F [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 09 00 07 00 26 00 80 01 0C 19 06 98 28 [ProtocolV2_0x90484400 ] [D] command 26 return code: 0 execution took 0ms [ProtocolV2_0x90484400 ] [D] commands total: 7, succeed: 7, failed: 0, avg. exec time: 3ms [TcpSocketIO_0x9dff3720 ] [D] -> 8F 08 00 08 00 26 1E 00 00 00 02 F1 E6 [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 09 00 08 00 26 00 80 01 18 2D 06 3E E6 [ProtocolV2_0x90484400 ] [D] command 26 return code: 0 execution took 0ms [ProtocolV2_0x90484400 ] [D] commands total: 8, succeed: 8, failed: 0, avg. exec time: 3ms [TcpSocketIO_0x9dff3720 ] [D] -> 8F 08 00 09 00 26 1E 00 00 00 03 03 B1 [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 09 00 09 00 26 00 80 01 0C 13 06 24 B4 [ProtocolV2_0x90484400 ] [D] command 26 return code: 0 execution took 0ms [ProtocolV2_0x90484400 ] [D] commands total: 9, succeed: 9, failed: 0, avg. exec time: 2ms [TcpSocketIO_0x9dff3720 ] [D] -> 8F 08 00 0A 00 26 1E 00 00 00 04 91 09 [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 09 00 0A 00 26 00 80 01 18 19 06 08 E9 [ProtocolV2_0x90484400 ] [D] command 26 return code: 0 execution took 2ms [ProtocolV2_0x90484400 ] [D] commands total: 10, succeed: 10, failed: 0, avg. exec time: 2ms [TcpSocketIO_0x9dff3720 ] [D] -> 8F 08 00 0B 00 26 1E 00 00 00 05 63 5E [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 09 00 0B 00 26 00 7C 01 0A 13 06 9E 74 [ProtocolV2_0x90484400 ] [D] command 26 return code: 0 execution took 1ms [ProtocolV2_0x90484400 ] [D] commands total: 11, succeed: 11, failed: 0, avg. exec time: 2ms [TcpSocketIO_0x9dff3720 ] [D] -> 8F 08 00 0C 00 26 1E 00 00 00 06 18 A9 [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 09 00 0C 00 26 00 80 01 08 13 06 28 1F [ProtocolV2_0x90484400 ] [D] command 26 return code: 0 execution took 1ms [ProtocolV2_0x90484400 ] [D] commands total: 12, succeed: 12, failed: 0, avg. exec time: 2ms [DeviceProperties_0x9dff3790 ] [D] device properties cached [DeviceProperties_0x9dff3790 ] [D] name: ШТРИХ-СМАРТПОС-Ф [DeviceProperties_0x9dff3790 ] [D] fonts: 6 [DeviceProperties_0x9dff3790 ] [D] isUM: false [classic_interface_0x906618c0 ] [T] ReadModelParamValue() ok [classic_interface_0x906618c0 ] [T] Get_ModelParamValue() [classic_interface_0x906618c0 ] [T] Get_ModelParamValue() -> 1 [classic_interface_0x906618c0 ] [T] Set_TagNumber(1084) [classic_interface_0x906618c0 ] [T] Set_TagNumber() ok [classic_interface_0x906618c0 ] [T] FNBeginSTLVTag() [classic_interface_0x906618c0 ] [T] FNBeginSTLVTag() ok [classic_interface_0x906618c0 ] [T] Set_TagNumber(1085) [classic_interface_0x906618c0 ] [T] Set_TagNumber() ok [classic_interface_0x906618c0 ] [T] Set_TagType(7) [classic_interface_0x906618c0 ] [T] Set_TagType() ok [classic_interface_0x906618c0 ] [T] Set_TagValueStr(mdlp) [classic_interface_0x906618c0 ] [T] Set_TagValueStr() ok [classic_interface_0x906618c0 ] [T] FNAddTag() [classic_interface_0x906618c0 ] [T] FNAddTag() ok [classic_interface_0x906618c0 ] [T] Set_TagNumber(1086) [classic_interface_0x906618c0 ] [T] Set_TagNumber() ok [classic_interface_0x906618c0 ] [T] Set_TagType(7) [classic_interface_0x906618c0 ] [T] Set_TagType() ok [classic_interface_0x906618c0 ] [T] Set_TagValueStr(sid71752852194630&) [classic_interface_0x906618c0 ] [T] FNAddTag() [classic_interface_0x906618c0 ] [T] FNAddTag() ok [classic_interface_0x906618c0 ] [T] FNSendSTLVTag() [TcpSocketIO_0x9dff3720 ] [D] -> 8F 2A 00 0D 00 FF 0C 1E 00 00 00 3C 04 1E 00 3D 04 04 00 6D 64 6C 70 3E 04 12 00 73 69 64 37 31 37 35 32 38 35 32 31 39 34 36 33 30 26 92 F1 [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 05 00 0D 00 FF 0C 00 1D 23 [ProtocolV2_0x90484400 ] [D] command FF0C return code: 0 execution took 14ms [ProtocolV2_0x90484400 ] [D] commands total: 13, succeed: 13, failed: 0, avg. exec time: 3ms [classic_interface_0x906618c0 ] [T] FNSendSTLVTag() ok [classic_interface_0x906618c0 ] [T] Set_TagNumber(1191) [classic_interface_0x906618c0 ] [T] Set_TagNumber() ok [classic_interface_0x906618c0 ] [T] Set_TagType(7) [classic_interface_0x906618c0 ] [T] Set_TagType() ok [classic_interface_0x906618c0 ] [T] Set_TagValueStr(mdlp) [classic_interface_0x906618c0 ] [T] Set_TagValueStr() ok [classic_interface_0x906618c0 ] [T] FNSendTagOperation() [TcpSocketIO_0x9dff3720 ] [D] -> 8F 10 00 0E 00 FF 4D 1E 00 00 00 A7 04 04 00 6D 64 6C 70 C5 7D [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 05 00 0E 00 FF 4D 33 02 F5 [ProtocolV2_0x90484400 ] [D] command FF4D return code: 51 execution took 23ms [ProtocolV2_0x90484400 ] [E] Incorrect command parameters [ProtocolV2_0x90484400 ] [D] commands total: 14, succeed: 13, failed: 1, avg. exec time: 5ms [TcpSocketIO_0x9dff3720 ] [D] -> 8F 04 00 0F 00 6B 33 BF 0D [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 29 00 0F 00 6B 00 CA CA D2 3A 20 CD E5 EA EE F0 F0 E5 EA F2 ED FB E5 20 EF E0 F0 E0 EC E5 F2 F0 FB 20 E2 20 EA EE EC E0 ED E4 E5 DB 0D [ProtocolV2_0x90484400 ] [D] command 6B return code: 0 execution took 0ms [ProtocolV2_0x90484400 ] [D] commands total: 15, succeed: 14, failed: 1, avg. exec time: 4ms [classic_interface_0x906618c0 ] [D] FNSendTagOperation() fail [classic_interface_0x906618c0 ] [E] ККТ: Некорректные параметры в команде [classic_interface_0x906618c0 ] [T] Set_TagNumber(1162) [classic_interface_0x906618c0 ] [T] Set_TagNumber() ok [classic_interface_0x906618c0 ] [T] Set_TagType(9) [classic_interface_0x906618c0 ] [T] Set_TagType() ok [classic_interface_0x906618c0 ] [T] Set_BinaryConversion(BINARY_CONVERSION_HEX) [classic_interface_0x906618c0 ] [T] Set_BinaryConversion() ok [classic_interface_0x906618c0 ] [T] Set_TagValueBin(444D042f88420b0d6658505778724e335677475456) [classic_interface_0x906618c0 ] [T] Set_TagValueBin() ok [classic_interface_0x906618c0 ] [T] FNSendTagOperation() [TcpSocketIO_0x9dff3720 ] [D] -> 8F 21 00 10 00 FF 4D 1E 00 00 00 8A 04 15 00 44 4D 04 2F 88 42 0B 0D 66 58 50 57 78 72 4E 33 56 77 47 54 56 CA AB [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 05 00 10 00 FF 4D 00 C0 38 [ProtocolV2_0x90484400 ] [D] command FF4D return code: 0 execution took 14ms [ProtocolV2_0x90484400 ] [D] commands total: 16, succeed: 15, failed: 1, avg. exec time: 5ms [classic_interface_0x906618c0 ] [T] FNSendTagOperation() ok [classic_interface_0x906618c0 ] [T] Set_ModelParamNumber(23) [classic_interface_0x906618c0 ] [T] Set_ModelParamNumber() ok [classic_interface_0x906618c0 ] [T] ReadModelParamValue() [classic_interface_0x906618c0 ] [T] ReadModelParamValue() ok [classic_interface_0x906618c0 ] [T] Get_ModelParamValue() [classic_interface_0x906618c0 ] [T] Get_ModelParamValue() -> 1 [classic_interface_0x906618c0 ] [T] FNOperation() [TcpSocketIO_0x9dff3720 ] [D] -> 8F 40 00 11 00 FF 46 1E 00 00 00 01 40 42 0F 00 00 00 B8 0B 00 00 00 FF FF FF FF FF FF FF FF FF FF 00 01 04 01 5B CC 5D 20 C2 C0 CB C5 D0 C8 C0 CD C0 20 CF 20 30 2E 32 20 C4 D0 C6 20 B9 35 30 20 D4 CB 0E 61 [TcpSocketIO_0x9dff3720 ] [D] <- 8F [TcpSocketIO_0x9dff3720 ] [D] <- 05 00 11 00 FF 46 00 6B 4E [ProtocolV2_0x90484400 ] [D] command FF46 return code: 0 execution took 180ms [ProtocolV2_0x90484400 ] [D] commands total: 17, succeed: 16, failed: 1, avg. exec time: 15ms [classic_interface_0x906618c0 ] [T] FNOperation() ok [classic_interface_0x906618c0 ] [T] Disconnect() [ProtocolV2_0x90484400 ] [I] disconnect() [TcpSocketIO_0x9dff3720 ] [I] close() [classic_interface_0x906618c0 ] [T] Disconnect() ok [classic_interface_0x90694580 ] [T] Set_Password(30) [classic_interface_0x90694580 ] [T] Set_Password() ok [classic_interface_0x90694580 ] [T] Set_ConnectionURI(tcp://127.0.0.1:12345?timeout=30000&protocol=v2) [isConnectUriValid ] [I] io_url looks good [classic_interface_0x90694580 ] [T] Set_ConnectionURI() ok [classic_interface_0x90694580 ] [T] Connect() [getIoFromString ] [I] io_url looks good: tcp://127.0.0.1:12345?timeout=30000&protocol=v2 [getIoFromString ] [I] type: tcp [getIoFromString ] [I] path: 127.0.0.1 [getProtocolFromString ] [I] protocol v2 [getTimeout ] [I] timeout: 30000 [ProtocolV2_0x90484220 ] [I] setTimeout(30000ms) [ProtocolV2_0x90484220 ] [I] timeout: 30000 [TcpSocketIO_0x9dff3020 ] [I] IO timeout = 30000ms [TcpSocketIO_0x9dff3020 ] [I] open() true [TcpSocketIO_0x9dff3020 ] [D] -> 8F 00 00 0F 1D [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 02 00 01 00 99 5A [ProtocolV2_0x90484220 ] [D] command 0 return code: 0 execution took 6ms [ProtocolV2_0x90484220 ] [D] commands total: 1, succeed: 1, failed: 0, avg. exec time: 6ms [ProtocolV2_0x90484220 ] [I] connect() true [TcpSocketIO_0x9dff3020 ] [D] -> 8F 03 00 02 00 FC 2D BF [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 1A 00 02 00 FC 00 00 00 02 00 2D 00 D8 D2 D0 C8 D5 2D D1 CC C0 D0 D2 CF CE D1 2D D4 9D F1 [ProtocolV2_0x90484220 ] [D] command FC return code: 0 execution took 0ms [ProtocolV2_0x90484220 ] [D] commands total: 2, succeed: 2, failed: 0, avg. exec time: 3ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 07 00 03 00 11 1E 00 00 00 AD 66 [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 34 00 03 00 11 00 1E 43 32 49 8E 1C 02 14 01 2C 00 90 00 08 00 80 4E 41 00 00 01 01 10 0C 07 14 13 0D 0E 00 BF 00 00 00 19 00 00 00 00 00 0C FC 6E D2 01 00 00 00 5E 6A [ProtocolV2_0x90484220 ] [D] command 11 return code: 0 execution took 6ms [ProtocolV2_0x90484220 ] [D] commands total: 3, succeed: 3, failed: 0, avg. exec time: 4ms [classic_interface_0x90694580 ] [I] model: 45 [classic_interface_0x90694580 ] [I] desciption: ШТРИХ-СМАРТПОС-Ф [classic_interface_0x90694580 ] [I] fw_date: 2020-02-28T00:00:00 [classic_interface_0x90694580 ] [T] Connect() ok [classic_interface_0x90694580 ] [T] Set_FieldNumber(5) [classic_interface_0x90694580 ] [T] Set_FieldNumber() ok [classic_interface_0x90694580 ] [T] Set_RowNumber(1) [classic_interface_0x90694580 ] [T] Set_RowNumber() ok [classic_interface_0x90694580 ] [T] Set_ModelParamNumber(23) [classic_interface_0x90694580 ] [T] Set_ModelParamNumber() ok [classic_interface_0x90694580 ] [T] ReadModelParamValue() [TcpSocketIO_0x9dff3020 ] [D] -> 8F 03 00 04 00 FC 8D 0D [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 1A 00 04 00 FC 00 00 00 02 00 2D 00 D8 D2 D0 C8 D5 2D D1 CC C0 D0 D2 CF CE D1 2D D4 B8 28 [ProtocolV2_0x90484220 ] [D] command FC return code: 0 execution took 1ms [ProtocolV2_0x90484220 ] [D] commands total: 4, succeed: 4, failed: 0, avg. exec time: 3ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 04 00 05 00 F7 01 83 2E [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 29 00 05 00 F7 00 08 00 C0 F7 3F 28 02 00 00 00 01 0C 0A 00 00 00 00 00 00 1E 00 00 00 00 06 AF 05 28 00 00 00 0D 0E 10 0A 1D 11 82 80 [ProtocolV2_0x90484220 ] [D] command F7 return code: 0 execution took 1ms [ProtocolV2_0x90484220 ] [D] commands total: 5, succeed: 5, failed: 0, avg. exec time: 3ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 07 00 06 00 11 1E 00 00 00 0A 1F [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 34 00 06 00 11 00 1E 43 32 49 8E 1C 02 14 01 2C 00 90 00 08 00 80 4E 41 00 00 01 01 10 0C 07 14 13 0D 0E 00 BF 00 00 00 19 00 00 00 00 00 0C FC 6E D2 01 00 00 00 3F EC [ProtocolV2_0x90484220 ] [D] command 11 return code: 0 execution took 4ms [ProtocolV2_0x90484220 ] [D] commands total: 6, succeed: 6, failed: 0, avg. exec time: 3ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 08 00 07 00 26 1E 00 00 00 01 50 0F [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 09 00 07 00 26 00 80 01 0C 19 06 98 28 [ProtocolV2_0x90484220 ] [D] command 26 return code: 0 execution took 2ms [ProtocolV2_0x90484220 ] [D] commands total: 7, succeed: 7, failed: 0, avg. exec time: 3ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 08 00 08 00 26 1E 00 00 00 02 F1 E6 [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 09 00 08 00 26 00 80 01 18 2D 06 3E E6 [ProtocolV2_0x90484220 ] [D] command 26 return code: 0 execution took 1ms [ProtocolV2_0x90484220 ] [D] commands total: 8, succeed: 8, failed: 0, avg. exec time: 3ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 08 00 09 00 26 1E 00 00 00 03 03 B1 [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 09 00 09 00 26 00 80 01 0C 13 06 24 B4 [ProtocolV2_0x90484220 ] [D] command 26 return code: 0 execution took 1ms [ProtocolV2_0x90484220 ] [D] commands total: 9, succeed: 9, failed: 0, avg. exec time: 2ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 08 00 0A 00 26 1E 00 00 00 04 91 09 [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 09 00 0A 00 26 00 80 01 18 19 06 08 E9 [ProtocolV2_0x90484220 ] [D] command 26 return code: 0 execution took 0ms [ProtocolV2_0x90484220 ] [D] commands total: 10, succeed: 10, failed: 0, avg. exec time: 2ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 08 00 0B 00 26 1E 00 00 00 05 63 5E [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 09 00 0B 00 26 00 7C 01 0A 13 06 9E 74 [ProtocolV2_0x90484220 ] [D] command 26 return code: 0 execution took 0ms [ProtocolV2_0x90484220 ] [D] commands total: 11, succeed: 11, failed: 0, avg. exec time: 2ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 08 00 0C 00 26 1E 00 00 00 06 18 A9 [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 09 00 0C 00 26 00 80 01 08 13 06 28 1F [ProtocolV2_0x90484220 ] [D] command 26 return code: 0 execution took 0ms [ProtocolV2_0x90484220 ] [D] commands total: 12, succeed: 12, failed: 0, avg. exec time: 2ms [DeviceProperties_0x9dff3090 ] [D] device properties cached [DeviceProperties_0x9dff3090 ] [D] name: ШТРИХ-СМАРТПОС-Ф [DeviceProperties_0x9dff3090 ] [D] fonts: 6 [DeviceProperties_0x9dff3090 ] [D] isUM: false [classic_interface_0x90694580 ] [T] ReadModelParamValue() ok [classic_interface_0x90694580 ] [T] Get_ModelParamValue() [classic_interface_0x90694580 ] [T] Get_ModelParamValue() -> 1 [classic_interface_0x90694580 ] [T] Set_TableNumber(17) [classic_interface_0x90694580 ] [T] Set_TableNumber() ok [classic_interface_0x90694580 ] [T] ReadTable() [TcpSocketIO_0x9dff3020 ] [D] -> 8F 08 00 0D 00 2D 1E 00 00 00 11 BF 4F [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 2F 00 0D 00 2D 00 CF C0 D0 C0 CC C5 D2 D0 DB 20 D0 C5 C3 C8 D1 D2 D0 C0 D6 C8 C8 20 CA C0 D1 D1 DB 2C 20 D2 C5 C3 C8 00 00 00 00 00 00 00 01 00 17 54 86 [ProtocolV2_0x90484220 ] [D] command 2D return code: 0 execution took 0ms [ProtocolV2_0x90484220 ] [D] commands total: 13, succeed: 13, failed: 0, avg. exec time: 2ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 09 00 0E 00 2E 1E 00 00 00 11 05 01 7B [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 30 00 0E 00 2E 00 CA DF 3A 20 D1 C8 D1 D2 C5 CC DB 20 CD C0 CB CE C3 CE CE C1 CB CE C6 C5 CD C8 DF 20 28 D1 CD CE 29 2C 20 31 30 36 32 00 00 01 00 FF A3 EC [ProtocolV2_0x90484220 ] [D] command 2E return code: 0 execution took 0ms [ProtocolV2_0x90484220 ] [D] commands total: 14, succeed: 14, failed: 0, avg. exec time: 2ms [TcpSocketIO_0x9dff3020 ] [D] -> 8F 0B 00 0F 00 1F 1E 00 00 00 11 01 00 05 49 05 [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 05 00 0F 00 1F 00 04 46 C2 [ProtocolV2_0x90484220 ] [D] command 1F return code: 0 execution took 0ms [ProtocolV2_0x90484220 ] [D] commands total: 15, succeed: 15, failed: 0, avg. exec time: 1ms [classic_interface_0x90694580 ] [T] ReadTable() ok [classic_interface_0x90694580 ] [T] Get_ValueOfFieldInteger() [classic_interface_0x90694580 ] [T] Get_ValueOfFieldInteger() -> 4 [classic_interface_0x90694580 ] [T] Set_Summ1(0) [classic_interface_0x90694580 ] [T] Set_Summ1() ok [classic_interface_0x90694580 ] [T] Set_Summ2(3000) [classic_interface_0x90694580 ] [T] Set_Summ2() ok [classic_interface_0x90694580 ] [T] Set_Summ14(0) [classic_interface_0x90694580 ] [T] Set_Summ14() ok [classic_interface_0x90694580 ] [T] Set_Summ15(0) [classic_interface_0x90694580 ] [T] Set_Summ15() ok [classic_interface_0x90694580 ] [T] Set_Summ16(0) [classic_interface_0x90694580 ] [T] Set_Summ16() ok [classic_interface_0x90694580 ] [T] Set_TaxType(4) [classic_interface_0x90694580 ] [T] Set_TaxType() ok [classic_interface_0x90694580 ] [T] Set_StringForPrinting(``) [classic_interface_0x90694580 ] [T] Set_StringForPrinting() ok [classic_interface_0x90694580 ] [T] FNCloseCheckEx() [TcpSocketIO_0x9dff3020 ] [D] -> 8F 78 00 10 00 FF 45 1E 00 00 00 00 00 00 00 00 B8 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 6C 27 [TcpSocketIO_0x9dff3020 ] [D] <- 8F [TcpSocketIO_0x9dff3020 ] [D] <- 12 00 10 00 FF 45 00 00 00 00 00 00 6F 00 00 00 2B A4 27 FC FD 2E [ProtocolV2_0x90484220 ] [D] command FF45 return code: 0 execution took 522ms [ProtocolV2_0x90484220 ] [D] commands total: 16, succeed: 16, failed: 0, avg. exec time: 34ms [classic_interface_0x90694580 ] [T] FNCloseCheckEx() ok

про правило отправки привязанных тегов, знаю. с другими тегами проблем нет

swex commented 4 years ago

это был баг в КЯ, исправлено в версии 1.8.37240. cashcore.1.8.37240.zip

DanshiMeister commented 4 years ago

Спасибо, заработало. Это релизная версия, можно смело ставить на боевые ФН ? А то в ЛК ЦТО последняя версия 36377

swex commented 4 years ago

не уверен, лучше дождаться появления на вашем ресурсе.