From OpenSCADAWiki
Enter a message name below to show all available translations.
Found 2 translations.
| Name | Current message text |
|---|---|
| h English (en) | === {{Anch|UserAPI|API of the user programming}} === <section begin=UserAPI /> API of the user programming of the visualization engine are represented directly by the OpenSCADA objects, which form the user interface, that is by the "Session" and "Widgets-pages". For the user, these objects provide a set of control functions: <section begin=API /> [[File:Oscada UserOM VCAEngine.png|right|User object model of the module VCAEngine.]] '''Object "Session" ( this.ownerSess() )''' * ''string user( )'' 鈥 current session user. * ''int alrmQuietance( int quit_tmpl, string wpath = "", bool ret = false )'' 鈥 quiets of the violations ''wpath'' with the template ''quit_tmpl''. If ''wpath'' is empty string then the global quietance makes. In the string ''wpath'', by symbol ';', can be enumerated addresses of several widgets. When set the ''ret'', the quietance return is performed. * ''int reqTm( )'' 鈥 last request time in seconds from the epoch of 1/1/1970. * ''string reqUser( )'' 鈥 last request user. * ''string reqLang( )'' 鈥 last request language. * ''int userActTm( )'' 鈥 last user action time in seconds from the epoch of 1/1/1970. * ''bool uiCmd( string cmd, string prm, string src )'' 鈥 sends a UI command of the pages managing, that is: "open", "next", "prev"; for more details see in [[#Events|the events section]]. This function must be in the priority of using to the pages managing before the direct writing to the page attributes "pgOpen" and "pgOpenSrc" due it is single method of the correct work with [[#Project|the linked pages]]. * ''int period( bool isReal = false )'' 鈥 getting the session processing period, ''isReal'' for the real one. |
| h Ukrainian (uk) | === {{Anch|UserAPI|API 泻芯褉懈褋褌褍胁邪褑褜泻芯谐芯 锌褉芯谐褉邪屑褍胁邪薪薪褟}} === <section begin=UserAPI /> API 泻芯褉懈褋褌褍胁邪褑褜泻芯谐芯 锌褉芯谐褉邪屑褍胁邪薪薪褟 褉褍褕褨褟 胁褨蟹褍邪谢褨蟹邪褑褨褩 斜械蟹锌芯褋械褉械写薪褜芯 锌褉械写褋褌邪胁谢械薪芯 芯斜'褦泻褌邪屑懈 OpenSCADA, 褖芯 褎芯褉屑褍褞褌褜 泻芯褉懈褋褌褍胁邪褑褜泻懈泄 褨薪褌械褉褎械泄褋, 邪 褋邪屑械 "小械邪薪褋芯屑" 褌邪 "袙褨写卸械褌邪屑懈-褋褌芯褉褨薪泻邪屑懈". 袛谢褟 泻芯褉懈褋褌褍胁邪褔邪 褑褨 芯斜'褦泻褌懈 薪邪写邪褞褌褜 薪邪斜褨褉 褎褍薪泻褑褨泄 褍锌褉邪胁谢褨薪薪褟: <section begin=API /> [[File:Oscada UserOM VCAEngine_uk.png|right|袨斜'褦泻褌薪邪 屑芯写械谢褜 泻芯褉懈褋褌褍胁邪褔邪 屑芯写褍谢褟 VCAEngine.]] '''袨斜'褦泻褌 "小械邪薪褋" ( this.ownerSess() )''' * ''string user( )'' 鈥 锌芯褌芯褔薪懈泄 泻芯褉懈褋褌褍胁邪褔 褋械邪薪褋褍. * ''int alrmQuietance( int quit_tmpl, string wpath = "", bool ret = false )'' 鈥 褋褌懈褕褍褦 锌芯褉褍褕械薪薪褟 ''wpath'' 蟹 褕邪斜谢芯薪芯屑 ''quit_tmpl''. 携泻褖芯 ''wpath'' 褑械 锌芯褉芯卸薪褨泄 褉褟写芯泻 褌芯 蟹写褨泄褋薪褞褦褌褜褋褟 谐谢芯斜邪谢褜薪械 褋褌懈褕械薪薪褟. 校 褉褟写泻褍 ''wpath'', 褔械褉械蟹 褋懈屑胁芯谢 ';', 屑芯卸械 斜褍褌懈 锌械褉械谢褨褔械薪芯 邪写褉械褋懈 写械泻褨谢褜泻芯褏 胁褨写卸械褌褨胁. 袩褉懈 胁褋褌邪薪芯胁谢械薪褨 ''ret'' 蟹写褨泄褋薪褞褦褌褜褋褟 锌芯胁械褉薪械薪薪褟 褋褌懈褕械薪薪褟. * ''int reqTm( )'' 鈥 褔邪褋 芯褋褌邪薪薪褜芯谐芯 蟹邪锌懈褌褍 褍 褋械泻褍薪写邪褏 胁褨写 械锌芯褏懈 1.1.1970. * ''string reqUser( )'' 鈥 泻芯褉懈褋褌褍胁邪褔 芯褋褌邪薪薪褜芯谐芯 蟹邪锌懈褌褍. * ''string reqLang( )'' 鈥 屑芯胁邪 芯褋褌邪薪薪褜芯谐芯 蟹邪锌懈褌褍. * ''int userActTm( )'' 鈥 褔邪褋 芯褋褌邪薪薪褜芯褩 写褨褩 泻芯褉懈褋褌褍胁邪褔邪 褍 褋械泻褍薪写邪褏 胁褨写 械锌芯褏懈 1.1.1970. * ''bool uiCmd( string cmd, string prm, string src )'' 鈥 薪邪写褋懈谢邪褦 UI 泻芯屑邪薪写褍 泻械褉褍胁邪薪薪褟 褋褌芯褉褨薪泻邪屑懈, 褟泻 褌芯: "open", "next", "prev"; 写械褌邪谢褜薪褨褕械 写懈胁懈褌褜褋褟 褍 [[#Events|褋械泻褑褨褩 锌芯写褨泄]]. 笑褟 褎褍薪泻褑褨褟 屑邪褦 斜褍褌懈 锌褉褨芯褉懈褌械褌薪芯褞 写谢褟 胁懈泻芯褉懈褋褌邪薪薪褟 褍 泻械褉褍胁邪薪薪褨 褋褌芯褉褨薪泻邪屑懈 锌械褉械写 锌褉褟屑懈屑 蟹邪锌懈褋芯屑 写芯 邪褌褉懈斜褍褌褨胁 褋褌芯褉褨薪芯泻 "pgOpen" 褌邪 "pgOpenSrc", 芯褋泻褨谢褜泻懈 褑械 褦写懈薪懈泄 屑械褌芯写 泻芯褉械泻褌薪芯褩 锌芯胁芯写卸械薪薪褟 蟹 [[#Project|谢褨薪泻芯胁邪薪懈屑懈 褋褌芯褉褨薪泻邪屑懈]]. * ''int period( bool isReal = false )'' 鈥 芯褌褉懈屑邪薪薪褟 锌械褉褨芯写褍 芯锌褉邪褑褞胁邪薪薪褟 褋械邪薪褋褍, ''isReal'' 写谢褟 褉械邪谢褜薪芯谐芯 锌械褉褨芯写褍. |