如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
智能家居视频监控系统简介:本系统采用了360度无死角摄像头,可全方位监控自己的住所,并且可以锁定监控,例如门外。监控系统可在pc端查看记录,并且可以设定场景锁定,若场景发生变化,便会触发报警系统,给设定的邮箱或手机发送邮件及短信提醒,实时告知用户紧急状况。此系统可以进行远程监控,即用户可以不在家里的pc端进行监控,只要用户可以上网,就可通过与被控端连接的计算机外网ip地址监控住所的一切动向。这让监控变得简洁化及随身化。代码:1.Login.csusingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;//添加的命名空间usingSystem.Data.OleDb;usingVWMS.CommonClass;namespaceVWMS{publicpartialclassfrmLogin:Form{publicfrmLogin(){InitializeComponent();}DataCondatacon=newDataCon();DataOperatedataoperate=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.getDs(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();}privatevoidtxtName_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){}}}SetMonitor.csusingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Data.OleDb;usingVWMS.CommonClass;namespaceVWMS{publicpartialclassfrmSetMonitor:Form{publicfrmSetMonitor(){InitializeComponent();}DataOperatedataoperate=newDataOperate();DataSetds;privatevoidfrmSetMonitor_Load(objectsender,EventArgse){lviewBind();}privatevoidbtnAdd_Click(objectsender,EventArgse){if(txtName.Text==string.Empty){Mes