摘要
对HTML5关键技术进行研究,提出了一种B/S架构下的基于HTML5的电力线路图动态绘制方法。通过Canvas结合JavaScript脚本语言并利用Canvas分层绘制技术实现了电力线路图的动态绘制,具有跨平台、免插件、易维护等特点。同时实现了基于关键字的图形与数据库的联动查询,显示线路图中图元的详细信息。基于excel超链接技术实现了移动端的线路图查看。
Through the research on key technologies of HTML5, a dynamic drawing method of electricity circuit diagram was propsed based on HTML5 under B/S architecture. We realized the dynamic drawing of electricity circuit diagram by combining Canvas with JavaScript script language and the Canvas hierarchical rendering technology. HTML5 has the characteristics of cross platform, free plug-in, easy maintenanee, etc. At the same time, it aehieves displaying detailed information about the ele- ments in the circuit diagram with the linked query of graphics and database based on keywords. Hyperlink technology which is based on excel realizes checking the mobile terminal cireuit diagram.
出处
《微型电脑应用》
2017年第8期20-23,共4页
Microcomputer Applications
基金
黑龙江省教育科学规划重点课题(GJB1215019)的阶段研究成果