淮安电网接地故障监测APP

详细功能需求描述:

课题简介:

电网智能化需要借助网络APP进行灵活的配置和管理。基于APP智能电网管理程序设计要求通过手机APP可以进行淮安电网的的各种状态监测、控制,查询历史数据,给出安全警示。

(1) 查询相关资料,熟悉智能电网管理的基本内容;
(2)掌握APP程序设计的程序结构、工作模式、开发过程和调试方法;
(3)掌握智能电网管理的基本工作流程;
(4)能进行演示;
(5)语言选择:Java语言、MySQL;
(6)撰写符合规范的论文;

(7)需要自己创建一个模拟测试的平台:通过电网的故障标准来测试,比如电压过高(超过500V)等,安卓端就会同步显示故障,管理人员会收到消息,发布在平台上,相应地方的工作人员看见故障消息,工作人员会进行相应的处理,完成的同时,消息进行同步更新,处理完成后能进行反馈.同样普通人登录进来可以看见为什么发生故障等等,请尽量完善

 a) 界面设计直观清晰; b) 毕业设计论文符合具体要求; c) 系统功能全面主要功能有:电网状态监测、控制,查询历史数据,给出安全警示; d) 毕业论文的字数在合理范围内,论文格式严格按照学校要求实现。

淮安电网接地故障监测APP登录注册界面

淮安电网接地故障监测APPmysql数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '超级管理员账号',
	password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');

建议表创建语句如下:


create table t_contact(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	phone varchar(100) comment '联系方式',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期'
) comment '建议';

客户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址',
	mobile varchar(100) comment '手机'
) comment '客户';

电流监测记录表创建语句如下:


create table t_dljl(
	id int primary key auto_increment comment '主键',
	jczdId int comment '监测站点',
	insertDate datetime comment '日期',
	sz int comment '数值'
) comment '电流监测记录';

电压监测记录表创建语句如下:


create table t_dyjl(
	id int primary key auto_increment comment '主键',
	jczdId int comment '监测站点',
	insertDate datetime comment '日期',
	sz int comment '数值'
) comment '电压监测记录';

电站监测告警表创建语句如下:


create table t_gj(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	jczdId int comment '监测站点',
	content varchar(100) comment '告警内容',
	insertDate datetime comment '日期'
) comment '电站监测告警';

监测站点表创建语句如下:


create table t_jczd(
	id int primary key auto_increment comment '主键',
	jczdName varchar(100) comment '监测站点名称',
	customerId int comment '负责人',
	phone varchar(100) comment '联系电话',
	pic varchar(100) comment '图片',
	address varchar(100) comment '地址',
	bzdy int comment '标准电压',
	bzdl int comment '标准电流'
) comment '监测站点';

普通员工表创建语句如下:


create table t_user(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	gh varchar(100) comment '工号',
	mobile varchar(100) comment '手机'
) comment '普通员工';

淮安电网接地故障监测APPoracle数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id integer,
	username varchar(100),
	password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';

建议表创建语句如下:


create table t_contact(
	id integer,
	customerId int,
	phone varchar(100),
	content varchar(100),
	insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.customerId is '用户';
comment on column t_contact.phone is '联系方式';
comment on column t_contact.content is '内容';
comment on column t_contact.insertDate is '日期';
--建议表加注释
comment on table t_contact is '建议';

客户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	sex varchar(100),
	address varchar(100),
	mobile varchar(100)
);
--客户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.name is '姓名';
comment on column t_customer.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.mobile is '手机';
--客户表加注释
comment on table t_customer is '客户';

电流监测记录表创建语句如下:


create table t_dljl(
	id integer,
	jczdId int,
	insertDate datetime,
	sz int
);
--电流监测记录字段加注释
comment on column t_dljl.id is '主键';
comment on column t_dljl.jczdId is '监测站点';
comment on column t_dljl.insertDate is '日期';
comment on column t_dljl.sz is '数值';
--电流监测记录表加注释
comment on table t_dljl is '电流监测记录';

电压监测记录表创建语句如下:


create table t_dyjl(
	id integer,
	jczdId int,
	insertDate datetime,
	sz int
);
--电压监测记录字段加注释
comment on column t_dyjl.id is '主键';
comment on column t_dyjl.jczdId is '监测站点';
comment on column t_dyjl.insertDate is '日期';
comment on column t_dyjl.sz is '数值';
--电压监测记录表加注释
comment on table t_dyjl is '电压监测记录';

电站监测告警表创建语句如下:


create table t_gj(
	id integer,
	customerId int,
	jczdId int,
	content varchar(100),
	insertDate datetime
);
--电站监测告警字段加注释
comment on column t_gj.id is '主键';
comment on column t_gj.customerId is '用户';
comment on column t_gj.jczdId is '监测站点';
comment on column t_gj.content is '告警内容';
comment on column t_gj.insertDate is '日期';
--电站监测告警表加注释
comment on table t_gj is '电站监测告警';

监测站点表创建语句如下:


create table t_jczd(
	id integer,
	jczdName varchar(100),
	customerId int,
	phone varchar(100),
	pic varchar(100),
	address varchar(100),
	bzdy int,
	bzdl int
);
--监测站点字段加注释
comment on column t_jczd.id is '主键';
comment on column t_jczd.jczdName is '监测站点名称';
comment on column t_jczd.customerId is '负责人';
comment on column t_jczd.phone is '联系电话';
comment on column t_jczd.pic is '图片';
comment on column t_jczd.address is '地址';
comment on column t_jczd.bzdy is '标准电压';
comment on column t_jczd.bzdl is '标准电流';
--监测站点表加注释
comment on table t_jczd is '监测站点';

普通员工表创建语句如下:


create table t_user(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	gh varchar(100),
	mobile varchar(100)
);
--普通员工字段加注释
comment on column t_user.id is '主键';
comment on column t_user.username is '账号';
comment on column t_user.password is '密码';
comment on column t_user.name is '姓名';
comment on column t_user.gh is '工号';
comment on column t_user.mobile is '手机';
--普通员工表加注释
comment on table t_user is '普通员工';

oracle特有,对应序列如下:


create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_dljl;
create sequence s_t_dyjl;
create sequence s_t_gj;
create sequence s_t_jczd;
create sequence s_t_user;

淮安电网接地故障监测APPsqlserver数据库版本源码:

超级管理员表创建语句如下:


--超级管理员
create table t_admin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--超级管理员账号
	password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');

建议表创建语句如下:


--建议表注释
create table t_contact(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	phone varchar(100),--联系方式
	content varchar(100),--内容
	insertDate datetime--日期
);

客户表创建语句如下:


--客户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	name varchar(100),--姓名
	sex varchar(100),--性别
	address varchar(100),--地址
	mobile varchar(100)--手机
);

电流监测记录表创建语句如下:


--电流监测记录表注释
create table t_dljl(
	id int identity(1,1) primary key not null,--主键
	jczdId int,--监测站点
	insertDate datetime,--日期
	sz int--数值
);

电压监测记录表创建语句如下:


--电压监测记录表注释
create table t_dyjl(
	id int identity(1,1) primary key not null,--主键
	jczdId int,--监测站点
	insertDate datetime,--日期
	sz int--数值
);

电站监测告警表创建语句如下:


--电站监测告警表注释
create table t_gj(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	jczdId int,--监测站点
	content varchar(100),--告警内容
	insertDate datetime--日期
);

监测站点表创建语句如下:


--监测站点表注释
create table t_jczd(
	id int identity(1,1) primary key not null,--主键
	jczdName varchar(100),--监测站点名称
	customerId int,--负责人
	phone varchar(100),--联系电话
	pic varchar(100),--图片
	address varchar(100),--地址
	bzdy int,--标准电压
	bzdl int--标准电流
);

普通员工表创建语句如下:


--普通员工表注释
create table t_user(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	name varchar(100),--姓名
	gh varchar(100),--工号
	mobile varchar(100)--手机
);

淮安电网接地故障监测APP登录后主页

淮安电网接地故障监测APPspring+springMVC+hibernate框架对象(javaBean,pojo)设计:

建议javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//建议
@Table(name = "t_contact")
public class Contact {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

客户javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//客户
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//性别
private String sex;
//地址
private String address;
//手机
private String mobile;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

电流监测记录javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//电流监测记录
@Table(name = "t_dljl")
public class Dljl {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//监测站点
private Integer jczdId;
//日期
private Date insertDate;
//数值
private Integer sz;
public Integer getJczdId() {return jczdId;}
public void setJczdId(Integer jczdId) {this.jczdId = jczdId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getSz() {return sz;}
public void setSz(Integer sz) {this.sz = sz;}
}

电压监测记录javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//电压监测记录
@Table(name = "t_dyjl")
public class Dyjl {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//监测站点
private Integer jczdId;
//日期
private Date insertDate;
//数值
private Integer sz;
public Integer getJczdId() {return jczdId;}
public void setJczdId(Integer jczdId) {this.jczdId = jczdId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getSz() {return sz;}
public void setSz(Integer sz) {this.sz = sz;}
}

电站监测告警javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//电站监测告警
@Table(name = "t_gj")
public class Gj {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//监测站点
private Integer jczdId;
//告警内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getJczdId() {return jczdId;}
public void setJczdId(Integer jczdId) {this.jczdId = jczdId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

监测站点javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//监测站点
@Table(name = "t_jczd")
public class Jczd {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//监测站点名称
private String jczdName;
//负责人
private Integer customerId;
//联系电话
private String phone;
//图片
private String pic;
//地址
private String address;
//标准电压
private Integer bzdy;
//标准电流
private Integer bzdl;
public String getJczdName() {return jczdName;}
public void setJczdName(String jczdName) {this.jczdName = jczdName;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public Integer getBzdy() {return bzdy;}
public void setBzdy(Integer bzdy) {this.bzdy = bzdy;}
public Integer getBzdl() {return bzdl;}
public void setBzdl(Integer bzdl) {this.bzdl = bzdl;}
}

普通员工javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//普通员工
@Table(name = "t_user")
public class User {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//工号
private String gh;
//手机
private String mobile;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

淮安电网接地故障监测APPspring+springMVC+mybatis框架对象(javaBean,pojo)设计:

建议javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//建议
public class Contact  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

客户javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//客户
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//性别
private String sex;
//地址
private String address;
//手机
private String mobile;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

电流监测记录javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//电流监测记录
public class Dljl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//监测站点
private Integer jczdId;
//日期
private Date insertDate;
//数值
private Integer sz;
public Integer getJczdId() {return jczdId;}
public void setJczdId(Integer jczdId) {this.jczdId = jczdId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getSz() {return sz;}
public void setSz(Integer sz) {this.sz = sz;}
}

电压监测记录javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//电压监测记录
public class Dyjl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//监测站点
private Integer jczdId;
//日期
private Date insertDate;
//数值
private Integer sz;
public Integer getJczdId() {return jczdId;}
public void setJczdId(Integer jczdId) {this.jczdId = jczdId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getSz() {return sz;}
public void setSz(Integer sz) {this.sz = sz;}
}

电站监测告警javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//电站监测告警
public class Gj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//监测站点
private Integer jczdId;
//告警内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getJczdId() {return jczdId;}
public void setJczdId(Integer jczdId) {this.jczdId = jczdId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

监测站点javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//监测站点
public class Jczd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//监测站点名称
private String jczdName;
//负责人
private Integer customerId;
//联系电话
private String phone;
//图片
private String pic;
//地址
private String address;
//标准电压
private Integer bzdy;
//标准电流
private Integer bzdl;
public String getJczdName() {return jczdName;}
public void setJczdName(String jczdName) {this.jczdName = jczdName;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public Integer getBzdy() {return bzdy;}
public void setBzdy(Integer bzdy) {this.bzdy = bzdy;}
public Integer getBzdl() {return bzdl;}
public void setBzdl(Integer bzdl) {this.bzdl = bzdl;}
}

普通员工javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//普通员工
public class User  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//工号
private String gh;
//手机
private String mobile;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

源代码下载点这里

评论