智能家居视频监控系统

智能家居视频监控系统

ID:38497032

大小:229.00 KB

页数:21页

时间:2019-06-13

智能家居视频监控系统_第1页
智能家居视频监控系统_第2页
智能家居视频监控系统_第3页
智能家居视频监控系统_第4页
智能家居视频监控系统_第5页
资源描述:

《智能家居视频监控系统》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、智能家居视频监控系统简介:本系统采用了360度无死角摄像头,可全方位监控自己的住所,并且可以锁定监控,例如门外。监控系统可在pc端查看记录,并且可以设定场景锁定,若场景发生变化,便会触发报警系统,给设定的邮箱或手机发送邮件及短信提醒,实时告知用户紧急状况。此系统可以进行远程监控,即用户可以不在家里的pc端进行监控,只要用户可以上网,就可通过与被控端连接的计算机外网ip地址监控住所的一切动向。这让监控变得简洁化及随身化。代码:1.Login.csusingSystem;usingSystem.Collections.Generic;usingSyste

2、m.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;//添加的命名空间usingSystem.Data.OleDb;usingVWMS.CommonClass;namespaceVWMS{publicpartialclassfrmLogin:Form{publicfrmLogin(){InitializeComponent();}DataCondatacon=newDataCon();DataOperateda

3、taoperate=newDataOperate();privatevoidbtnLogin_Click(objectsender,EventArgse){if(txtName.Text==""){errorProName.SetError(txtName,"用户名不能为空!");}else{errorProName.Clear();stringstrSql="select*fromtb_adminwherename='"+txtName.Text+"'andpwd='"+txtPwd.Text+"'";DataSetds=dataoperate.g

4、etDs(strSql,"tb_admin");if(ds.Tables[0].Rows.Count>0){this.Hide();frmMainfrmmain=newfrmMain();frmmain.Show();}else{MessageBox.Show("用户名或密码错误!","警告",MessageBoxButtons.OK,MessageBoxIcon.Warning);}}}privatevoidbtnExit_Click(objectsender,EventArgse){Application.Exit();}privatevoidt

5、xtName_KeyPress(objectsender,KeyPressEventArgse){if(e.KeyChar==13){txtPwd.Focus();e.Handled=true;}}privatevoidtxtPwd_KeyPress(objectsender,KeyPressEventArgse){if(e.KeyChar==13){btnLogin.Focus();e.Handled=true;}}privatevoidfrmLogin_Load(objectsender,EventArgse){}}}2.SetMonitor.c

6、susingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Data.OleDb;usingVWMS.CommonClass;namespaceVWMS{publicpartialclassfrmSetMonitor:Form{publicfrmSetMonitor(){Initiali

7、zeComponent();}DataOperatedataoperate=newDataOperate();DataSetds;privatevoidfrmSetMonitor_Load(objectsender,EventArgse){lviewBind();}privatevoidbtnAdd_Click(objectsender,EventArgse){if(txtName.Text==string.Empty){MessageBox.Show("用户名不能为空!","提示",MessageBoxButtons.OK,MessageBoxIc

8、on.Information);}else{ds=dataoperate.getDs("select*fro

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。