资源简介
SECS HSMS, socket create by csharp , easy to use or reference resources
代码片段和文件信息
using System;
using System.ComponentModel;
using System.Configuration;
using System.Globalization;
using System.IO;
using System.Net;
namespace Cim.Eap {
sealed class EAPConfig : ConfigurationSection {
public static EAPConfig Instance = (EAPConfig)ConfigurationManager.GetSection(“eap“);
[ConfigurationProperty(“id“ DefaultValue = “EQP“ IsRequired = true)]
[StringValidator(InvalidCharacters = “ ~!@#$%^&*()[]{}/;‘\“|\\“ MinLength = 3 MaxLength = 7)]
public string ToolId => (string)this[“id“];
[ConfigurationProperty(“tcs“)]
[StringValidator(InvalidCharacters = “ ~!@#$%^&*()[]{}/;‘\“|\\“)]
public string TcsId => string.IsNullOrEmpty((string)this[“tcs“]) ? this.ToolId : (string)this[“tcs“];
[Description(@“預先定義好的SECS message清單“)]
[ConfigurationProperty(“sml“ IsRequired = true)]
[CallbackValidator(Type = typeof(EAPConfig) CallbackMethodName = “CheckFileExist“)]
public string SmlFile => (string)this[“sml“];
[Description(@“GEM event report define link config file“)]
[ConfigurationProperty(“gem“ IsRequired = true)]
[CallbackValidator(Type = typeof(EAPConfig) CallbackMethodName = “CheckFileExist“)]
public string Gemxml => (string)this[“gem“];
[ConfigurationProperty(“driver“ IsRequired = true)]
[TypeConverter(typeof(EapDriverConverter))]
public EapDriver Driver => (EapDriver)this[“driver“];
[DisplayName(“IP Address“)]
[Description(“Active Mode: EQP IP address Passive Mode: local socket binding address“)]
[ConfigurationProperty(“ip“ DefaultValue = “127.0.0.1“ IsRequired = true)]
[CallbackValidator(Type = typeof(EAPConfig) CallbackMethodName = “IPAddressCheck“)]
public string IP => (string)this[“ip“];
[Description(“Active Mode: EQP socket listen port Passive Mode: local socket listen port“)]
[ConfigurationProperty(“port“ DefaultValue = 5000 IsRequired = true)]
[IntegerValidator(MinValue = 4000 MaxValue = 5000)]
public int TcpPort => (int)this[“port“];
[ConfigurationProperty(“deviceId“ DefaultValue = (ushort)0)]
public ushort DeviceId => (ushort)this[“deviceId“];
[Description(“Active / Passive“)]
[ConfigurationProperty(“mode“ IsRequired = true)]
public ConnectionMode Mode => (ConnectionMode)this[“mode“];
[Description(“Socket Receive Buffer Size“)]
[ConfigurationProperty(“recvBufferSize“ DefaultValue = 16 * 1024)]
[IntegerValidator(MinValue = 8 * 1024 MaxValue = 64 * 1024)]
public int SocketRecvBufferSize => (int)this[“recvBufferSize“];
[Description(“linkTest interval time(豪秒)“)]
[ConfigurationProperty(“linkTest“ DefaultValue = 30000)]
[IntegerValidator(MinValue = 20000 MaxValue = 60000)]
public int linkTestInterval => (int)this[“linkTest“];
[Description(“T3 timeout(豪秒)“)]
[ConfigurationProperty
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-08-21 17:09 secs4net-master\
目录 0 2018-08-21 17:09 secs4net-master\.github\
目录 0 2018-08-21 17:09 secs4net-master\.github\ISSUE_TEMPLATE\
文件 799 2018-06-27 21:12 secs4net-master\.github\ISSUE_TEMPLATE\bug_report.md
文件 560 2018-06-27 21:12 secs4net-master\.github\ISSUE_TEMPLATE\feature_request.md
文件 1070 2018-06-27 21:12 secs4net-master\LICENSE
文件 2041 2018-06-27 21:12 secs4net-master\README.md
文件 27 2018-06-27 21:12 secs4net-master\_config.yml
目录 0 2018-08-21 17:11 secs4net-master\secs4net\
文件 3310 2018-06-27 21:12 secs4net-master\secs4net\.gitignore
目录 0 2018-08-21 17:22 secs4net-master\secs4net\.vs\
目录 0 2018-08-21 17:22 secs4net-master\secs4net\.vs\config\
文件 83009 2018-08-21 17:22 secs4net-master\secs4net\.vs\config\applicationhost.config
目录 0 2018-08-21 17:41 secs4net-master\secs4net\.vs\secs4net\
目录 0 2018-08-21 17:41 secs4net-master\secs4net\.vs\secs4net\DesignTimeBuild\
文件 3074928 2018-08-21 17:41 secs4net-master\secs4net\.vs\secs4net\DesignTimeBuild\.dtbcache
目录 0 2018-08-21 17:12 secs4net-master\secs4net\.vs\secs4net\v15\
文件 1661952 2018-08-21 17:41 secs4net-master\secs4net\.vs\secs4net\v15\.suo
目录 0 2018-08-21 17:11 secs4net-master\secs4net\.vs\secs4net\v15\Server\
目录 0 2018-08-21 17:11 secs4net-master\secs4net\.vs\secs4net\v15\Server\sqlite3\
文件 0 2018-08-21 17:11 secs4net-master\secs4net\.vs\secs4net\v15\Server\sqlite3\db.lock
文件 3665920 2018-08-21 17:13 secs4net-master\secs4net\.vs\secs4net\v15\Server\sqlite3\storage.ide
文件 32768 2018-08-21 17:11 secs4net-master\secs4net\.vs\secs4net\v15\Server\sqlite3\storage.ide-shm
文件 5586752 2018-08-21 17:13 secs4net-master\secs4net\.vs\secs4net\v15\Server\sqlite3\storage.ide-wal
目录 0 2018-08-21 17:09 secs4net-master\secs4net\Core\
目录 0 2018-08-21 17:10 secs4net-master\secs4net\Core\CIM.EAP\
文件 3280 2018-06-27 21:12 secs4net-master\secs4net\Core\CIM.EAP\.gitignore
文件 10443 2018-06-27 21:12 secs4net-master\secs4net\Core\CIM.EAP\CIM.Eap.csproj
目录 0 2018-08-21 17:09 secs4net-master\secs4net\Core\CIM.EAP\Data\
文件 385 2018-06-27 21:12 secs4net-master\secs4net\Core\CIM.EAP\Data\Carrier.cs
文件 328 2018-06-27 21:12 secs4net-master\secs4net\Core\CIM.EAP\Data\ControlJob.cs
............此处省略1483个文件信息
相关资源
- 欧姆龙PLC网络通信程序
- 自己用C#写的tcp_ip服务器
- TCP/IP Sockets in C#: Practical Guide for Prog
- c#与三菱FX5U 以太网连接
- C#通信TCP/IP server client 简单
- TCP/IP通信c#例程
- C#窗体基于TCP的Socket多线程通信
- C# 2015最新版NMODBUS4.0源码支持TCP/IPRT
- C# TCP/IP 聊天系统服务器端
- OMRON的PLC通过TCP/IP协议通信C#源码
- PLC通过TCP/IP协议通信C#源码
- C# TCP/IP异步通信
- C#中通用TCP/IP客户/服务器通信库源代
- C#TCP/IP通信接收数据
- 基于C#的TCP/IP协议客户端和服务器的代
- 基于C#的网络抓包程序源码
- C#实现串口通讯和TCP/IP通讯的程序
- C#TCP/IP通信
- 上位机通过TCP和库卡kuka机器人通讯
- c# SECS HSMS编程
- C# TCP/IP异步通信,带完整服务端与客
- TCP-IP C#写的TCP的client和server的程序
- 西门子S7-200SMART TCP/IP 通讯连接库C#
- C#下TCPIP的客户端和服务端的代码-wi
- TCP/IP C#最简单例程,客户端,服务端
- C#写的与OMRON的PLC通过TCP/IP协议通信的
- C# TCP/IP判断 UDP 图像传输桌面
- C#SECS开发
- C# 继电器TCP/IP以太网客户端测试程序
- 与S7-1200PLC实现TCP/IP通信
评论
共有 条评论