资源简介
C#编码的串口数据接收解析程序,协议解析
代码片段和文件信息
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace ControlComVer
{
///
/// DataPacket:实体类(属性说明自动提取数据库字段的描述信息)
///
[Serializable]
public partial class DataPacket
{
public DataPacket()
{ }
#region Model
private int _id;
private string _receivetime;
private string _dtuid;
private string _cpversionid;
private string _caddress;
private string _deviceid;
private string _controlname;
private string _rtn;
private string _paravaluelength;
private string _checkcode;
private string _data1;
private string _data2;
private string _data3;
private string _data4;
private string _data5;
private string _data6;
private string _data7;
private string _data8;
private string _data9;
private string _data10;
private string _data11;
private string _data12;
private string _data13;
private string _data14;
private string _data15;
private string _data16;
private string _data17;
private string _data18;
private string _data19;
private string _data20;
private string _data21;
private string _data22;
private string _data23;
private string _data24;
private string _data25;
///
///
///
public int ID
{
set { _id = value; }
get { return _id; }
}
///
/// 接收时间
///
public string ReceiveTime
{
set { _receivetime = value; }
get { return _receivetime; }
}
///
/// DTUID
///
public string DTUID
{
set { _dtuid = value; }
get { return _dtuid; }
}
///
/// 通信协议版本
///
public string CPVersionID
{
set { _cpversionid = value; }
get { return _cpversionid; }
}
///
/// 通信地址描述
///
public string CAddress
{
set { _caddress = value; }
get { return _caddress; }
}
///
/// 设备标识码
///
public string DeviceID
{
set { _deviceid = value; }
get { return _deviceid; }
}
///
/// 控制命令名称
///
public string ControlName
{
set { _controlname = value; }
get { return _controlname; }
}
///
/// 返回码
///
public string RTN
{
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A..H. 61440 2017-07-07 08:35 ControlComVer\ControlComVer\.vs\ControlComVer\v14\.suo
文件 184 2016-09-27 17:57 ControlComVer\ControlComVer\ControlComVer\App.config
文件 184 2016-09-27 17:57 ControlComVer\ControlComVer\ControlComVer\bin\Debug\ControlComVer.vshost.exe.config
文件 490 2015-06-04 12:48 ControlComVer\ControlComVer\ControlComVer\bin\Debug\ControlComVer.vshost.exe.manifest
文件 210944 2017-06-05 15:04 ControlComVer\ControlComVer\ControlComVer\bin\Debug\集中监控上位机.exe
文件 184 2016-09-27 17:57 ControlComVer\ControlComVer\ControlComVer\bin\Debug\集中监控上位机.exe.config
文件 247296 2017-06-05 15:04 ControlComVer\ControlComVer\ControlComVer\bin\Debug\集中监控上位机.pdb
文件 22688 2017-07-07 08:33 ControlComVer\ControlComVer\ControlComVer\bin\Debug\集中监控上位机.vshost.exe
文件 184 2016-09-27 17:57 ControlComVer\ControlComVer\ControlComVer\bin\Debug\集中监控上位机.vshost.exe.config
文件 490 2012-06-06 02:06 ControlComVer\ControlComVer\ControlComVer\bin\Debug\集中监控上位机.vshost.exe.manifest
文件 6287 2017-07-07 08:35 ControlComVer\ControlComVer\ControlComVer\ControlComVer.csproj
文件 8326 2016-09-21 15:16 ControlComVer\ControlComVer\ControlComVer\DataPacket.cs
文件 1305 2016-10-09 09:09 ControlComVer\ControlComVer\ControlComVer\Frm_BCZJS.cs
文件 10382 2016-10-08 15:23 ControlComVer\ControlComVer\ControlComVer\Frm_BCZJS.Designer.cs
文件 5817 2016-10-08 15:23 ControlComVer\ControlComVer\ControlComVer\Frm_BCZJS.resx
文件 6861 2016-10-08 10:37 ControlComVer\ControlComVer\ControlComVer\Frm_ControlSet.cs
文件 19431 2016-09-30 10:35 ControlComVer\ControlComVer\ControlComVer\Frm_ControlSet.Designer.cs
文件 6362 2016-09-30 11:21 ControlComVer\ControlComVer\ControlComVer\Frm_ControlSet.resx
文件 39787 2017-07-07 08:35 ControlComVer\ControlComVer\ControlComVer\Frm_Main.cs
文件 130486 2017-07-07 08:35 ControlComVer\ControlComVer\ControlComVer\Frm_Main.Designer.cs
文件 8020 2017-07-07 08:35 ControlComVer\ControlComVer\ControlComVer\Frm_Main.resx
文件 76911 2016-10-08 13:53 ControlComVer\ControlComVer\ControlComVer\Frm_ParaSet.cs
文件 177584 2016-10-08 13:51 ControlComVer\ControlComVer\ControlComVer\Frm_ParaSet.Designer.cs
文件 6565 2016-10-08 13:51 ControlComVer\ControlComVer\ControlComVer\Frm_ParaSet.resx
文件 406 2016-09-21 17:34 ControlComVer\ControlComVer\ControlComVer\Frm_PortSet.cs
文件 4702 2016-09-21 17:34 ControlComVer\ControlComVer\ControlComVer\Frm_PortSet.Designer.cs
文件 5817 2016-09-21 17:34 ControlComVer\ControlComVer\ControlComVer\Frm_PortSet.resx
文件 18027 2016-09-21 15:16 ControlComVer\ControlComVer\ControlComVer\MoKuaiData.cs
文件 1475 2017-07-07 08:33 ControlComVer\ControlComVer\ControlComVer\obj\Debug\ControlComVer.csproj.FileListAbsolute.txt
文件 1599 2016-10-21 11:30 ControlComVer\ControlComVer\ControlComVer\obj\Debug\ControlComVer.csproj.GenerateResource.Cache
............此处省略50个文件信息
评论
共有 条评论