摘要
文中基于Android开发平台,设计并开发了远程库房环境监测APP。APP的设计和实现主要分为数据库的设计、服务器的搭建和客户端的实现三部分。服务器的作用是接收下位机传送过来的库房环境数据,并将数据存入数据库中。客户端的作用是使用户能随时随地地通过APP连接到服务器,并将服务器返回的数据进行实时的显示、查看和处理。同时还可以通过设置传感器的阈值,根据对阈值的判断来触发相应的动作,如自动控制空调和除湿机等设备的开闭和自动报警。
Based on the Android development platform,this paper designs and develops a remote warehouse environment monitoring system. The design and implementation of APP are mainly divided into three parts: the design of the database,the establishment of the server and the implementation of the client. The function of the server is to receive the data sent by the lower computer,and store the data in the database. The client's role is to enable users to connect to the server at any time and place through the APP,and display,view and process the data returned by the server in real time. What's more,the threshold of sensor can be set,according to the judgment of the threshold to trigger the corresponding action. Such as: with automatic control,air conditioning and dehumidifier and other equipment are open and closed and it presents the automatic alarm.
出处
《信息技术》
2018年第1期149-154,共6页
Information Technology