| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164 | 
							- /********************************* (C) РОТЕК ***********************************
 
-  * @module  parameters
 
-  * @file    parameters.h
 
-  * @version 1.0.0
 
-  * @date    XX.XX.XXXX
 
-  * $brief   parameters
 
-  *******************************************************************************
 
-  * @history     Version  Author         Comment
 
-  * XX.XX.XXXX   1.0.0    Telenkov D.A.  First release.
 
-  *******************************************************************************
 
-  */
 
- /* Define to prevent recursive  ----------------------------------------------*/
 
- #ifndef PARAMETERS_H
 
- #define PARAMETERS_H
 
- #include <stdbool.h>
 
- #include "common_config.h"
 
- // ************************************************************************** //
 
- //                        Параметры UPS
 
- void GetInputFreqStr(char *str, uint8_t *len);
 
- void GetInputFreqInt(float *value);
 
- void GetOutputFreqStr(char *str, uint8_t *len);
 
- void GetInputVoltageStr(char *str, uint8_t *len);
 
- void GetInputVoltageInt(float *value);
 
- void GetOutputVoltageStr(char *str, uint8_t *len);
 
- void GetOutputVoltageInt(float *value);
 
- void GetPowerStr(char *str, uint8_t *len);
 
- void GetPowerInt(int32_t *value);
 
- void GetBatCapacityStr(char *str, uint8_t *len);
 
- void GetBatCapacityInt(int32_t *value);
 
- void GetRuntimeStr(char *str, uint8_t *len);
 
- void GetRuntimeInt(int32_t *value);
 
- void GetAKBWorktimeStr(char *str, uint8_t *len);
 
- void GetAKBWorktimeInt(int32_t *value);
 
- void GetInternalTempStr(char *str, uint8_t *len);
 
- void GetInternalTempInt(float *value);
 
- /**
 
-   * @brief
 
-   */
 
- void GetAlarmMonitorStr(char *str, uint8_t *len);
 
- void GetConnectMonitorStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief
 
-   */
 
- void GetInputCurrentStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief
 
-   */
 
- void GetInputCurrentInt(float *value);
 
- /**
 
-   * @brief
 
-   */
 
- void GetOutputCurrentStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief
 
-   */
 
- void GetOutputCurrentInt(float *value);
 
- /**
 
-   * @brief
 
-   */
 
- void GetVoltageAKBtStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief
 
-   */
 
- void GetVoltageAKBInt(float *value);
 
- /**
 
-   * @brief  Режим работы
 
-   */
 
- void GetModeStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Режим работы
 
-   */
 
- void GetModeEn(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Индикация аварийных ситуаций
 
-   * TODO добавить реальный параметр
 
-   */
 
- void GetAlarmStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Индикация аварийных ситуаций
 
-   */
 
- void GetUPSAlarmStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Индикация аварийных ситуаций
 
-   */
 
- void GetAKBAlarmStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Индикация аварийных ситуаций
 
-   */
 
- void GetConnectUPSAlarmStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Индикация аварийных ситуаций
 
-   */
 
- void GetUPSModeStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Текущее время ч/м/с
 
-   */
 
- void GetCurrentTimeStr(char *str, uint8_t *len);
 
- // ************************************************************************** //
 
- //                             Параметры даты и времени
 
- /**
 
-   * @brief  Дата (Ready for PRS!)
 
-   */
 
- void GetDateStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Время (Ready for PRS!)
 
-   */
 
- void GetTimeStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Время (Ready for PRS!)
 
-   */
 
- void GetUnixTimeStr(char *str, uint8_t *len);
 
- // ************************************************************************** //
 
- //                             Параметры SNTP
 
- /**
 
-   * @brief  Состояние SNTP (Ready for PRS!)
 
-   */
 
- void GetSntpStateStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Состояние SNTP (Ready for PRS!)
 
-   */
 
- void GetSntpStateStrRU(char *str, uint8_t *len);
 
- /**
 
-   * @brief  IP адрес SNTP сервера (Ready for PRS!)
 
-   */
 
- void GetSntpServerIpStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Часовой пояс контроллера (Ready for PRS!)
 
-   */
 
- void GetSntpTimeZoneStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Дата последней синхронизации SNTP (Ready for PRS!)
 
-   */
 
- void GetSntpLastDataStr(char *str, uint8_t *len);
 
- // ************************************************************************** //
 
- //                             Информация
 
- // ************************************************************************** //
 
- //                          Настройки аутентификации
 
- void GetUserLogin(uint8_t user_id, char *str, uint8_t *len);
 
- void GetUserPassword(uint8_t user_id, char *str, uint8_t *len);
 
- void GetUserLevel(uint8_t user_id, char *str, uint8_t *len);
 
- void GetUserLevelInt(uint8_t user_id, uint8_t *value);
 
- /**
 
-   * @brief  Время работы устройства
 
-   */
 
- void GetWorkTimeStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Модель устройства
 
-   */
 
- void GetModelStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Название устройсва устройства
 
-   */
 
- void GetNameDeviceStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Дата производства
 
-   */
 
- void GetProductionDataStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Версия ПО
 
-   */
 
- void GetVersionStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  MAC адрес устройства
 
-   */
 
- void GetMacStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Серийный номер устройства
 
-   */
 
- void GetSerialNumberStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Владелец устройства
 
-   */
 
- void GetOwnerStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Местоположение устройства
 
-   */
 
- void GetLocationStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Комментарии
 
-   */
 
- void GetCommentsStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Серийный номер UPS
 
-   */
 
- void GetUPSSerialStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Модель UPS
 
-   */
 
- void GetUPSModelStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Версия UPS ПО
 
-   */
 
- void GetUPSVersionStr(char *str, uint8_t *len);
 
- #ifdef NOTIFICATION_CONTROL_ENABLE
 
- // ************************************************************************** //
 
- //                              Параметры уведомления
 
- /**
 
-   * @brief  Параметр разрешения отправки трапа
 
-   */
 
- void GetNotificationTrapsStateStr(char *str, uint8_t *len, uint8_t num);
 
- /**
 
-   * @brief  Параметр разрешения отправки трапа
 
-   */
 
- void GetNotificationTrapsStateStr2(char *str, uint8_t *len, uint8_t num);
 
- /**
 
-   * @brief Длинное имя трапа
 
-   */
 
- void GetTrapLongNameStr(char *str, uint8_t *len, uint8_t num);
 
- #endif
 
- // ************************************************************************** //
 
- //                             Параметры WEB
 
- /**
 
-   * @brief  Текущий IP адрес
 
-   */
 
- void GetIpStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Текущий шлюз
 
-   */
 
- void GetGatewayStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Текущая маска подсети
 
-   */
 
- void GetMaskStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Настройка DHCP
 
-   */
 
- void GetDhcpStateStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Настройка DHCP
 
-   */
 
- void GetDhcpStateUDP(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Настройка DHCP
 
-   */
 
- void GetDhcpStateStrRu(char *str, uint8_t *len);
 
- #ifdef WHITELIST_ENABLE
 
- // ************************************************************************** //
 
- //                             Параметры довверительных хостов
 
- /**
 
-   * @brief  диапазон доверительных хостов
 
-   */
 
- void GetWhiteListSTR(char *str, uint8_t *len, uint8_t num);
 
- /**
 
-   * @brief первый диапазон доверительных хостов
 
-   */
 
- void GetWhiteList1STR(char *str, uint8_t *len);
 
- /**
 
-   * @brief второй диапазон доверительных хостов
 
-   */
 
- void GetWhiteList2STR(char *str, uint8_t *len);
 
- /**
 
-   * @brief третий диапазон доверительных хостов
 
-   */
 
- void GetWhiteList3STR(char *str, uint8_t *len);
 
- /**
 
-   * @brief четвертый диапазон доверительных хостов
 
-   */
 
- void GetWhiteList4STR(char *str, uint8_t *len);
 
- /**
 
-   * @brief пятый диапазон доверительных хостов
 
-   */
 
- void GetWhiteList5STR(char *str, uint8_t *len);
 
- /**
 
-   * @brief  маска диапазона доверительных хостов
 
-   */
 
- void GetWhiteListMask(uint32_t *value, uint8_t num);
 
- /**
 
-   * @brief  ip диапазона доверительных хостов
 
-   */
 
- void GetWhiteListIP(uint32_t *value, uint8_t num);
 
- #endif
 
- #ifdef PORTGW_ENABLE
 
- // ************************************************************************** //
 
- //                             Параметры прозрачного порта
 
- /**
 
-   * @brief  Включен/Выключен
 
-   */
 
- void GetPortGwEnabledStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  IP-адрес
 
-   */
 
- void GetPortGwIpStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Сетевой порт
 
-   */
 
- void GetPortGwPortnumStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Скорость передачи данных
 
-   */
 
- void GetPortGwBaudStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Четность
 
-   */
 
- void GetPortGwParityStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Число бит данных
 
-   */
 
- void GetPortGwDatabitsStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Число стоп-бит
 
-   */
 
- void GetPortGwStopbitsStr(char *str, uint8_t *len);
 
- #endif
 
- // ************************************************************************** //
 
- //                             Параметры SNMP
 
- /**
 
-   * @brief  Текущее TRAP community
 
-   */
 
- void GetTrapCommunity(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Текущее community для чтения
 
-   */
 
- void GetReadCommunity(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Текущее community для записи
 
-   */
 
- void GetWriteCommunity(char *str, uint8_t *len);
 
- /**
 
-   * @brief  IP SNMP менеджера
 
-   */
 
- void GetManagerIp(char *str, uint8_t *len);
 
- void GetManagerIp2(char *str, uint8_t *len);
 
- void GetManagerIp3(char *str, uint8_t *len);
 
- void GetManagerIp4(char *str, uint8_t *len);
 
- void GetManagerIp5(char *str, uint8_t *len);
 
- #ifdef RADIUS_SERVER_ENABLE
 
- // ************************************************************************** //
 
- //                             Параметры RADIUS
 
- /**
 
-   * @brief  Текущий IP адрес
 
-   */
 
- void GetRDSIpStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Текущий Порт
 
-   */
 
- void GetRDSPortStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Текущий Код access
 
-   */
 
- void GetRDSKeyAccesstStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Текущая пароль RADIUS
 
-   */
 
- void GetRDSPasswordkStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Настройка вкл/ выкл RADIUS сервера
 
-   */
 
- void GetRDSEnableStateStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Настройка вкл/ выкл авторизации
 
-   */
 
- void GetAuthEnableStateStr(char *str, uint8_t *len);
 
- #endif
 
- // ************************************************************************** //
 
- //                             Параметры реле/сухих контактов
 
- #ifdef DINS_ENABLE
 
- /**
 
-   * @brief  Тип действий при срабатывание сухих контактов
 
-   */
 
- void GetDINTypeActStr(char *str, uint8_t *len, uint8_t num);
 
- /**
 
-   * @brief  Тип действий при срабатывание сухих контактов
 
-   */
 
- void GetDIN1TypeActStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Состояние сухого контакта
 
-   */
 
- void GetDINStatusStr(char *str, uint8_t *len, uint8_t num);
 
- /**
 
-   * @brief  Состояние сухого контакта
 
-   */
 
- void GetDIN0StatusStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Состояние сухого контакта
 
-   */
 
- void GetDIN0StatusStrRU(char *str, uint8_t *len);
 
- #endif
 
- #ifdef DOUTS_ENABLE
 
- /**
 
-   * @brief  Источник срабатывания реле
 
-   */
 
- void GetROTypeActStr(char *str, uint8_t *len, uint8_t num);
 
- /**
 
-   * @brief  Источник срабатывания реле
 
-   */
 
- void GetRO0TypeActStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Источник срабатывания реле
 
-   */
 
- void GetRO1TypeActStr(char *str, uint8_t *len);
 
- #ifdef HARDWARE_BT6707
 
- /**
 
-   * @brief  Источник срабатывания реле
 
-   */
 
- void GetRO2TypeActStr(char *str, uint8_t *len);
 
- #endif
 
- /**
 
-   * @brief  Состояние релейного выхода
 
-   */
 
- void GetDOUTStatusStr(char *str, uint8_t *len, uint8_t num);
 
- /**
 
-   * @brief  Состояние релейного выхода
 
-   */
 
- void GetDOUTStatusStrRU(char *str, uint8_t *len, uint8_t num);
 
- /**
 
-   * @brief  Состояние релейного выхода
 
-   */
 
- void GetDOUT0StatusStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Состояние релейного выхода
 
-   */
 
- void GetDOUT1StatusStr(char *str, uint8_t *len);
 
- #if defined HARDWARE_BT6707
 
- /**
 
-   * @brief  Состояние релейного выхода
 
-   */
 
- void GetDOUT2StatusStr(char *str, uint8_t *len);
 
- #endif
 
- #endif
 
- #ifdef TELNET_ENABLE
 
- // ************************************************************************** //
 
- //                             Параметры Telnet
 
- /**
 
-   * @brief Текущий Порт
 
-   */
 
- void GetTelnetPortStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Настройка вкл/ выкл Telnet сервера
 
-   */
 
- void GetTelnetEnableStateStr(char *str, uint8_t *len);
 
- // ************************************************************************** //
 
- //                             Параметры SSH
 
- /**
 
-   * @brief Текущий Порт
 
-   */
 
- void GetSSHPortStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Настройка вкл/ выкл SSH сервера
 
-   */
 
- void GetSSHEnableStateStr(char *str, uint8_t *len);
 
- #endif
 
- // ************************************************************************** //
 
- //                                Флаги
 
- /**
 
-   * @brief  Установить признак изменения сетевых параметров
 
-   */
 
- void GetWebReinitFlag(char *str, uint8_t *len);
 
- // ************************************************************************** //
 
- //                             Параметры настройки ИБП
 
- /**
 
-   * @brief  Минимальное напряжение на ячейках АКБ
 
-   */
 
- void GetUPSVoltCellMinStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Минимальное напряжение на ячейках АКБ
 
-   */
 
- void GetUPSVoltCellMinInt(float *value);
 
- /**
 
-   * @brief  Максимальное напряжение на ячейках АКБ
 
-   */
 
- void GetUPSVoltCellMaxStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief  Максимальное напряжение на ячейках АКБ
 
-   */
 
- void GetUPSVoltCellMaxInt(float *value);
 
- /**
 
-   * @brief Дата замены АКБ
 
-   */
 
- void GetDataNextChangeAKBStrRU(char *str, uint8_t *len);
 
- /**
 
-   * @brief Дата замены АКБ
 
-   */
 
- void GetDataNextChangeAKBStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Дата установки АКБ
 
-   */
 
- void GetDataSetAKBStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Срок службы АКБ
 
-   */
 
- void GetLifeTimeAKBStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Номинальное напряжение АКБ
 
-   */
 
- void GetVoltageAKBNominalStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Полная мощность АКБ
 
-   */
 
- void GetUPSPowerStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Емкость АКБ
 
-   */
 
- void GetCapacityNominalAKBStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Емкость АКБ
 
-   */
 
- void GetCapacityNominalAKBInt(int32_t *value);
 
- // ************************************************************************** //
 
- //                             Параметры менеджера аварийных событий
 
- /**
 
-   * @brief Верхняя граница VAC
 
-   */
 
- void GetVACAlarmHighRangeStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Верхняя граница VAC
 
-   */
 
- void GetVACAlarmHighRangeInt(int32_t *value);
 
- /**
 
-   * @brief Нижняя граница VAC
 
-   */
 
- void GetVACAlarmLowRangeStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Нижняя граница VAC
 
-   */
 
- void GetVACAlarmLowRangeInt(int32_t *value);
 
- /**
 
-   * @brief Гистерезис (VAC)
 
-   */
 
- void GetVACAlarmHisteStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Гистерезис (VAC)
 
-   */
 
- void GetVACAlarmHisteInt(float *value);
 
- /**
 
-   * @brief Верхняя граница температуры
 
-   */
 
- void GetTemperatureAlarmHighRangeStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Верхняя граница температуры
 
-   */
 
- void GetTemperatureAlarmHighRangeInt(int32_t *value);
 
- /**
 
-   * @brief Нижняя граница температуры
 
-   */
 
- void GetTemperatureAlarmLowRangeStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Нижняя граница температуры
 
-   */
 
- void GetTemperatureAlarmLowRangeInt(int32_t *value);
 
- /**
 
-   * @brief Гистерезис (температура)
 
-   */
 
- void GetTemperatureAlarmHisteStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Гистерезис (температура)
 
-   */
 
- void GetTemperatureAlarmHisteInt(float *value);
 
- /**
 
-   * @brief Верхняя граница нагрузки
 
-   */
 
- void GetLoadAlarmHighRangeStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Верхняя граница нагрузки
 
-   */
 
- void GetLoadAlarmHighRangeInt(int32_t *value);
 
- /**
 
-   * @brief Гистерезис (нагрузки)
 
-   */
 
- void GetLoadAlarmHisteStr(char *str, uint8_t *len);
 
- /**
 
-   * @brief Гистерезис (нагрузки)
 
-   */
 
- void GetLoadAlarmHisteInt(float *value);
 
- // ************************************************************************** //
 
- //                             Установка параметрв
 
- // ************************************************************************** //
 
- /**
 
-   * @brief  Установить признак обновления ПО. 
 
-   */
 
- void SetLoadMode(void);
 
- /**
 
-   * @brief  Установить признак изменения сетевых параметров
 
-   */
 
- void SetWebReinitFlag(bool value);
 
- /**
 
-   * @brief  Установить флаг подтверждения сетевых настроек пользователем
 
-   */
 
- void SetConfirmWebParamsFlag(void);
 
- #ifdef NOTIFICATION_CONTROL_ENABLE
 
- // ************************************************************************** //
 
- //   							Параметры уведомления
 
- /**
 
-   * @brief  Параметр разрешения отправки 
 
-   */
 
- void SetNotificationFlagsStr(uint8_t *value, uint8_t num);
 
- #endif
 
- // ************************************************************************** //
 
- //                             Сетевые параметры
 
- /**
 
-   * @brief  IP адрес
 
-   */
 
- void SetIPStr(char *str);
 
- /**
 
-   * @brief  Шлюз
 
-   */
 
- void SetGatewayStr(char *str);
 
- /**
 
-   * @brief  Текущая маска подсети
 
-   */
 
- void SetMaskStr(char *str);
 
- /**
 
-   * @brief  Настройка DHCP
 
-   */
 
- void SetDhcpStateStr(char *str);
 
- /**
 
-   * @brief  Настройка DHCP
 
-   */
 
- void SetUDPDhcpStateStr(char *str);
 
- #ifdef WHITELIST_ENABLE
 
- // ************************************************************************** //
 
- //                             Параметры довверительных хостов
 
- /**
 
-   * @brief  диапазон доверительных хостов
 
-   */
 
- void SetWhiteListSTR(char *str, uint8_t num);
 
- /**
 
-   * @brief  Первый диапазон доверительных хостов
 
-   */
 
- void SetWhiteList1STR(char *str);
 
- /**
 
-   * @brief  Второй диапазон доверительных хостов
 
-   */
 
- void SetWhiteList2STR(char *str);
 
- /**
 
-   * @brief  Третий диапазон доверительных хостов
 
-   */
 
- void SetWhiteList3STR(char *str);
 
- /**
 
-   * @brief  Четвертый диапазон доверительных хостов
 
-   */
 
- void SetWhiteList4STR(char *str);
 
- /**
 
-   * @brief  Пятый диапазон доверительных хостов
 
-   */
 
- void SetWhiteList5STR(char *str);
 
- #endif
 
- #ifdef PORTGW_ENABLE
 
- // ************************************************************************** //
 
- //                             Параметры прозрачного порта
 
- /**
 
-   * @brief  Включен/Выключен
 
-   */
 
- void SetPortGwEnabledStr(char *str);
 
- /**
 
-   * @brief  Сетевой порт
 
-   */
 
- void SetPortGwPortnumStr(char *str);
 
- /**
 
-   * @brief Скорость передачи данных
 
-   */
 
- void SetPortGwBaudStr(char *str);
 
- /**
 
-   * @brief Четность
 
-   */
 
- void SetPortGwParityStr(char *str);
 
- /**
 
-   * @brief Число бит данных
 
-   */
 
- void SetPortGwDatabitsStr(char *str);
 
- /**
 
-   * @brief Число стоп-бит
 
-   */
 
- void SetPortGwStopbitsStr(char *str);
 
- #endif
 
- // ************************************************************************** //
 
- //                             Параметры SNMP
 
- /**
 
-   * @brief  TRAP community
 
-   */
 
- void SetTrapCommunity(char *str);
 
- /**
 
-   * @brief  Community для чтения
 
-   */
 
- void SetReadCommunity(char *str);
 
- /**
 
-   * @brief  Community для записи
 
-   */
 
- void SetWriteCommunity(char *str);
 
- /**
 
-   * @brief  IP SNMP менеджера
 
-   */
 
- void SetManagerIp(char *str);
 
- void SetManagerIp2(char *str);
 
- void SetManagerIp3(char *str);
 
- void SetManagerIp4(char *str);
 
- void SetManagerIp5(char *str);
 
- /**
 
-   * @brief  Название устройсва устройства
 
-   */
 
- void SetNameDeviceStr(char *str);
 
- /**
 
-   * @brief  Установить владельца
 
-   */
 
- void SetOwner(char *str);
 
- /**
 
-   * @brief  Установить местоположение
 
-   */
 
- void SetLocation(char *str);
 
- /**
 
-   * @brief  Установить комментарий
 
-   */
 
- void SetComment(char *str);
 
- #ifdef RADIUS_SERVER_ENABLE
 
- // ************************************************************************** //
 
- //                             Сетевые параметры RADIUS сервера
 
- /**
 
-   * @brief  IP адрес
 
-   */
 
- void SetRDSIpStr(char *str);
 
- /**
 
-   * @brief  Порт
 
-   */
 
- void SetRDSPortStr(char *str);
 
- /**
 
-   * @brief  Код access
 
-   */
 
- void SetRDSKeyAccesstStr(char *str);
 
- /**
 
-   * @brief  пароль RADIUS
 
-   */
 
- void SetRDSPasswordkStr(char *str);
 
- /**
 
-   * @brief  Настройка вкл/ выкл RADIUS сервера
 
-   */
 
- void SetRDSEnableStateStr(char *str);
 
- /**
 
-   * @brief  Настройка вкл/ выкл авторизации
 
-   */
 
- void SetAuthEnableStateStr(char *str);
 
- #endif
 
- #ifdef TELNET_ENABLE
 
- // ************************************************************************** //
 
- //                             Параметры Telnet
 
- /**
 
-   * @brief Текущий Порт
 
-   */
 
- void SetTelnetPortStr(char *str);
 
- /**
 
-   * @brief  Настройка вкл/ выкл Telnet сервера
 
-   */
 
- void SetTelnetEnableStateStr(char *str);
 
- // ************************************************************************** //
 
- //                             Параметры SSH
 
- /**
 
-   * @brief Текущий Порт
 
-   */
 
- void SetSSHPortStr(char *str);
 
- /**
 
-   * @brief  Настройка вкл/ выкл SSH сервера
 
-   */
 
- void SetSSHEnableStateStr(char *str);
 
- #endif
 
- // ************************************************************************** //
 
- //                             Параметры даты и времени
 
- /**
 
-   * @brief  Дата
 
-   */
 
- void SetDateStr(char *str);
 
- /**
 
-   * @brief  Время
 
-   */
 
- void SetTimeStr(char *str);
 
- /**
 
-   * @brief  Время
 
-   */
 
- void SetTimeWebStr(char *str);
 
- // ************************************************************************** //
 
- //                             Параметры SNTP
 
- /**
 
-   * @brief  Состояние SNTP
 
-   */
 
- void SetSntpStateStr(char *str);
 
- /**
 
-   * @brief  IP адрес SNTP сервера
 
-   */
 
- void SetSntpServerIpStr(char *str);
 
- /**
 
-   * @brief  Часовой пояс контроллера
 
-   */
 
- void SetSntpTimeZoneStr(char *str);
 
- // ************************************************************************** //
 
- //                             Параметры реле/сухих контактов
 
- #ifdef DINS_ENABLE
 
- /**
 
-   * @brief  Тип действий при срабатывание сухих контактов
 
-   */
 
- void SetDINTypeActStr(char *str, uint8_t num);
 
- /**
 
-   * @brief  Тип действий при срабатывание сухих контактов
 
-   */
 
- void SetDIN1TypeActStr(char *str);
 
- #endif
 
- #ifdef DOUTS_ENABLE
 
- /**
 
-   * @brief  Источник срабатывания реле
 
-   */
 
- void SetROTypeActStr(char *str, uint8_t num);
 
- /**
 
-   * @brief  Источник срабатывания реле 1
 
-   */
 
- void SetRO1TypeActStr(char *str);
 
- /**
 
-   * @brief  Источник срабатывания реле 2
 
-   */
 
- void SetRO2TypeActStr(char *str);
 
- #ifdef HARDWARE_BT6707
 
- /**
 
-   * @brief  Источник срабатывания реле 3
 
-   */
 
- void SetRO3TypeActStr(char *str);
 
- #endif
 
- /**
 
-   * @brief
 
-   */
 
- void SetROStr(char *str, uint8_t num);
 
- /**
 
-   * @brief
 
-   */
 
- void SetROInt(uint8_t val, uint8_t num);
 
- #endif
 
- // ************************************************************************** //
 
- //                             Параметры настройки ИБП
 
- /**
 
-   * @brief  Минимальное напряжение на ячейках АКБ
 
-   */
 
- void SetUPSVoltCellMinStr(char *str);
 
- /**
 
-   * @brief  Минимальное напряжение на ячейках АКБ
 
-   */
 
- void SetUPSVoltCellMinInt(float value);
 
- /**
 
-   * @brief  Максимальное напряжение на ячейках АКБ
 
-   */
 
- void SetUPSVoltCellMaxStr(char *str);
 
- /**
 
-   * @brief  Максимальное напряжение на ячейках АКБ
 
-   */
 
- void SetUPSVoltCellMaxInt(float value);
 
- /**
 
-   * @brief Дата установки АКБ
 
-   */
 
- void SetDataSetAKBStr(char *str);
 
- /**
 
-   * @brief Срок службы АКБ
 
-   */
 
- void SetLifeTimeAKBStr(char *str);
 
- /**
 
-   * @brief Номинальное напряжение АКБ
 
-   */
 
- void SetVoltageAKBNominalStr(char *str);
 
- /**
 
-   * @brief Полная мощность АКБ
 
-   */
 
- void SetUPSPowerStr(char *str);
 
- /**
 
-   * @brief Емкость АКБ
 
-   */
 
- void SetCapacityNominalAKBStr(char *str);
 
- // ************************************************************************** //
 
- //                             Параметры менеджера аварий
 
- /**
 
-   * @brief  Верхняя граница VAC
 
-   */
 
- void SetVACAlarmHighRangeStr(char *str);
 
- /**
 
-   * @brief  Верхняя граница VAC
 
-   */
 
- void SetVACAlarmHighRangeInt(float value);
 
- /**
 
-   * @brief  Нижняя граница VAC
 
-   */
 
- void SetVACAlarmLowRangeStr(char *str);
 
- /**
 
-   * @brief  Нижняя граница VAC
 
-   */
 
- void SetVACAlarmLowRangeInt(float value);
 
- /**
 
-   * @brief  Гистерезис (VAC)
 
-   */
 
- void SetVACAlarmHisteStr(char *str);
 
- /**
 
-   * @brief  Гистерезис (VAC)
 
-   */
 
- void SetVACAlarmHisteInt(float value);
 
- /**
 
-   * @brief  Верхняя граница температуры
 
-   */
 
- void SetTemperatureAlarmHighRangeStr(char *str);
 
- /**
 
-   * @brief  Верхняя граница температуры
 
-   */
 
- void SetTemperatureAlarmHighRangeInt(float value);
 
- /**
 
-   * @brief  Нижняя граница температуры
 
-   */
 
- void SetTemperatureAlarmLowRangeStr(char *str);
 
- /**
 
-   * @brief  Нижняя граница температуры
 
-   */
 
- void SetTemperatureAlarmLowRangeInt(float value);
 
- /**
 
-   * @brief  Гистерезис (температура)
 
-   */
 
- void SetTemperatureAlarmHisteStr(char *str);
 
- /**
 
-   * @brief  Гистерезис (температура)
 
-   */
 
- void SetTemperatureAlarmHisteInt(float value);
 
- /**
 
-   * @brief  Верхняя граница нагрузки
 
-   */
 
- void SetLoadAlarmHighRangeStr(char *str);
 
- /**
 
-   * @brief  Верхняя граница нагрузки
 
-   */
 
- void SetLoadAlarmHighRangeInt(float value);
 
- /**
 
-   * @brief  Гистерезис (нагрузки)
 
-   */
 
- void SetLoadAlarmHistStr(char *str);
 
- /**
 
-   * @brief  Гистерезис (нагрузки)
 
-   */
 
- void SetLoadAlarmHistInt(float value);
 
- void SetEmptyFuncStr(char *str);
 
- #endif /* #ifndef PARAMETERS_H */
 
- /********************************* (C) РОТЕК **********************************/
 
 
  |