Wiki source code of Справочник “Операторы ТК”
Version 14.1 by Андрей Калиновский on 2023/05/26 11:15
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255); font-weight: 400; font-style: normal; text-decoration: none" %)Справочник "Операторы ТК" представляет собой список, в котором отображаются все добавленные операторы топливных карт, статус, дата и время синхронизации. Данный справочник необходим для дальнейшего (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)запроса списка топливных карт. | ||
| 2 | |||
| 3 | (% style="line-height:1.38" %) | ||
| 4 | [[image:image-20230526110615-10.png]] | ||
| 5 | |||
| 6 | (% style="line-height:1.38" %) | ||
| 7 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Для того чтобы добавить нового оператора ТК необходимо в панели управления перейти в справочник “Операторы ТК” и нажмите на иконку “Добавить” - [[image:image-20230526111314-12.png||height="22" width="22"]] | ||
| 8 | |||
| 9 | |||
| 10 | (% style="line-height:1.38" %) | ||
| 11 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Перед вами откроется окно добавления нового оператора ТК: | ||
| 12 | |||
| 13 | (% style="line-height:1.38" %) | ||
| 14 | [[image:image-20230526110702-11.png]] | ||
| 15 | |||
| 16 | (% style="line-height:1.38" %) | ||
| 17 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Вам необходимо: | ||
| 18 | |||
| 19 | 1. (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Указать наименование записи | ||
| 20 | 1. (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Оператор ТК - из выпадающего списка со всеми подержанными операторами топливных карт выбрать необходимого. | ||
| 21 | |||
| 22 | (% class="box infomessage" style="line-height: 1.38;" %) | ||
| 23 | ((( | ||
| 24 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(28, 69, 135); font-weight: 700; font-style: normal; text-decoration: none" %)**Список будет дополняться по мере интеграции новых операторов ТК.** | ||
| 25 | ))) | ||
| 26 | |||
| 27 | (% start="3" %) | ||
| 28 | 1. (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Ввести API-ключ для создания соединения с оператором ТК. | ||
| 29 | |||
| 30 | |||
| 31 | (% style="line-height:1.38" %) | ||
| 32 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)После введении API-ключа выполняется запрос к оператору по API, для того чтобы подтвердить корректность подключения. В зависимости от ответа статус может принимать следующие состояния: | ||
| 33 | |||
| 34 | (% style="line-height:1.38" %) | ||
| 35 | [[image:image-20230526105953-3.png]](% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)- отображается если поле ввода ключа пустое. | ||
| 36 | |||
| 37 | (% style="line-height:1.38" %) | ||
| 38 | [[image:image-20230526105953-4.png]](% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)- был получен корректный ответ на команду. | ||
| 39 | |||
| 40 | (% style="line-height:1.38" %) | ||
| 41 | [[image:image-20230526105953-5.png]](% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)- отображается в период, когда запрос был отправлен, но ответ не получен. | ||
| 42 | |||
| 43 | (% style="line-height:1.38" %) | ||
| 44 | [[image:image-20230526105953-6.png]](% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)- ошибка возвращаемая оператором тк при проблеме авторизации. | ||
| 45 | |||
| 46 | (% style="line-height:1.38" %) | ||
| 47 | [[image:image-20230526105953-7.png]](% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)- ошибка возвращаемая оператором тк при запрете доступа к серверу. | ||
| 48 | |||
| 49 | (% style="line-height:1.38" %) | ||
| 50 | [[image:image-20230526105953-8.png]](% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)- ошибка возвращаемая оператором тк при возникновении проблем в работе их сервера. | ||
| 51 | |||
| 52 | (% style="line-height:1.38" %) | ||
| 53 | [[image:image-20230526105953-9.png]](% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)- отображается если: | ||
| 54 | |||
| 55 | (% style="line-height:1.38" %) | ||
| 56 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)1) Был получен ответ с неизвестной ошибкой. | ||
| 57 | |||
| 58 | (% style="line-height:1.38" %) | ||
| 59 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)2) В течении минуты не был получен ответ на запрос. | ||
| 60 | |||
| 61 | (% style="line-height:1.38" %) | ||
| 62 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)3) Не отправляется запрос из-за проблем в работе модуля ТК. | ||
| 63 | |||
| 64 | (% style="line-height:1.38" %) | ||
| 65 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)4) Оператор ТК был сохранен без ключа API, или с некорректным ключом. | ||
| 66 | |||
| 67 | |||
| 68 | (% start="4" %) | ||
| 69 | 1. (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Синхронизация - необходимо из выпадающего списка выбрать периодичность автоматического запроса транзакций у оператора. Имеется 4 варианта синхронизации - каждый 1/6/12/24 часа. | ||
| 70 | |||
| 71 | (% style="line-height:1.38" %) | ||
| 72 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Ниже отображается дата и время следующей синхронизации.(%%) | ||
| 73 | |||
| 74 | |||
| 75 | (% style="line-height:1.38" %) | ||
| 76 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)У данного оператора будет производиться запрос транзакций с выбранной периодичностью. Если при отправке запроса транзакции, будут обнаружены новые топливные карты, они будут созданы автоматически и добавлены в справочник “Топливные карты”. | ||
| 77 | |||
| 78 | |||
| 79 | (% style="line-height:1.38" %) | ||
| 80 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)После заполнения всех полей, нажмите кнопку “Сохранить”. Новый оператор ТК будет добавлен в справочник. | ||
| 81 | |||
| 82 | |||
| 83 | (% style="line-height:1.38" %) | ||
| 84 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Также доступны следующие инструменты: | ||
| 85 | |||
| 86 | (% style="line-height:1.38" %) | ||
| 87 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; font-style: normal; text-decoration: none" %)**Редактировать**(% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) - данный инструмент позволяет редактировать все данные в окне свойств оператора ТК. | ||
| 88 | |||
| 89 | (% style="line-height:1.38" %) | ||
| 90 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; font-style: normal; text-decoration: none" %)**Удалить**(% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) - удаление записи о операторе ТК. В этом случае также будут удалены все топливные карты данного оператора. | ||
| 91 | |||
| 92 | (% style="line-height:1.38" %) | ||
| 93 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; font-style: normal; text-decoration: none" %)**Загрузить транзакции по оператору ТК **(% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)- позволяет пользователю выбрать период за который требуется загрузить данные по всем транзакциям выбранных операторов топливных карт. | ||
| 94 | |||
| 95 | (% style="line-height:1.38" %) | ||
| 96 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; font-style: normal; text-decoration: none" %)**Синхронизация топливных карт**(% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) - позволяет принудительно отправить команду на запрос списка топливных карт выбранных операторов ТК. | ||
| 97 | |||
| 98 | |||
| 99 | (% style="line-height:1.38" %) | ||
| 100 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)После заполнения данного справочника, в справочнике [[“Топливные карты”>>https://wiki.glonasssoft.ru/bin/view/%D0%9F%D0%B0%D0%BD%D0%B5%D0%BB%D1%8C%20%D1%83%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F/%D0%9E%D1%81%D0%BD%D0%BE%D0%B2%D0%BD%D1%8B%D0%B5%20%D1%81%D0%BF%D1%80%D0%B0%D0%B2%D0%BE%D1%87%D0%BD%D0%B8%D0%BA%D0%B8/%D0%A1%D0%BF%D1%80%D0%B0%D0%B2%D0%BE%D1%87%D0%BD%D0%B8%D0%BA%20%E2%80%9C%D0%A2%D0%BE%D0%BF%D0%BB%D0%B8%D0%B2%D0%BD%D1%8B%D0%B5%20%D0%BA%D0%B0%D1%80%D1%82%D1%8B%E2%80%9D/]] автоматически появятся соответствующие данные. | ||
| 101 | |||
| 102 |