Both sides previous revision
Poprzednia wersja
Nowa wersja
|
Poprzednia wersja
|
pl:miw:miw08_bizrulesvocabularies2 [2008/06/10 10:57] miw |
pl:miw:miw08_bizrulesvocabularies2 [2019/06/27 15:50] (aktualna) |
====== Opis ====== | ====== Opis ====== |
| __**Projekt zakończony**__ |
| |
Magdalena, Pluta, <mpluta@wp.pl> | Magdalena, Pluta, <mpluta@wp.pl> |
| |
| |
===== Opis termostatu w SBVR ===== | ===== Opis termostatu w SBVR ===== |
| |
| |
| |
| |
{{:pl:miw:miw08_bizrulesvocabularies2:thermostat1.jpg|thermostat}} | {{:pl:miw:miw08_bizrulesvocabularies2:thermostat1.jpg|thermostat}} |
| |
| |
| |
| |
| |
| |
===== Proponowany algorytm zamiany SBVR <-> ARD ===== | Wykresy zostały sporządzone przy pomocy graficznego programu Dia. |
| |
| |
| |
| |
| Plik źródłowy diagramu {{:pl:miw:miw08_bizrulesvocabularies2:ardindia.tar|ard}}. |
| |
| ===== Algorytm zamiany SBVR <-> ARD ===== |
| |
| Na podstawie oryginalnych [[hekate:hekate_case_thermostat|reguł]] opisujących działanie termostatu zostały zapisane reguły w SBVR. Tak zapisane reguły zostały przedstawione w sposób graficzny przy pomocy diagramu SBVR. |
| |
| Te same oryginalne reguły stały się punktem wyjścia dla stworzenie diagramu ARD. |
| |
| Porównując oba diagramy nasuwa się wniosek, że są one niemalże identyczne. Po usunięciu elementów dotyczących szczegółowego opisu sezonu, pór roku, dni tygodni w tym dni pracujących i wolnych, otrzymujemy diagram identyczny z diagramem ARD. Reguły SBVR opisujące tę część diagramu ograniczają się do reguł: |
| |
| * It is necessary that in spring on business_hours thermostat_setting is ’20 degree’. |
| * It is necessary that in spring on not_on_business_hours thermostat_setting is ’15 degree’. |
| * It is necessary that in summer on business_hours thermostat_setting is ’24 degree’. |
| * It is necessary that in summer on not_on_business_hours thermostat_setting is ’27 degree’. |
| * It is necessary that in autumn on business_hours thermostat_setting is ’20 degree’. |
| * It is necessary that in autumn on not_on_business_hours thermostat_setting is ’16 degree’. |
| * It is necessary that in winter on business_hours thermostat_setting is ’18 degree’. |
| * It is necessary that in winter on not_on_business_hours thermostat_setting is ’14 degree’. |
| |
| |