mm_runtime.od 909 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. ##################################################
  2. pm_State:Class {
  3. abstract = True;
  4. }
  5. ##################################################
  6. pm_ArtefactState:Class
  7. :Inheritance (pm_ArtefactState -> pm_State)
  8. pm_ArtefactState_data:AttributeLink (pm_ArtefactState -> Bytes) {
  9. name = "data";
  10. optional = False;
  11. }
  12. ##################################################
  13. pm_CtrlPortState:Class
  14. :Inheritance (pm_CtrlPortState -> pm_State)
  15. pm_CtrlPortState_active:AttributeLink (pm_CtrlPortState -> Boolean) {
  16. name = "active";
  17. optional = False;
  18. }
  19. ##################################################
  20. ##################################################
  21. pm_Of:Association (pm_State -> pm_Stateful) {
  22. # one-to-one
  23. source_lower_cardinality = 1;
  24. source_upper_cardinality = 1;
  25. target_lower_cardinality = 1;
  26. target_upper_cardinality = 1;
  27. }
  28. ##################################################