12 Star 27 Fork 28

hehuolong / OPCReport

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

系统架构

系统架构 逻辑架构

系统部署

  • 环境准备

    1. sql server2008 及以上版本
    2. net4.6.2 及以上版本
  • 数据库部署

    1. 在sqlserver管理工具中执行"report.sql"创建数据库和数据表
    2. 在sqlserver管理工具中执行"初始化.sql"创建初始化数据
  • 数据采集服务部署

    1. 在OUK.ReportDataMonitor.exe 目录下打开cmd,执行以下命令安装成windows服务
     OUK.ReportDataMonitor.exe install
    1. 配置数据库连接 编辑OUK.ReportDataMonitor.exe.config,修改数据库连串
     	 <add name="OUKReportContext" connectionString="Data Source=.\sqlexpress;Initial Catalog=OUKReport;Integrated Security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
     	 ```
     	 
     1. 配置OPC服务器地址
    ```
    1. 配置数据采集地址前缀
     <add key="DeviceAccessPrefix" value="ns=2;s=ArchestrA.FSGateway.2_Intouch_"/>
    1. 在windows服务管理列表中启动数据采集服务OUKReportDataMonitor 或者使用命令OUKReportDataMonitor.exe start 启动服务
  • 报表查询程序部署

    1. 配置数据库连接 编辑OUK.ReportHost.exe.config,修改数据库连串
     <add name="OUKReportContext" connectionString="Data Source=.\sqlexpress;Initial Catalog=OUKReport;Integrated Security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
     	 ```
     1. 运行`OUK.ReportHost.exe` 启动报表程序
    

系统使用规范

1. 组织架构的`系统键`必须与OPC设备路径对应
1. 设备名称必须与OPC设备路径对应
```
    例如:
    采集路径为:ArchestrA.FSGateway.2_Intouch_DSY_S3_P11\Meas\Ia
    则在组织架构中需要对应一个一级组织的系统键位DSY,二级组织为S3,设备名称为P11
```

系统截图

OPC数据采集服务

登录 设备管理

采集服务管理 OPC助手 用户管理 系统设置

电表参数记录 电量抄表记录 电量统计表 电量统计图 峰谷平统计表 同环比统计 打印预览

MIT License Copyright (c) 2020 hehuolong Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于OPC数据采集的报表项目 展开 收起
C#
MIT
取消

发行版 (1)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/hehuolong_admin/OPCReport.git
git@gitee.com:hehuolong_admin/OPCReport.git
hehuolong_admin
OPCReport
OPCReport
master

搜索帮助