~aleteoryx/muditaos

ref: master muditaos/module-services/service-evtmgr/doc/light_control_message_flow.svg -rw-r--r-- 7.9 KiB
2cd0e472 — Lefucjusz [BH-000] Update Harmony 2.10.0 changelog 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="290px" preserveAspectRatio="none" style="width:740px;height:290px;background:#F0F0F0;" version="1.1" viewBox="0 0 740 290" width="740px" zoomAndPan="magnify"><defs><filter height="300%" id="f1calxvr0t9xi6" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#F0F0F0" filter="url(#f1calxvr0t9xi6)" height="90.2031" style="stroke: #000000; stroke-width: 2.0;" width="357" x="13" y="55.2969"/><rect fill="#F0F0F0" height="43.9375" style="stroke: none; stroke-width: 1.0;" width="357" x="13" y="101.5625"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="69" x2="69" y1="38.2969" y2="249.8984"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="272" x2="272" y1="38.2969" y2="249.8984"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="418" x2="418" y1="38.2969" y2="249.8984"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="561" x2="561" y1="38.2969" y2="249.8984"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="681" x2="681" y1="38.2969" y2="249.8984"/><rect fill="#FEFECE" filter="url(#f1calxvr0t9xi6)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="89" x="23" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="75" x="30" y="22.9951">Application</text><rect fill="#FEFECE" filter="url(#f1calxvr0t9xi6)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="89" x="23" y="248.8984"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="75" x="30" y="268.8936">Application</text><rect fill="#FEFECE" filter="url(#f1calxvr0t9xi6)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="117" x="212" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="103" x="219" y="22.9951">Event Manager</text><rect fill="#FEFECE" filter="url(#f1calxvr0t9xi6)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="117" x="212" y="248.8984"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="103" x="219" y="268.8936">Event Manager</text><rect fill="#FEFECE" filter="url(#f1calxvr0t9xi6)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="146" x="343" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="132" x="350" y="22.9951">ScreenLightControl</text><rect fill="#FEFECE" filter="url(#f1calxvr0t9xi6)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="146" x="343" y="248.8984"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="132" x="350" y="268.8936">ScreenLightControl</text><rect fill="#FEFECE" filter="url(#f1calxvr0t9xi6)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="112" x="503" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="98" x="510" y="22.9951">Eink Frontlight</text><rect fill="#FEFECE" filter="url(#f1calxvr0t9xi6)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="112" x="503" y="248.8984"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="98" x="510" y="268.8936">Eink Frontlight</text><rect fill="#FEFECE" filter="url(#f1calxvr0t9xi6)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="100" x="629" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="86" x="636" y="22.9951">Light Sensor</text><rect fill="#FEFECE" filter="url(#f1calxvr0t9xi6)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="100" x="629" y="248.8984"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="86" x="636" y="268.8936">Light Sensor</text><path d="M13,55.2969 L77,55.2969 L77,62.2969 L67,72.2969 L13,72.2969 L13,55.2969 " fill="#EEEEEE" style="stroke: #000000; stroke-width: 1.0;"/><rect fill="none" height="90.2031" style="stroke: #000000; stroke-width: 2.0;" width="357" x="13" y="55.2969"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="19" x="28" y="68.3638">alt</text><text fill="#000000" font-family="sans-serif" font-size="11" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="273" x="92" y="67.5073">[control message without any parameters]</text><polygon fill="#A80036" points="260.5,89.5625,270.5,93.5625,260.5,97.5625,264.5,93.5625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="69.5" x2="266.5" y1="93.5625" y2="93.5625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="179" x="76.5" y="88.4966">ScreenLightControlMessage</text><line style="stroke: #000000; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="13" x2="370" y1="102.5625" y2="102.5625"/><text fill="#000000" font-family="sans-serif" font-size="11" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="220" x="18" y="112.7729">[contol message with parameters]</text><polygon fill="#A80036" points="260.5,133.5,270.5,137.5,260.5,141.5,264.5,137.5" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="69.5" x2="266.5" y1="137.5" y2="137.5"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="173" x="76.5" y="132.4341">ScreenLightSetParameters</text><polygon fill="#A80036" points="406,169.6328,416,173.6328,406,177.6328,410,173.6328" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="272.5" x2="412" y1="173.6328" y2="173.6328"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="112" x="279.5" y="168.5669">processRequest()</text><polygon fill="#A80036" points="549,198.7656,559,202.7656,549,206.7656,553,202.7656" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="418" x2="555" y1="202.7656" y2="202.7656"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="425" y="197.6997">request</text><polygon fill="#A80036" points="669,227.8984,679,231.8984,669,235.8984,673,231.8984" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="418" x2="675" y1="231.8984" y2="231.8984"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="425" y="226.8325">request</text><!--MD5=[b6578d7be777d2d6af148ac0469541ed]
@startuml
skinparam BackgroundColor F0F0F0
alt control message without any parameters
Application -> "Event Manager" as evm : ScreenLightControlMessage
else contol message with parameters
Application -> "Event Manager" as evm : ScreenLightSetParameters
end
evm -> "ScreenLightControl" as slc: processRequest()
slc -> "Eink Frontlight" : request
slc -> "Light Sensor" : request
@enduml

PlantUML version 1.2020.02(Sun Mar 01 05:22:07 EST 2020)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.12+7-post-Debian-2
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>