From OpenSCADAWiki
Jump to: navigation, search

Enter a message name below to show all available translations.

Message

Found 3 translations.

NameCurrent message text
 h English (en)Functions of the parameter object of the controller (SYS.DAQ["Modul"]["Controller"]["Parameter"]):
* ''ElTp cfg( string nm )'' — gets the value of the configuration field ''nm'' of the object.
* ''bool cfgSet( string nm, ElTp val )'' [<span style='color:red'>access to the appropriate subsystem</span>] — sets the configuration field ''nm'' of the object to the value ''val''.
* ''TCntrNodeObj cntr( )'' — returns the controller object regardless of the nesting parameters.
* ''bool messSet( string mess, int lev, string type2Code = "OP", string cat = "")'' — sets of the DAQ-sourced message ''mess'' with the level ''lev'', for the parameter, whose name inserted hierarchically to the text whether from the description field "'''MessName: {Name}'''" (even empty for hide) or from not empty name;
* ''bool alarmSet( string mess, int lev = -5, bool force = false )'' — sets/removes of the violation ''mess'' with the level ''lev'' (negative to set otherwise to remove) for the parameter, whose name inserted hierarchically to the text whether from the description field "'''MessName: {Name}'''" (even empty for hide) or from not empty name. The alarms clearance, as the setting also, works in the toggling mode, so means of passing the clearance messages to the message buffer, and the same clearance, only at the according violations presence, what may be disabled setting ''force''.
* ''bool attrAdd( string id, string name, string tp = "real", string selValsNms = "" )'' [<span style="color: red">for enabled dynamically controlled parameter</span>] — adds the attribute ''id'' with the name ''name'' and the type ''tp''. If the attribute is already present, the properties will be applied that can be changed on the go: name, selection mode and selection options.
** ''id, name'' — identifier and name of the new attribute;
** ''tp'' — attribute type [bool[ean] | int[eger] | real | string | text | object] + selection mode [sel | seled] + read-only [ro];
** ''selValsNms'' — two lines with values in first and their names in second, separated by ";".
* ''bool attrDel( string id )'' [<span style="color: red">for enabled dynamically controlled parameter</span>] — removes the attribute ''id''.
 h Russian (ru)Функции объекта параметра контроллера (SYS.DAQ["Modul"]["Controller"]["Parameter"]):
* ''ElTp cfg( string nm )'' — получает значение конфигурационного поля ''nm'' объекта.
* ''bool cfgSet( string nm, ElTp val )'' [<span style='color:red'>доступ к соответствующей подсистеме</span>] — устанавливает конфигурационное поля ''nm'' объекта в значение ''val''.
* ''TCntrNodeObj cntr( )'' — возвращает объект контроллера этого параметра, независимо от вложенности.
* ''bool messSet( string mess, int lev, string type2Code = "OP", string cat = "")'' — устанавливает сообщение источника данных ''mess'' с уровнем ''lev'', для параметра.
* ''bool alarmSet( string mess, int lev = -5, bool force = false )'' — устанавливает/снимает нарушение ''mess'' с уровнем ''lev'' (отрицательный для установки иначе снятие) для этого параметра. Очистка нарушений, как и установка, работает в режиме переключателя, что предусматривает пропуск сообщений очистки в буфер сообщений, и саму очистку, только при наличии соответствующего нарушения, что может быть отключено установкой ''force''.
 h Ukrainian (uk)Функції об'єкту параметру контролера (SYS.DAQ["Modul"]["Controller"]["Parameter"]):
* ''ElTp cfg( string nm )'' — отримує значення конфігураційного поля ''nm'' об'єкту.
* ''bool cfgSet( string nm, ElTp val )'' [<span style='color:red'>доступ до відповідної підсистеми</span>] — встановлює конфігураційне поля ''nm'' об'єкту у значення ''val''.
* ''TCntrNodeObj cntr( )'' — повертає об'єкт контролеру цього параметру, незалежно від вкладеності.
* ''bool messSet( string mess, int lev, string type2Code = "OP", string cat = "")'' — встановлює повідомлення джерела даних ''mess'' із рівнем ''lev'', для параметру, чия назва вставляється до тексту ієрархічно або із поля опису "'''MessName: {Name}'''" (навіть порожнє для приховування) або із непорожньої назви.
* ''bool alarmSet( string mess, int lev = -5, bool force = false )'' — встановлює/знімає порушення ''mess'' з рівнем ''lev'' (негативне для встановлення інакше зняття) для цього параметру, чия назва вставляється до тексту ієрархічно або із поля опису "'''MessName: {Name}'''" (навіть порожнє для приховування) або із непорожньої назви. Очищення порушень, так як і встановлення, працює у режимі перемикача, що передбачає пропуск повідомлень очищення до буферу повідомлень, та саме очищення, лише за наявності відповідного порушення, що може бути вимкнено встановленням ''force''.
* ''bool attrAdd( string id, string name, string tp = "real", string selValsNms = "" )'' [<span style="color: red">для включеного динамічно-контрольованого параметру</span>] — додання атрибуту ''id'' з ім'ям ''name'' та типом ''tp''. Якщо атрибут вже присутній то будуть застосовані властивості, які можливо змінити "на ходу": ім'я, режим вибору та параметри вибору.
** ''id, name'' — ідентифікатор та ім'я нового атрибуту;
** ''tp'' — тип атрибута [bool[ean] | int[eger] | real | string | text | object] + режим вибору [sel | seled] + тільки для читання [ro];
** ''selValsNms'' — два рядки зі значеннями у першому та їх іменами у другому, поділені ";".
* ''bool attrDel( string id )'' [<span style="color: red">для включеного динамічно-контрольованого параметру</span>] — видалення атрибуту ''id''.