/HslCommunication

个人工具库,包含日志类,异步网络通讯类,版本控制的类,注册码生成类,数据加密解密类,文件上传下载类,三菱,西门子,欧姆龙PLC访问类,modbus tcp服务器及客户端类。Personal tools library, including log class, asynchronous network communication class, version control class, registration code generation class, data encryption and decryption class, file upload and download class, Mitsubishi, Siemens, Omron PLC access class, modbus tcp server and client class.

Primary LanguageC#GNU Lesser General Public License v3.0LGPL-3.0

             ///\      ///\             /////////\              ///\
            //\\/      //\/           //\\\\\\\\//\            //\\/
           //\/       //\/          //\\/       \\/           //\/
          //\/       //\/           \//\                     //\/
         /////////////\/             \//////\               //\/
        //\\\\\\\\\//\/               \\\\\//\             //\/
       //\/       //\/                     \//\           //\/
      //\/       //\/           ///\      //\\/          //\/       //\   
     ///\      ///\/            \/////////\\/           /////////////\/
     \\\/      \\\/              \\\\\\\\\/             \\\\\\\\\\\\\/         Present by Richard.Hu

HslCommunication Library

Build status NuGet Status Gitter NetFramework Visual Studio License status copyright status

CopyRight

本组件版权归Richard.Hu所有 [ (C) 2018 Richard.Hu, All Rights Reserved ]

Version Declaration

当前为最新的5.0版本的开发版,很有可能无法编译,改动量较大,4.3.5版本源代码请查看willow分支

Current master branch is 5.0 pre, stable version review willow branch.

License

使用请遵循LGPL-3.0协议说明,除了协议中已经规定的内容外,附加下面三个条款(与原协议如有冲突以附加条款为准):

  • 允许用户使用本工具库(从NuGet下载)集成到自己的项目中作为闭源软件一部分,只需要声明版权出处并出具一份LGPL-3.0的授权协议即可。
  • 禁止复制中间的代码及参考思路开发出类似的组件库。
  • 源代码仅作为个人学习使用。

Install From NuGet

说明:NuGet为稳定版本,组件的使用必须从NuGet下载,此处发布的项目有可能为还没有通过编译的测试版,NuGet安装如下:

Install-Package HslCommunication

Environment

  • .Net Framework环境下:支持.Net 3.5及以上环境,功能最完善。
  • .Net Standard环境下:.Net 2.0以上,目前仅仅实现PLC读写,modbus tcp读写,日志记录。

Contact

Project Target

本项目的目标在于开发一个.Net下大多数软件系统都会包含了基础类库功能,实现一些常用的数据通信,日志记录等等类,以及版本类,网络通讯类,PLC数据访问类。

A library that contains a lot of classes, such as log funtion, send mail, basic method, communication with plc, include melsec, siemens, omron, communicate with modbus-tcp, and more in the futher, communicate by two computers and so on.

Summary

完整的项目介绍地址: http://www.cnblogs.com/dathlin/p/7703805.html

Detail Introduction

Second Extensions Project

Contribution

热烈欢迎对本项目的代码提出改进意见,可以发起Pull Request,对于代码量贡献较多的小伙伴,会有额外的组件使用权,并在特别感谢里写明。

Thanks

  • 混合锁及可序列化异常类,读写锁,并发模型部分代码及思路参考《CLR Via C#》,感谢作者Jeffrey Richter
  • 感谢 ligihtdev 的打赏支持

Controls

This library include some controls render upside picture. u can easily use them

控件图

创作不易,感谢打赏

If this library really helps you, you can support me by AliPay. Please choose the amount according to your actual ability.

打赏

三菱测试界面 [ Mitsubishi PLC Communication ]

Using MC protocol, Qna 3E, Include binary and ascii Picture

西门子测试界面 [ Siemens PLC Communication ]

Using S7 protocol And Fetch/Write protocol Picture

欧姆测试界面 [ Omron PLC Communication ]

Using Fins-tcp protocol Picture

Modbus-Tcp 客户端服务器 [ Modbus-tcp Communication ]

Client, using read/write coils and register Picture

Server, you can build your own modbus-tcp server easily Picture

Simplify Net 测试演示 [ Based on Tcp/Ip ]

Communicaion with multi-computers , client can exchange data with server easily, include server side ,client side

Picture Picture

Udp Net 测试演示 [ Base on Udp/Ip ]

Communicaion with multi-computers , client can send a large of data to server, include server side ,client side

Picture Picture

File Net 测试演示 [ Base on Tcp/Ip ]

Communicaion with multi-computers , client can exchange File with server easily, include server side ,client side

Picture Picture