EE308 Lab 9
LAB 9 Object-oriented Modeling and Design with UML
|
Name: |
Zejing.fang |
|
MU ID: |
19105274 |
|
FZU ID: |
831901203 |
|
(i) List some actors that interact with this system. Explain the relevance of each actor. |
|
Your Answer:
Actor:Professional anchors,such as many celebrities and some big companies’ executives ,who need to supervise the content of merchants' live broadcast to comply with regulations, and also supervise the legality of merchants' goods sold Actor:Merchants,who apply for livestreaming permission from the administrator and sell items to customers on the livestreaming platform Actor:Customers,who are watching the live broadcast and buying the goods through the Live-streaming sale system.
|
|
(ii) Prepare a use case diagram for this system. |
|
Your Answer:
|
|
(iii) Prepare a normal scenario for each use case. (i.e. describe each use case in words) |
|
Your Answer: Register: anchors and customers need to register their accounts before using this system. Login: anchors and customer Login, including account and password; Exit: all of them can exit; Watch the live broadcast: Customers watch live broadcast, including live broadcast links and product links; Browse Products: Customers know some significant information, including prices, live links,expression,quality and so on; Consult Customer Service: Ask for store information; Purchase somthing: The decision of something to buy, including customer balance, product information; Open a living: Enables live streaming, including examing the quality of living shows; Show products: show the information of products , including price and so on; Shopping guide: provide customer with some assists about products ; Review the product: check the products , including price ,quality,expression, details about payment an so on; Review speech content: check the Living information, including the speeches and frames,something about authenticity.
|
|
(iv) Prepare sequence diagrams or activity diagrams for primary scenarios. By the way, each scenario can be described by a sequence diagram or an activity diagram, but both diagrams must be used in this question. |
|
Your Answer:
|
|
(v) Prepare a class diagram for this system. Explain which principles of object-oriented are applied in your design. |
|
Your Answer:
|
|
(vi) Prepare state diagrams for primary classes. |
|
Your Answer:
|
|
(vii) Write the skeleton code corresponding to the class diagram in C++, Java, Python, or C#. |
|
Your Answer:
|
相关推荐
EE-308 LAB4 final version.7z
这是本次实验的压缩包
【Linux系统编程】Shell脚本语言基础与应用:变量定义、流程控制及文本处理工具实战指南
内容概要:本文档系统介绍了Linux环境下Shell编程的核心知识体系,涵盖Shell的基本概念、脚本编写入门、变量使用(系统预定义变量、自定义变量、特殊变量)、算术运算、条件判断、流程控制(if、case、for、while)、read命令读取输入、函数定义与调用,以及常用文本处理工具如cut、awk的使用方法。同时讲解了正则表达式的基础语法及其在grep、awk等命令中的应用,帮助读者掌握自动化脚本编写与系统管理任务处理的能力。文档通过大量实例演示,强化实际操作技能。; 适合人群:具备基本Linux操作基础,希望深入学习Shell脚本编程的初学者及运维、开发相关人员,尤其适合从事大数据、Java、前端、Python等领域并需提升自动化能力的技术人员。; 使用场景及目标:① 编写自动化部署、日志分析、定时任务等运维脚本;② 掌握Linux命令行高效处理文本与数据的方法;③ 为后续学习大数据组件(如Hadoop、Spark)的脚本调度打下基础;④ 提升在实际项目中利用Shell解决系统级问题的能力。; 阅读建议:建议结合Ubuntu等Linux环境边学边练,重视每个案例的实际运行效果,理解不同语法结构的应用差异,特别是变量使用、流程控制与正则表达式的细节,同时可参考文档推荐资源进一步拓展学习。
AI大模型赋能市级健康医疗大数据治理及知识应用平台项目建设方案.pptx
AI大模型赋能市级健康医疗大数据治理及知识应用平台项目建设方案.pptx
SAP与MES集成方案.pptx
SAP与MES集成方案.pptx
无刷直流电机(BLDCM)转速电流双闭环控制、三相桥式星型全控电机研究(Simulink仿真实现)
内容概要:本文针对三相三电平维也纳(VIENNA)整流器,研究了其电压电流双闭环控制与直流侧中点电位平衡问题。系统采用电压外环与电流内环构成的双闭环PI控制结构,实现直流母线电压的稳定控制与单位功率因数运行。为解决VIENNA整流器固有的中点电位波动问题,提出一种基于上下电容电压差值补偿的平衡策略,将差值信号引入调制环节,利用SVPWM中冗余小矢量的时间分配自由度,实现对中点电荷的主动调节。基于MATLAB/Simulink搭建仿真模型,结果表明该控制策略能在维持800V直流母线电压稳定的同时,显著提升上下电容电压的均衡度,且SVPWM的应用保证了较低的输入电流谐波。; 适合人群:从事电力电子、新能源变换器、电能质量治理等相关领域研究的研究生、科研人员及工程技术人员。; 使用场景及目标:① 掌握三电平VIENNA整流器的工作原理与双闭环控制设计方法;② 学习并应用基于SVPWM冗余矢量的中点电位主动平衡控制策略;③ 为高功率密度、高效率整流器的研发提供仿真验证与技术参考。; 阅读建议:建议读者结合文中提供的仿真模型与参数设置,深入理解双闭环PI参数整定的要点以及差值补偿策略在SVPWM中的具体实现机制,重点关注中点电位在控制投入前后的对比波形,以加深对控制效果的认识。






