OpenSCADAWiki: Using/Graphic Elements Libraries/ Mnemo Elements ...

Home | Index | Changes | Comments | Users | Registration | Login  Password:  
 
This is an old revision of Using/GraphicElementsLibraries/MnemoElements from 2011-05-24 14:07:25..
English (1 Kb) English version
Ukrainian (1 Kb) Óêðà¿íñüêà âåðñ³ÿ?

Áèáëèîòåêà ýëåìåíòîâ ìíåìîñõåì ïîëüçîâàòåëüñêîãî èíòåðôåéñà

Èìÿ:mnEls
Îñíîâàí:ñåíòÿáðü 2007ã
Âåðñèÿ:0.5.0
Ñòàòóñ:Îòêðûòûé (GPL)
Àâòîð:Ðîìàí Ñàâî÷åíêî, Ìàêñèì Ëûñåíêî, ßøèíà Êñåíèÿ
Îïèñàíèå:Ïðåäîñòàâëÿåò áèáëèîòåêó ýëåìåíòîâ ìíåìîñõåì ïîëüçîâàòåëüñêîãî èíòåðôåéñà.
Èñòî÷íèê: ÁÄ îñíîâíûõ áèáëèîòåê ãðàôè÷åñêèõ ýëåìåíòîâ, â ôàéëå: SQLite.vcaBase.wlb_mnEls ( vcabase.db.gz )


Contents

Î áèáëèîòåêå

Áèáëèîòåêà ñîçäà¸òñÿ äëÿ ïðåäîñòàâëåíèÿ ýëåìåíòîâ ìíåìîñõåì ïîëüçîâàòåëüñêîãî èíòåðôåéñà. Áèáëèîòåêà ñòðîèòñÿ íà îñíîâå ïðèìèòèâîâ âèäæåòîâ è ìîäóëÿ JavaLikeCalc, ïîçâîëÿþùåãî ñîçäàâàòü âû÷èñëåíèÿ íà Java-ïîäîáíîì ÿçûêå.


Ïîäêëþ÷èòü áèáëèîòåêó îñíîâíûõ ýëåìåíòîâ ïîëüçîâàòåëüñêîãî èíòåðôåéñà ê ïðîåêòó ñòàíöèè OpenSCADA ìîæíî ïóò¸ì çàãðóçêè âëîæåííîãî ôàéëà ÁÄ, ðàçìåùåíèÿ åãî â äèðåêòîðèè ÁÄ ïðîåêòà ñòàíöèè è ñîçäàíèÿ îáúåêòà ÁÄ äëÿ ìîäóëÿ ÁÄ "SQLite", óêàçàâ ôàéë ÁÄ â êîíôèãóðàöèè.


 ñâî¸ì ñîñòàâå áèáëèîòåêà ñîäåðæèò îêîëî ïÿòèäåñÿòè ãðàôè÷åñêèõ ýëåìåíòîâ, ÷àñòî âîñòðåáîâàííûõ ïðè ôîðìèðîâàíèè ìíåìîñõåì ïîëüçîâàòåëüñêîãî èíòåðôåéñà óïðàâëåíèÿ òåõíîëîãè÷åñêèì ïðîöåññîì. Íàçâàíèÿ ýëåìåíòîâ è èõ òåêñòîâûå ïàðàìåòðû äîñòóïíû íà òð¸õ ÿçûêàõ: Àíãëèéñêèé, Ðóññêèé è Óêðàèíñêèé.

1. Ýëåìåíòû òðóáîïðîâîäà áåç ãðàäèåíòíîé çàëèâêè

Íèæå, íà ðèñ. 1, ïðèâåäåí ïåðå÷åíü ýëåìåíòîâ, ïðè ïîìîùè êîòîðûõ ìîæíî âûñòðîèòü òðóáîïðîâîä ëþáîé ñëîæíîñòè. Ïî óìîë÷àíèþ îíè çàëèòû æåëòûì öâåòîì, à èõ óãîë ïîâîðîòà ñîñòàâëÿåò "0" ãðàäóñîâ. Ïóòåì ïîâîðîòà è ìàñøòàáèðîâàíèÿ ýòèõ âèäæåòîâ ìîæíî ïîëó÷èòü âñå íåîáõîäèìûå êîìáèíàöèè.


Ýëåìåíòû òðóáû (2 Kb)
Ðèñ.1. Ýëåìåíòû òðóáîïðîâîäà ñëåâà íàïðàâî: "Êðåñò", "Òðóáà ïðÿìàÿ ãîðèçîíòàëüíàÿ", "Òðóáà ïðÿìàÿ âåðòèêàëüíàÿ", "Ñòðåëà", "Ñòðåëà îáðàòíàÿ", "Òðóäà_Ugol", "Òðóáà_òðîéíèê".

2. Ýëåìåíòû òðóáîïðîâîäà ñ îáúåìíîé çàëèâêîé

Íèæå, íà ðèñ. 2, ïðèâåäåí ïåðå÷åíü ýëåìåíòîâ, ïðè ïîìîùè êîòîðûõ ìîæíî âûñòðîèòü îáúåìíûé òðóáîïðîâîä ëþáîé ñëîæíîñòè. Ïî óìîë÷àíèþ îíè çàëèòû æåëòûì öâåòîì è ïîëóïðîçðà÷íûìè èçîáðàæåíèÿìè â ãðàäàöèÿõ ñåðîãî, à èõ óãîë ïîâîðîòà ñîñòàâëÿåò "0" ãðàäóñîâ. Âèäæåòû ïðåäñòàâëåíû â ÷åòûðåõ âàðèàíòàõ â ñîîòâåòñòâèè ðàçíûì óãëàì ïîâîðîòà. Ñîîòâåòñòâóþò ÃÎÑÒ 21.206-93.


Ýëåìåíòû òðóáû (îáúåìíûå) (19 Kb)
Ðèñ.2. Ýëåìåíòû òðóáîïðîâîäà ñëåâà íàïðàâî è ñâåðõó âíèç: "Êðåñò(îáú¸ìíûé)", "Òðóáà ïðÿìàÿ ãîðèçîíòàëüíàÿ(îáú¸ìíàÿ)", "Òðóáà ïðÿìàÿ âåðòèêàëüíàÿ(îáú¸ìíàÿ)", "ÑòðåëàÃÏ(îáúåìíàÿ)", "ÑòðåëàÃË(îáúåìíàÿ)", "ÑòðåëàÂÍ(îáúåìíàÿ)", "ÑòðåëàÂÂ(îáúåìíàÿ)",
"Ñòðåëà îáðàòíàÿÃË(îáúåìíàÿ)", "Ñòðåëà îáðàòíàÿÃÏ(îáúåìíàÿ)", "Ñòðåëà îáðàòíàÿÂÍ(îáúåìíàÿ)", "Ñòðåëà îáðàòíàÿÂÂ(îáúåìíàÿ)", "Òðóáà_ÓãîëÍË(îáú¸ìíàÿ)", "Òðóáà_ÓãîëÍÏ(îáú¸ìíàÿ)", "Òðóáà_ÓãîëÂË(îáú¸ìíàÿ)", "Òðóáà_ÓãîëÂÏ(îáú¸ìíàÿ)",
"Òðóáà_òðîéíèêÂÏ(îáú¸ìíûé)", "Òðóáà_òðîéíèêÃÍ(îáú¸ìíûé)", "Òðóáà_òðîéíèêÃÂ(îáú¸ìíûé)", "Òðóáà_òðîéíèêÂË(îáú¸ìíûé)", "Òðóáà_ÓãîëÑêðóãëÍË(îáú¸ìíàÿ)", "Òðóáà_ÓãîëÑêðóãëÍÏ(îáú¸ìíàÿ)", "Òðóáà_ÓãîëÑêðóãëÂË(îáú¸ìíàÿ)", "Òðóáà_ÓãîëÑêðóãëÂÏ(îáú¸ìíàÿ)"

3. Ýëåìåíòû, èçîáðàæàþùèå ðàçëè÷íûå òåõíîëîãè÷åñêèå óñòðîéñòâà

Íèæå, íà ðèñ. 3, ïðèâåäåí ïåðå÷åíü ýëåìåíòîâ - èçîáðàæåíèé òåõíîëîãè÷åñêèõ óñòðîéñòâ, ÷àñòî âñòðå÷àþùèõñÿ ïðè ïîñòðîåíèè ìíåìîñõåì ðàçëè÷íûõ òåõíîëîãè÷åñêèõ ïðîöåññîâ. Íåêîòîðûå èç íèõ ñîäåðæàò ñêðèïò, îïèñûâàþùèé èõ ïîâåäåíèå. Áîëüøèíñòâî âèäæåòîâ èìåþò êâàäðàòíóþ ôîðìó, ïîçâîëÿþùóþ ëåãêî ïîâîðà÷èâàòü è ìàñøòàáèðîâàòü èõ ïðè íàäîáíîñòè, óãîë ïîâîðîòà âñåõ âèäæåòîâ ïî óìîë÷àíèþ ðàâåí "0".


Ðàçëè÷íûå òåõíîëîãè÷åñêèå óñòðîéñòâà (36 Kb)
Ðèñ.3. Ýëåìåíòû, èçîáðàæàþùèå òåõíîëîãè÷åñêèå óñòðîéñòâà ñëåâà íàïðàâî è ñâåðõó âíèç: "Êîìïðåññîð", "Êîìïðåññîð_1", "Çàäâèæêà", "Çàäâèæêà(îáúåìíàÿ)", "Êðàí øàðîâûé", "Êðàí ñ ïîëîæåíèåì", "Òð¸õïîçèöèîííûé êðàí", "Àðìàòóðà", "Õîëîäèëüíèê", "Âåíòèëÿòîð", "Ñåïàðàòîð", "Äèàôðàãìà", "Çìåé_ãîð(òåïëîîáìåííèê)".

Ïàðàìåòðû ñâÿçûâàíèÿ

IDÏàðàìåòðÒèïÊîíôèãóðàöèÿÊîíôèãóðàöèîííûé øàáëîíÎïèñàíèå
Âèäæåò "Êðàí øàðîâûé" (El_Kran_Sh)
com Êîìàíäà Ëîãè÷åñêèé Ïîëíàÿ ñâÿçü Parametr|com Êîìàíäà íà çàêðûòèå/îòêðûòèå.
shifr Øèôð Ñòðîêà Ïîëíàÿ ñâÿçü Parametr|NAME Êîðîòêîå èìÿ, øèôð, ïàðàìåòðà.
st_close Ñîñòîÿíèå - "Çàêðûòî" Ëîãè÷åñêèé Ïîëíàÿ ñâÿçü Parametr|st_close Çàêðûòîå ñîñòîÿíèå êðàíà.
st_open Ñîñòîÿíèå - "Îòêðûòî" Ëîãè÷åñêèé Ïîëíàÿ ñâÿçü Parametr|st_open Îòêðûòîå ñîñòîÿíèå êðàíà.
Âèäæåò "Êðàí ñ ïîëîæåíèåì" (El_Kran_polozh)
out Ïîëîæåíèå Âåùåñòâåííûé Âõîäíàÿ ñâÿçü Parametr|out Ñòåïåíü îòêðûòèÿ/çàêðûòèÿ êðàíà.
Âèäæåò "Òð¸õïîçèöèîííûé êðàí" (Kran_3_pos)
out Ïîëîæåíèå Âåùåñòâåííûé Âõîäíàÿ ñâÿçü Parametr|out Ñòåïåíü îòêðûòèÿ/çàêðûòèÿ êðàíà.
Âèäæåò "Êîìïðåññîð" (Compressor)
com Êîìàíäà Ëîãè÷åñêèé Ïîëíàÿ ñâÿçü Parametr|com Êîìàíäà íà ïóñê/îñòàíîâ.

Âèäæåòû "Êðàí øàðîâûé", "Êðàí ñ ïîëîæåíèåì", "Òð¸õïîçèöèîííûé êðàí" èìåþò îáðàáîòêó, êîòîðàÿ çàêëþ÷àåòñÿ â âûçîâå âèäæåòà "Ýëåìåíò êàäð" ïðè íàæàòèè ëåâîé êëàâèøåé ìûøè â ëþáóþ èç çàëèâîê èç áèáëèîòåêè îñíîâíûõ ýëåìåíòîâ ïîëüçîâàòåëüñêîãî èíòåðôåéñà â ðàìêàõ ïàíåëè óïðàâëåíèÿ äëÿ âûïîëíåíèÿ äåéñòâèé íàä ïàðàìåòðîì, ïîäêëþ÷åííûì ê îäíîìó èç ýòèõ âèäæåòîâ.

4. Îñòàëüíûå ýëåìåíòû, êîòîðûå ñëîæíî îòíåñòè ê îïðåäåëåííîé ãðóïïå

Íèæå, íà ðèñ. 4, ïðèâåäåí ïåðå÷åíü îñòàâøèõñÿ â áèáëèîòåêå ýëåìåíòîâ, îíè òàêæå ÷àñòî ìîãóò ïîíàäîáèòüñÿ ïðè ïîñòðîåíèè ìíåìîñõåì. Íåêîòîðûå èç íèõ ñîäåðæàò ñêðèïò, îïèñûâàþùèé èõ ïîâåäåíèå. Áîëüøèíñòâî âèäæåòîâ èìåþò êâàäðàòíóþ ôîðìó, ïîçâîëÿþùóþ ëåãêî ïîâîðà÷èâàòü è ìàñøòàáèðîâàòü èõ ïðè íàäîáíîñòè, óãîë ïîâîðîòà âñåõ âèäæåòîâ ïî óìîë÷àíèþ ðàâåí "0".


Ðàçëè÷íûå ýëåìåíòû (7 Kb)
Ðèñ.4. Ýëåìåíòû ñëåâà íàïðàâî è ñâåðõó âíèç: "Ñêðóãëåííûé ïðÿìîóãîëüíèê", "Ñêðóãëåííûé ïðÿìîóãîëüíèê(âàðèàíò 2)", "Ñêðóãëåííûé ïðÿìîóãîëüíèê(îáúåìíûé)", "Øêàëà", "Óðîâåíü", "Ëèíèÿ", "Ñèãíàëèçàöèÿ".

Ïàðàìåòðû ñâÿçûâàíèÿ

IDÏàðàìåòðÒèïÊîíôèãóðàöèÿÊîíôèãóðàöèîííûé øàáëîíÎïèñàíèå
Âèäæåò "Óðîâåíü"
max Ìàêñèìóì Âåùåñòâåííûé Âõîäíàÿ ñâÿçü Parametr|max Ìàêñèìóì øêàëû.
min Ìèíèìóì Âåùåñòâåííûé Âõîäíàÿ ñâÿçü Parametr|min Ìèíèìóì øêàëû.
var Çíà÷åíèå Âåùåñòâåííûé Âõîäíàÿ ñâÿçü Parametr|var Çíà÷åíèå óðîâíÿ.

 
There are no files on this page.[Display files/form]
There is no comment on this page. [Display comments/form]