Commit 005f57450cca1943ae9398ef36c062c1046b9a7f

Authored by Etienne Pallier
1 parent 03e638bc
Exists in dev

new AgentMajordome object diag

src/core/pyros_django/majordome/doc/AgentMajordome_object_diag.pu 0 → 100755
... ... @@ -0,0 +1,77 @@
  1 +
  2 +@startuml
  3 +
  4 +/'
  5 +UML class Diagram : can be displayed with PlantUML (plugin for Eclipse or for PyCharm)
  6 +
  7 +PlantUML:
  8 +- How to install : https://projects.irap.omp.eu/projects/pyros/wiki/Project_Development#PlantUML
  9 +- Eclipse plugin : http://plantuml.com/eclipse
  10 +- class diagrams : http://plantuml.com/class-diagram
  11 +- sequence diagrams : http://plantuml.com/sequence-diagram
  12 +- state diagrams : http://plantuml.com/state-diagram
  13 +- Use Case diagrams : http://plantuml.com/use-case-diagram
  14 +- OLD Activity diagrams : http://plantuml.com/activity-diagram-legacy
  15 +- NEW Activity diagrams : http://plantuml.com/activity-diagram-beta
  16 +- Pre-processing (include...) : http://plantuml.com/preprocessing
  17 +- GANTT diagrams : http://plantuml.com/gantt-diagram
  18 +- REAL WORLD EXAMPLES !!! : https://real-world-plantuml.com/
  19 +- For Python:
  20 + - https://github.com/SamuelMarks/python-plantuml
  21 + - https://pythonhosted.org/plantuml/
  22 +
  23 +UML diagrams theory : https://www.ibm.com/developerworks/rational/library/content/RationalEdge/sep04/bell/index.html
  24 +'/
  25 +
  26 +title
  27 +__**AgentMajordome object example diagram (context)**__
  28 +end title
  29 +
  30 +
  31 +
  32 +/' Abstract Devices Controllers '/
  33 +
  34 +object AgentMajordome <<Singleton>> #yellow
  35 +
  36 +object AgentDeviceTelescope
  37 +object AgentDeviceFilterSelector
  38 +object AgentDeviceShutter
  39 +object AgentDeviceSensor
  40 +
  41 +
  42 +AgentMajordome o-> AgentDeviceFilterSelector
  43 +AgentMajordome o-> AgentDeviceShutter
  44 +AgentMajordome o-> AgentDeviceSensor
  45 +AgentMajordome o-> AgentDeviceTelescope
  46 +
  47 +object AgentDeviceSBIG <<Singleton>>
  48 +
  49 +AgentDeviceFilterSelector --> AgentDeviceSBIG :is a
  50 +AgentDeviceShutter --> AgentDeviceSBIG :is a
  51 +AgentDeviceSensor --> AgentDeviceSBIG :is a
  52 +object AgentDeviceTelescopeGemini <<Singleton>>
  53 +AgentDeviceTelescope --> AgentDeviceTelescopeGemini :is a
  54 +
  55 +
  56 +class FilterSelectorController #lightblue
  57 +class DetectorShutterController #lightblue
  58 +class DetectorSensorController #lightblue
  59 +
  60 +object SBIGController <<Singleton>> #lightblue
  61 +AgentDeviceSBIG --> SBIGController :use
  62 +SBIGController --|> FilterSelectorController
  63 +SBIGController --|> DetectorShutterController
  64 +SBIGController --|> DetectorSensorController
  65 +
  66 +object SBIGSimulator #lightblue
  67 +SBIGController o-- SBIGSimulator
  68 +
  69 +class TelescopeController #lightblue
  70 +object TelescopeGeminiController <<Singleton>> #lightblue
  71 +AgentDeviceTelescopeGemini --> TelescopeGeminiController :use
  72 +TelescopeGeminiController --|> TelescopeController
  73 +object TelescopeGeminiSimulator #lightblue
  74 +TelescopeGeminiController o-- TelescopeGeminiSimulator
  75 +
  76 +
  77 +@enduml
... ...
src/devices_controller/doc/Device_controller_class_diag.pu
... ... @@ -135,6 +135,9 @@ DetectorSensorControllerAbstract &lt;|-- SBIGController
135 135 DetectorShutterControllerAbstract <|-- SBIGController
136 136 FilterSelectorControllerAbstract <|-- SBIGController
137 137  
  138 +SBIGController o-> SBIGSimulator
  139 +SBIGController <-- AgentDeviceSBIG
  140 +
138 141 MountPointingControllerAbstract <|-- DeltaTauController
139 142 DetectorFocusControllerAbstract <|-- DeltaTauController
140 143 FilterSelectorControllerAbstract <|-- DeltaTauController
... ...