Просмотр полной версии : Картридер IronLogic Z-2 USB
Santjaga
09.08.2018, 23:00
Приветствую.
Помогите, пожалуйста, подключить IronLogic Z-2 USB к Фронту. Iiko 5.4, Windows 7 (хотя можно любую поставить).
Драйвера устанавливаются, определяется как устройство подключенное к Com-порту. И на этом все. IIKO его не видит.
Заранее благодарен.
В конфиге фронта (это файл config.xml лежит в папке iiko в %APPDATA%) есть секция посвященная этому ридеру. Там нужно указать его com-порт. Сейчас под рукой нет фронта, но найти не проблема, воспользуйтесь поиском ищите "com" или "reader". Желательно потом полностью выключить терминал, и включить, чтобы исключить зависание порта.
Santjaga
13.08.2018, 19:29
Спасибо огромное за ответ. Но, к сожалению не нашел.
Публикую конфиг. Я сильно подозреваю, что это секция zreader, но не уверен
<?xml version="1.0"?>
-<config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-<fastMenuConfig>
<commonProductPanelWidth xsi:nil="true"/>
<fastProductPanelHeight xsi:nil="true"/>
<fastProductPanelWidth xsi:nil="true"/>
<fastLabelsPanelHeight xsi:nil="true"/>
</fastMenuConfig>
<orderEditTimeout>600</orderEditTimeout>
<newOrderMaxCount>1</newOrderMaxCount>
<logout_time>600</logout_time>
<AllowHandCardRoll>true</AllowHandCardRoll>
<ShowMinimizeButton>true</ShowMinimizeButton>
<cardReaderConfigured>true</cardReaderConfigured>
<terminalId>17e11746-ab8f-4d77-9035-c5c43f03a060</terminalId>
<terminalRegistered>true</terminalRegistered>
<cashRegisterEmulatorId>93dba931-a6e6-4839-a60e-ddd86fe68b23</cashRegisterEmulatorId>
<agentId>c828425c-5840-420f-8730-e8b73012443e</agentId>
<serverUrl>http://192.168.2.7:8080/resto</serverUrl>
-<Update>
<Url>update/Front</Url>
</Update>
<joinDuplicateRowsInOrder>true</joinDuplicateRowsInOrder>
<daysToSaveBackups>30</daysToSaveBackups>
<daysToSaveDeleted>7</daysToSaveDeleted>
<enableFrontStatus>true</enableFrontStatus>
<enableConfigEditor>false</enableConfigEditor>
<enableMouseClickCount>false</enableMouseClickCount>
<checkDuplicatePrint>true</checkDuplicatePrint>
<messagesExpireTimeout>12:00:00</messagesExpireTimeout>
<updateSessionFullReportAfterEachSessionOperation>true</updateSessionFullReportAfterEachSessionOperation>
<canIgnoreUnhandledExceptions>false</canIgnoreUnhandledExceptions>
<sendErrorReportDefault>true</sendErrorReportDefault>
<useHardwareKeyboard>true</useHardwareKeyboard>
<enableKitchenKeyboard>true</enableKitchenKeyboard>
<useExternalOnScreenKeyboard>false</useExternalOnScreenKeyboard>
<printBarcodeLabelOnWeighting>false</printBarcodeLabelOnWeighting>
-<nonPOSconfig>
<cardReaderPrefix/>
<cardReaderSuffix/>
<isUnicodeCardReader>true</isUnicodeCardReader>
<cardReaderTimeout>600</cardReaderTimeout>
</nonPOSconfig>
<isPOSCardReader>true</isPOSCardReader>
-<posConfig>
<serviceObjectName>ExampleMsr</serviceObjectName>
</posConfig>
<allowedParsers>auth</allowedParsers>
<allowedParsers>discount</allowedParsers>
<enableLogDB>false</enableLogDB>
<enableOrderPrint>false</enableOrderPrint>
<kodosPortName/>
<kodosPrefix/>
<kodosSuffix/>
<parsecReaderEnabled>false</parsecReaderEnabled>
<parsecReaderHex>false</parsecReaderHex>
<proximusPortName/>
<proximusDataLength xsi:nil="true"/>
<waiterLockHidMode>Disabled</waiterLockHidMode>
<useKeyboardBarcodeScaner>false</useKeyboardBarcodeScaner>
<comCardReaderBaudrate xsi:nil="true"/>
<comCardReaderMinBytes xsi:nil="true"/>
<comCardReaderHex>false</comCardReaderHex>
<comCardReaderHexToDec xsi:nil="true"/>
<comCardReaderAddTrailingSlash>true</comCardReaderAddTrailingSlash>
<comCardReaderIsHardwareFlowControl>false</comCardReaderIsHardwareFlowControl>
<zReaderPortType xsi:nil="true"/>
<zReaderDataOffset xsi:nil="true"/>
<zReaderDataLength xsi:nil="true"/>
<pcscCardUIDLength xsi:nil="true"/>
<enableUIProfiler>false</enableUIProfiler>
<uiProfilerPriority>ContextIdle</uiProfilerPriority>
<updateQueueTasksInChainLimit>20</updateQueueTasksInChainLimit>
<updateQueueMergedServerUpdateCount>5</updateQueueMergedServerUpdateCount>
<ignoreFrontVersionCheck>false</ignoreFrontVersionCheck>
<fastDrawerOpen>true</fastDrawerOpen>
<enableAutomaticCookingCompleteCalculation>true</enableAutomaticCookingCompleteCalculation>
<showDeliveryListOnLogin>false</showDeliveryListOnLogin>
<deliveryTerminalAddress/>
<canPrepayAndCloseDeliveryOrderOnDifferentTerminals>true</canPrepayAndCloseDeliveryOrderOnDifferentTerminals>
<use2DEffects>true</use2DEffects>
<maxSearchResults>100</maxSearchResults>
<localizationCulture>ru-RU</localizationCulture>
<serverTimeShiftThresholdInSeconds>3</serverTimeShiftThresholdInSeconds>
<dontSendAttendancesInfoToServer>false</dontSendAttendancesInfoToServer>
<showAllProductsInBarcodeEditor>false</showAllProductsInBarcodeEditor>
<showAllProductsInDocumentEditor>true</showAllProductsInDocumentEditor>
<kitchenProductRegularStatusesFilter>AllActive</kitchenProductRegularStatusesFilter>
<kitchenProductRecallStatusesFilter>DefaultRecall</kitchenProductRecallStatusesFilter>
<documentsObsolescenceDuration>1.00:00:00</documentsObsolescenceDuration>
<obsoleteKitchenOrderCleanupPeriod>01:00:00</obsoleteKitchenOrderCleanupPeriod>
<productStocksEditInfoExpirationDuration>00:15:00</productStocksEditInfoExpirationDuration>
<defaultKitchenScreen>ByProducts</defaultKitchenScreen>
<longClickDurationToSelectDish>1500</longClickDurationToSelectDish>
<lastSelectedDocumentTypeId>00000000-0000-0000-0000-000000000000</lastSelectedDocumentTypeId>
<lastSelectedSourceStoreId>00000000-0000-0000-0000-000000000000</lastSelectedSourceStoreId>
<lastSelectedDestinationStoreId>00000000-0000-0000-0000-000000000000</lastSelectedDestinationStoreId>
<kitchenOrderObsolescenceDuration>01:00:00</kitchenOrderObsolescenceDuration>
<a4DeliveryInvoiceFormat xsi:nil="true"/>
<deliveryInvoiceFormat>Default</deliveryInvoiceFormat>
<productSearchFilter>Barcode FastCode</productSearchFilter>
<printXReportOnOpenCashSession>true</printXReportOnOpenCashSession>
<deliveryProcessingTimeout>00:05:00</deliveryProcessingTimeout>
<deliveryConfirmingTimeout>00:15:00</deliveryConfirmingTimeout>
<ValidateEmptyDeliveryAddress>true</ValidateEmptyDeliveryAddress>
<NewDeliveryInitialEditMode>DeliveryData</NewDeliveryInitialEditMode>
<canSelectPeriodInServerReports>true</canSelectPeriodInServerReports>
<useAdvancedProductSearchDialog>true</useAdvancedProductSearchDialog>
<displayElapsedCookingTime>false</displayElapsedCookingTime>
<allowPrepayPreliminaryPayments>true</allowPrepayPreliminaryPayments>
<sendGuestInCheque>true</sendGuestInCheque>
<canPrintCashRegisterTape>false</canPrintCashRegisterTape>
<trimImageInMenu>true</trimImageInMenu>
<disableCheckDeliveryRestrictions>false</disableCheckDeliveryRestrictions>
<loginScreenVideoPath>C:\Program Files\iiko\iikoRMS\Front.Net\media\login.wmv</loginScreenVideoPath>
<enableAppliedIikoCard5CampaignsToItemSaleEventFlus h>false</enableAppliedIikoCard5CampaignsToItemSaleEventFlus h>
<enableWpfTabletSupport>true</enableWpfTabletSupport>
<audioDevicesDetectionTimeout>00:00:05</audioDevicesDetectionTimeout>
<enableOzekiLog>false</enableOzekiLog>
<calculateInternalAndIikoCard51DiscountsIndependent>false</calculateInternalAndIikoCard51DiscountsIndependent>
</config>
saratovout
13.08.2018, 20:50
Через универсальный считыватель:
<comIikoCardPort>COM1</comIikoCardPort>
<comCardReaderBaudrate>9600</comCardReaderBaudrate>
<comCardReaderHex>true</comCardReaderHex>
Через Proximus:
<proximusPortName>COM1</proximusPortName>
Через ZReader:
<zReaderPortType>1</zReaderPortType> <!-- 1 - COM, 2 - через ftd2xx.dll, 3 - через TCP, 4 - порт симулятора -->
<zReaderPort>COM1</zReaderPort>
Santjaga
14.08.2018, 19:14
Спасибо. Во фронте завелось. В бэке нет, но думаю это не особая проблема.
Считываю значение карты через подключение к com-порту. Вбиваю полученый номер в карточку сотрудника. Пытаюсь залогинится карточкой. Получаю "Карта не зарегистрированна в системе".
saratovout
15.08.2018, 21:55
В бэке нет
"Карта не зарегистрированна в системе".
Это сообщение вы видите в backOffice??
Santjaga
16.08.2018, 09:33
Нет, во фронте, на начальном экране. Бэк стоит на отдельной машине, удалено.
saratovout
16.08.2018, 18:53
Нет, во фронте, на начальном экране.
Добавьте в конфиг:
<allowedParsers>auth</allowedParsers>
<allowedParsers>discount</allowedParsers>
<allowedParsers>substitution</allowedParsers>
<allowedParsers>barcode</allowedParsers>
<allowedParsers>iikoNet</allowedParsers>
<allowedParsers>magnet</allowedParsers>
Смотрите логи фронта. А также посмотрите в сторону:
<parsecReaderEnabled>true</parsecReaderEnabled><!-- процессор parsec -->
<parsecReadHex>true</parsecReadHex><!-- 16-ричный формат считывания -->
Santjaga
16.08.2018, 20:51
К сожалению - не проходит. В логах это никак не отражено.
Пересмотрел все логи. Нет событий соответствующих логину пользователя вообще.
saratovout
20.08.2018, 17:32
К сожалению - не проходит. В логах это никак не отражено.
Пересмотрел все логи. Нет событий соответствующих логину пользователя вообще.
Утилитой "Диагностика" соберите всю информацию по терминалу и выложите куда-нибудь, напр. на Яндекс.Диск.
Santjaga
20.08.2018, 21:01
Затык в том, что у меня нет такой утилиты. Ни на сервере, ни на машине с фронтом. Не подскажите, куда рыть?
saratovout
20.08.2018, 21:22
Затык в том, что у меня нет такой утилиты. Ни на сервере, ни на машине с фронтом. Не подскажите, куда рыть?
Должна быть тут {папка айки}\Troubleshooter\Client\Troubleshooter.exe
Santjaga
21.08.2018, 15:32
Там только Resto.Troubleshooter.Service.exe. Troubleshooter.exe отстутствует вообще
Ребята, а можно в айку подключить считыватель бесконтактных карт. Подключается он по USB, в системе определяется как hid устройства. в блокнот данные передает. ком порт не эммулирует(
Powered by vBulletin® Version 4.2.6 LTS Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. Перевод: zCarot