{"id":14963748,"url":"https://github.com/gavinyellow/sharpscada","last_synced_at":"2025-05-15T01:09:11.953Z","repository":{"id":37622904,"uuid":"105429586","full_name":"GavinYellow/SharpSCADA","owner":"GavinYellow","description":"C# SCADA","archived":false,"fork":false,"pushed_at":"2023-01-13T08:52:33.000Z","size":28165,"stargazers_count":2810,"open_issues_count":16,"forks_count":1345,"subscribers_count":377,"default_branch":"master","last_synced_at":"2025-05-15T01:09:04.872Z","etag":null,"topics":["hmi","modbus","opc","plc","scada","siemens","visual-studio","wpf"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GavinYellow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-01T08:43:38.000Z","updated_at":"2025-05-14T11:39:04.000Z","dependencies_parsed_at":"2023-02-09T15:02:15.903Z","dependency_job_id":null,"html_url":"https://github.com/GavinYellow/SharpSCADA","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinYellow%2FSharpSCADA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinYellow%2FSharpSCADA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinYellow%2FSharpSCADA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GavinYellow%2FSharpSCADA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GavinYellow","download_url":"https://codeload.github.com/GavinYellow/SharpSCADA/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254254042,"owners_count":22039792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hmi","modbus","opc","plc","scada","siemens","visual-studio","wpf"],"created_at":"2024-09-24T13:32:05.600Z","updated_at":"2025-05-15T01:09:06.943Z","avatar_url":"https://github.com/GavinYellow.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"SharpSCADA - 工控网关, 轻量级组态软件.\n===================\n简介\n-------------\n采用技术：\n开发语言：C#\n运行环境：.NET Framework\n数据库：SQL Server\n\n功能：\n-------------\n\n* 1.轻量级工控网关：\n支持当前几种主要的工业协议如西门子的Profinet、AB的EtherNetIPs、施耐德的Modbus和OPC。采用类OPC接口网关。\n\n* 2.数据采集、归档、预警及配置工具\n支持实时数据采集、历史数据归档、变量触发预警，并使用TagConfig工具简单的配置实现。\n\n* 3.人机界面（设计时和运行时）\n\n*设计时：\n采用Microsoft Visual Studio + 设计器插件（在VS2010-VS2015社区版测试通过）。\n通过继承HMIControlBase接口并书写极少量的代码即可实现复杂的图元组件。\n支持图元拖放、组合、连线、变量绑定及编辑功能。\n\n*运行时：Microsoft Visual Studio编译运行为可执行文件。\n\n\n环境准备\n-------------\nWindows：支持的操作系统：Windows 7/8/10/Server 2008\n.NET Framework 4.0/4.5/4.6\nSQLServer Express 2014/2008\n\n项目安装\n-------------\n\n下载最新版本，解压后:\n\n* 1.可直接打开项目工程文件测试源代码：\n..\\SCADA\\Program下运行DataExchange.sln（支持VS2010-2015各版本）\n\n* 2.可运行可执行文件测试：\nServer端测试：在目录 ..\\SCADA\\Program\\BatchCoreTest\\bin\\Debug下运行BatchCoreTest.exe\nClient端测试：在目录 ..\\SCADA\\Program\\CoreTest\\bin\\Debug下运行CoreTest.exe\n请参考Document文件夹中的教程：《部署流程》和《设计流程》，如有问题可参考《FAQ》文档。\n\nQuick Start\n-------------\n* 1.还原数据库\n* 2.修改配置文件并复制到C盘根目录下\n* 3.修改数据库内驱动程序的路径\n* 4.运行DEMO\n具体流程可参看《部署流程》。\n\n开发工具推荐\n-------------\nVisual Studio/Blend：做为组态设计器，推荐VS2010，VS2015版本。\n\n项目结构\n-------------\n驱动程序目前支持：\n\n* 已发布：\n内存数据库\nModbus TCP/RTU、\nOPC DA、\nSiemens S300/200/1200/1500、\nPanasonic 、\nAB EtherNetIP、\nOmron UDP\n* 后续发布：\nDDE、\nMitsubishi \n\n文件目录\n-------------\n* Database目录[存放数据文件]：\ndb2014.bak文件为SQL Server2014数据备份文件。\ndb2008.bak文件为SQL Server2008数据备份文件。\ntest.opf为Kepserver 4.5数据文件（可通过该软件还原为变量表）。\n两个csv文件为两组变量。\n\n* DataConfig目录[存放配置文件]：\nhost.cfg为主配置文件，第一行为网关服务器名/IP地址。如在本地测试，按默认lochost即可。\nclient.xml为客户端配置文件。\nserver.xml为网关服务配置文件。\n\n* dll目录[存放驱动程序及第三方组件]：\n如OPCDriver即为OPC 通讯组件。\nDynamicdatadisplay：开源归档数据显示组件，http://dynamicdatadisplay.codeplex.com/\nWPFToolkit：WPF开源扩展工具包，http://wpftoolkit.codeplex.com\nlibnodave：西门子驱动开源库(https://github.com/netdata/libnodave)\n\n* TagConfig目录[存放配置工具]：\n可方便配置驱动、组、变量、报警、量程等信息。支持导入导出。\n\n* Program目录[存放源代码]：\nBatchCoreTest工程为网关服务器测试代码（控制台显示）。\nBatchCoreService工程同BatchCoreTest，但可编译为Windows服务。\nDataService工程为框架及主要接口组件。\nCoreTest工程为样例文件。包含一系列界面元素。\nHMIControl工程为图元组件。可支持工具栏拖放。\nLinkableControlDesignTime工程为Visual Studio设计器支持插件。\nDataHelper工程为SQL数据库帮助组件，同时为变量数据归档提供支持。\nClientDriver、ModbusDriver、OPCDriver、FileDriver为各类通讯组件。\n\n* Example目录[存放样例]：\n参照Document/部署流程，还原数据库，修改配置文件。\n启动BatchCoreTest.exe(服务端)。\n再启动CoreTest.exe(客户端)。\n\n计划：\n-------------\n* 支持.NET Core。(目前已有测试版在CoreApp文件夹）\n* 实现更多的通讯接口：如欧姆龙、OPC UA等。\n* 更丰富的图元组件：如楼宇自控、化工等各行业。\n* 功能扩展：如进一步处理数据、过程控制等。\n* 安全性：安全性是重中之重，目前做的很不够。\n\nShowcase\n-------------\n![](https://github.com/GavinYellow/SharpSCADA/raw/master/Showcase/guage.png)\n![](https://github.com/GavinYellow/SharpSCADA/raw/master/Showcase/Receiving1.png)\n![](https://github.com/GavinYellow/SharpSCADA/raw/master/Showcase/scada1.png)\n\n个人主页\n-------------\nhttp://www.cnblogs.com/evilcat/\n\n教程\n-------------\nhttps://edu.csdn.net/course/detail/30835\n\n联系方式\n-------------\nhijkl1999@yeah.net\nQQ群：102486275\n\n贡献代码\n-------------\n[topmail](https://github.com/topmail),  [qwe7922142](https://github.com/qwe7922142),  [tonyshen277](https://github.com/tonyshen277),  [yangjingzhao123](https://github.com/yangjingzhao123), [xiebinghai](https://github.com/xiebinghai)\n\nLicense\n-------------\nLGPL \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinyellow%2Fsharpscada","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgavinyellow%2Fsharpscada","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinyellow%2Fsharpscada/lists"}