资源简介
C#编写101协议动态链接库dll,包括遥信 遥测 遥控,及定值参数

代码片段和文件信息
// zhengshuiqing
// Type: IEC101Lib.IEC101
// Assembly: IEC101Lib Version=1.0.0.0 Culture=neutral PublicKeyToken=null
using CommonInfoLib;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace IEC101Lib
{
public class IEC101
{
//新建两个遥测和遥信表
private YCPointTable[] ycpoint = new YCPointTable[200];
private YXPointTable[] yxpoint = new YXPointTable[200];
private YCPointTable[] ycpointall = new YCPointTable[200];
private YXPointTable[] yxpointall = new YXPointTable[200];
//定义发送报文
private byte[] _dataSend = new byte[2000];
public int OverTime = 10;
public int RepeatTimes = 2;
public bool IsDoubleYK = true;
public bool IsDoubleSOE = true;
private bool _isYCNegative = true;
private const string LIBVER = “Ver1.01“;
private frameConfig _frameconfig;
private byte[] _addr;
private uint _addru;
private ParaSubInfo[] _paraAddr;
private int _FCB;
private YKPointTable[] ykpoint;
private YKPointTable[] ykpointall;
public bool IsSubStation;
public bool linkStatus;
public CommStatus SendStatus;
public CommStatus RecStatus;
public byte[] Sendframe
{
get
{
return this._dataSend;
}
set
{
this._dataSend = new byte[value.Length];
Array.Copy((Array) value (Array) this._dataSend value.Length);
}
}
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 IsInitOver
{
get
{
return this._frameconfig.IsOverInit != 0;
}
}
public bool IsSendReq
{
get
{
return this._frameconfig.IsSendReq != 0;
}
}
public bool IsYCNegative
{
get
{
return this._isYCNegative;
}
set
{
this._isYCNegative = value;
}
}
public string GetVer()
{
return “Ver1.01“;
}
public bool Encrypt_Check(string CheckCode)
{
return true;
}
public void SetPointTable(YXPointTable[] yx YCPointTable[] yc YKPointTable[] yk)
{
this.yxpoint = n
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 664 2017-11-10 16:26 IEC101Lib\Backup\AssemblyInfo.cs
文件 229756 2017-11-10 16:26 IEC101Lib\Backup\IEC101Lib.cs
文件 2016 2017-11-10 16:26 IEC101Lib\Backup\IEC101Lib.csproj
文件 904 2017-11-10 16:26 IEC101Lib\Backup\IEC101Lib.sln
文件 12288 2016-02-24 15:19 IEC101Lib\bin\Debug\CommonInfoLib.dll
文件 69632 2017-11-13 21:47 IEC101Lib\bin\Debug\IEC101Lib.dll
文件 206336 2017-11-13 21:47 IEC101Lib\bin\Debug\IEC101Lib.pdb
文件 237484 2017-11-13 20:58 IEC101Lib\IEC101Lib.cs
文件 3340 2017-11-13 21:47 IEC101Lib\IEC101Lib.csproj
文件 453 2017-11-10 16:29 IEC101Lib\IEC101Lib.csproj.user
文件 165376 2017-11-10 16:26 IEC101Lib\IEC101Lib.pdb
文件 981 2017-11-10 16:28 IEC101Lib\IEC101Lib.sln
..A..H. 36352 2017-11-14 10:29 IEC101Lib\IEC101Lib.v12.suo
文件 12288 2016-02-24 15:19 IEC101Lib\lib\CommonInfoLib.dll
文件 5916 2017-11-14 09:07 IEC101Lib\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 1166 2017-11-13 20:59 IEC101Lib\obj\Debug\IEC101Lib.csproj.FileListAbsolute.txt
文件 7552 2017-11-13 20:59 IEC101Lib\obj\Debug\IEC101Lib.csprojResolveAssemblyReference.cache
文件 69632 2017-11-13 21:47 IEC101Lib\obj\Debug\IEC101Lib.dll
文件 206336 2017-11-13 21:47 IEC101Lib\obj\Debug\IEC101Lib.pdb
文件 0 2017-11-10 16:29 IEC101Lib\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
文件 0 2017-11-10 16:29 IEC101Lib\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
文件 0 2017-11-10 16:29 IEC101Lib\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
文件 35696 2017-11-10 16:28 IEC101Lib\UpgradeLog.htm
目录 0 2017-11-10 16:28 IEC101Lib\obj\Debug\TempPE
目录 0 2017-11-27 15:38 IEC101Lib\bin\Debug
目录 0 2017-11-13 21:47 IEC101Lib\bin\Release
目录 0 2017-11-27 15:38 IEC101Lib\obj\Debug
目录 0 2017-11-27 15:38 IEC101Lib\Backup
目录 0 2017-11-27 15:38 IEC101Lib\bin
目录 0 2017-11-27 15:38 IEC101Lib\lib
............此处省略5个文件信息
相关资源
- C#程序实现动态调用DLL的研究
- 101个微软的C#例子-Windows Forms篇
- c#与西门子s7-200 smart 通讯 S7TCPDLL.dll
- C#dotnetbar控件全DLL
- winform实现饼状图、柱状图、折线图(
- 达梦数据库连接(基于DmProvider.dll)
- C# 调用LabVIEW DLL
- C# 固高运动卡(gts.dll)
- Aspose.Words.dll 18.4破解版
- C#调用托管C++的dll
- C#串口dll及
- C# 调用win32 api函数-user32.dll详细说明
- Microsoft.ReportViewer的Dll合集 9.0
- vb调用c#编写的串口DLL文件(vb源码
- C#调用delphi生成的dll获取CPU序列号
-
cef_binary_32_64双版包和pepflashpla
yer. - C#并口开发
- C#语音朗读DLL测试源码[成熟代码可直
- 基于C#与Mwic_32.dll编写的IC刷卡读写考
- c#实现可折叠展开的DataGridView提供dl
- de4dot-强大C#DLL反编译反混淆工具.zip
- 2008 安装 sqldmo.dll
- matlab文件+dll文件和C#程序
- GDAL202.rar
- npoi-DLL
- C# RedisDemo Redisdll 全部DLL
- 热敏打印机C#二次开发包DLL
- 西门子 S7-200 PLC 通信DLL
- C# 从内存加载动态链接库
- C# NPOI_2.3.0版插件
评论
共有 条评论