活动图表示法混淆 [英] Confused in Activity diagram notation

查看:110
本文介绍了活动图表示法混淆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为健身房管理制作了一个活动图,但是我面临一个问题,如何将接待员与管理员联系起来,根据要求,管理员和接待员之间的活动只能通过通知进行,并且我已经发出了信号和通知接收器。还请检查每个符号是否正确,并建议我进行修改?

I have made an activity diagram for gym management, but i am facing a problem how will i connect Receptionist with Admin, According to requirement activity between Admin and receptionist takes place only through notification and i have made a signal and receptor for notification. Please also check if every notation is right and suggest me for modification?

推荐答案

对不起,我没有一次回答-我看了几次你的照片,然后吓了一跳,退缩了。

I am sorry for not answering at once - several times had I looked at your picture, and, frightened, retreated.

做点什么。很好但是...您已经将用例直接放入活动图中。因此,这没有任何意义。

You really tried and did something. It is good. But... You have put Use Cases directly into the activity diagram. So as is, it has no sense.

让我们接受一个客户。他有泳道。好。根据您的图表,客户来决定要做什么-立即离开,加入或查询。没关系,如果他加入或查询,结果很普遍(他为什么要选择?)-他向接待员传达了一些未知信息。他从不退回东西,也从不退缩。否则,他将留在这里并变得不朽,因为即使他的死亡也无法结束他在这里的状态,等待任何人的反应。可怜的人!

Let's take a customer. He has his swimlane. Good. According to your diagram, the customer comes and decides, what to do - immediately leave, join or inquiry. It doesn't matter, if he joins or inquiries, the result is common (why had he been choosing?) - he gives some unknown message to the receptionist. He never gets something back, never he does smth. else, he remains here and becomes immortal, because even his death won't finish his state of being here, waiting for some reaction from anybody. Poor man!

我认为这里没有必要分析其他泳道-它们甚至更糟。

I don't think it is necessary to analyze here other swimlanes - they are even worse.

更好地将您的工作分成几个层次。

Better divide your work into levels.


  • 用例诊断。定义谁是参与者(您已经很好地定义了他们),以及他们与系统及其各部分之间的相互作用。

  • Use Case diag. Define, who are actors (you have defined them well) and what are their interaction with system and its parts.

在下一步中,您可以制作一个部署图-系统的组件在哪里,可能是参与者,位置以及它们相互发送的消息,

As the next stage you can make a deployment diagram - where are components of the system and maybe, actors, located and what messages they send to each other, defined.

并且只有现在,您可以从活动图开始。

And only now you can start with Activity diagram.

还请注意,死者必须归还并纠正长辈图结束或在年轻时发生一些根本性的变化。肯定会遇到这两个问题。

Also notice, that you'll have to return and correct the elders diagrams when you'll come to a dead end or some radical changes in the younger ones. You'll meet with both, be sure.

当您对某些图表有疑问时,请过来这里,写下之前的内容(您没有),您在此阶段所做的(您已完成),我们将能够提供帮助。

And when you have some problem with some diagram, come here, write down what you had BEFORE it (you didn't), what you have done on this stage (you did it) and we'll be able to help.

这篇关于活动图表示法混淆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆