PM_to_FTG.mvc 614 B

123456789101112131415161718192021222324
  1. // TODO for each activity, we make the parent
  2. // TODO for each formalism, we make the type
  3. // TODO for each link, we make the consume/produce link
  4. // TODO ignore the control links and control elements
  5. include "primitives.alh"
  6. include "modelling.alh"
  7. include "object_operations.alh"
  8. Composite schedule {
  9. {Contains} Failure failure {}
  10. {Contains} Success success {}
  11. }
  12. // Initial (schedule, translate_activity) {}
  13. // OnSuccess (translate_activity, translate_formalism) {}
  14. // OnFailure (translate_activity, translate_formalism) {}
  15. translate_activity
  16. translate_formalism
  17. translate_consume
  18. translate_produce