资源简介
此代码为104协议的动态链接库源代码dll,为电力行业的104协议通信使用。

代码片段和文件信息
// zhengshuiqing
// Type: IEC104Lib.IEC104
// Assembly: IEC104Lib Version=1.0.0.0 Culture=neutral PublicKeyToken=null
using CommonInfoLib;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace IEC104Lib
{
public class IEC104
{
public int OverTime = 10;
public int RepeatTimes = 3;
public bool IsDoubleYK = true;
public bool IsDoubleSOE = true;
private bool _isYCNegative = true;
private YCPointTable[] ycpoint = new YCPointTable[50];
private YXPointTable[] yxpoint = new YXPointTable[50];
private YCPointTable[] ycpointall = new YCPointTable[200];
private YXPointTable[] yxpointall = new YXPointTable[200];
public Listame> DataSend = new Listame>();
public const int RESET_VALUE = 32767;
public const int K = 12;
public const int W = 8;
public const int t0 = 30;
public const int t1 = 15;
public const int t2 = 10;
public const int t3 = 20;
public const int t4 = 8;
private frameConfig _frameconfig;
private byte[] _addr;
private uint _addru;
private ParaSubInfo[] _paraAddr;
private byte[] _ParaVal;
private string _SubPara;
private uint _sendNo;
private uint _recNo;
private uint _AckNo;
public bool IsSubStation;
public bool linkStatus;
public CommStatus SendStatus;
public CommStatus RecStatus;
private int _filelen;
private uint _filecheck;
private YKPointTable[] ykpoint;
private YKPointTable[] ykpointall;
public int w;
public uint SendNo
{
get
{
return this._sendNo;
}
set
{
this._sendNo = value;
}
}
public uint RecNo
{
get
{
return this._recNo;
}
set
{
this._recNo = value;
}
}
public uint ACKRecNo
{
get
{
return this._AckNo;
}
set
{
this._AckNo = value;
}
}
public int linkAddrBits
{
get
{
return this._frameconfig.linkAddrBits;
}
}
public int InfoAddrBits
{
get
{
return this._frameconfig.InfoAddrBits;
}
}
public int TransBits
{
get
{
return this._frameconfig.TransBits;
}
}
public int CommonAddrBits
{
get
{
return this._frameconfig.CommonAddrBits;
}
}
public int ParaType
{
get
{
return this._frameconfig.ParaType;
}
}
public int CommMode
{
get
{
return this._frameconfig.Procotol;
}
}
public bool TransMode
{
get
{
return this._frameconfig.TransMode != 0;
}
}
public bool IsYCNegative
{
get
{
return this._isYCNegative;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 670 2017-11-10 16:26 IEC104Lib\Backup\AssemblyInfo.cs
文件 168045 2017-11-10 16:26 IEC104Lib\Backup\IEC104Lib.cs
文件 2016 2017-11-10 16:26 IEC104Lib\Backup\IEC104Lib.csproj
文件 904 2017-11-10 16:26 IEC104Lib\Backup\IEC104Lib.sln
文件 12288 2016-02-24 15:19 IEC104Lib\bin\Debug\CommonInfoLib.dll
文件 56320 2017-11-13 21:46 IEC104Lib\bin\Debug\IEC104Lib.dll
文件 146944 2017-11-13 21:46 IEC104Lib\bin\Debug\IEC104Lib.pdb
文件 175028 2017-11-13 21:30 IEC104Lib\IEC104Lib.cs
文件 3340 2017-11-13 21:46 IEC104Lib\IEC104Lib.csproj
文件 453 2017-11-10 16:29 IEC104Lib\IEC104Lib.csproj.user
文件 124416 2017-11-10 16:26 IEC104Lib\IEC104Lib.pdb
文件 981 2017-11-10 16:26 IEC104Lib\IEC104Lib.sln
..A..H. 33280 2017-11-14 10:29 IEC104Lib\IEC104Lib.v12.suo
文件 12288 2016-02-24 15:19 IEC104Lib\lib\CommonInfoLib.dll
文件 5916 2017-11-14 09:07 IEC104Lib\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 1166 2017-11-13 21:28 IEC104Lib\obj\Debug\IEC104Lib.csproj.FileListAbsolute.txt
文件 7552 2017-11-13 21:28 IEC104Lib\obj\Debug\IEC104Lib.csprojResolveAssemblyReference.cache
文件 56320 2017-11-13 21:46 IEC104Lib\obj\Debug\IEC104Lib.dll
文件 146944 2017-11-13 21:46 IEC104Lib\obj\Debug\IEC104Lib.pdb
文件 0 2017-11-10 16:29 IEC104Lib\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
文件 0 2017-11-10 16:29 IEC104Lib\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
文件 0 2017-11-10 16:29 IEC104Lib\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
文件 35696 2017-11-10 16:26 IEC104Lib\UpgradeLog.htm
目录 0 2017-11-10 16:26 IEC104Lib\obj\Debug\TempPE
目录 0 2017-11-27 15:38 IEC104Lib\bin\Debug
目录 0 2017-11-13 21:46 IEC104Lib\bin\Release
目录 0 2017-11-27 15:38 IEC104Lib\obj\Debug
目录 0 2017-11-27 15:38 IEC104Lib\Backup
目录 0 2017-11-27 15:38 IEC104Lib\bin
目录 0 2017-11-27 15:38 IEC104Lib\lib
............此处省略5个文件信息
- 上一篇:101协议dll源码C#
- 下一篇:c#计算器实现 仿windows计算器
相关资源
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
- C#自定义控件
- 基于c#的实验室设备管理系统621530
评论
共有 条评论