การ สร้าง Guard ใน State Diagram
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2371173&orderBy=createDate&orderType=desc
สรุปคือ คลิกเข้าไปที่ label ของ Transition ( ลูกศร )
แล้ว ใส่ syntax ดังนี้
trigger [guard] / effect
คือ
สิ่งที่ Trigger [ เงื่อนไขที่เป็น Guard ] / ให้ทำอะไร ผลคืออะไร
เป็น standard UML Notation syntax for a transition
หรืออาจใช้อีกแบบ คือ
[guard]
trigger /effect
ส่วนข้อมูล Info ของ Guard เพิ่งเติมคือ
http://argouml-stats.tigris.org/documentation/manual-0.26/ch20s10.html
ข้อมูลเพิ่มเติม
http://www.agilemodeling.com/artifacts/stateMachineDiagram.htm
Guard, conditions that must be true for the transition to be triggered .
คือต้อง เป็นเงื่อนไข จริง ถึงจะ Transition ไปได้
No comments:
Post a Comment