资源简介

    将串口接收协议发送到网络,由网络接收到测16进制数据返回给串口

资源截图

代码片段和文件信息

using System;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;

namespace SerialPortToNetwork
{
    #region <<版本注释>>
    /*----------------------------------------------------------------
    * 项目名称 :SerialPortToNetwork
    * 项目描述 :
    * 类 名 称 :ConvertHelper
    * 类 描 述 :数据类型转换类
    *            1、实现各种类型转int类型
    *            2、实现各种类型转Float类型
    *            3、实现各种类型转DateTime类型
    *            4、实现各种类型转Bool类型
    *            5、字节数据与结构之间相互转换
    *            6、世界时间与北京时间的转换
    * 所在的域 :YANG_PC
    * 命名空间 :SerialPortToNetwork
    * 机器名称 :YANG_PC 
    * CLR 版本 :4.0.30319.42000
    *  作  者  :Yang_PC
    * 创建时间 :2020-05-19 9:28:15
    * 更新时间 :2020-05-19 9:28:

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-05-19 08:34  SerialPortToNetwork\
     目录           0  2020-05-19 14:11  SerialPortToNetwork\SerialPortToNetwork\
     目录           0  2020-05-19 08:34  SerialPortToNetwork\SerialPortToNetwork\.vs\
     目录           0  2020-05-19 08:34  SerialPortToNetwork\SerialPortToNetwork\.vs\SerialPortToNetwork\
     目录           0  2020-05-19 08:34  SerialPortToNetwork\SerialPortToNetwork\.vs\SerialPortToNetwork\v16\
     文件       60928  2020-05-19 14:49  SerialPortToNetwork\SerialPortToNetwork\.vs\SerialPortToNetwork\v16\.suo
     文件       46327  2020-05-19 13:51  SerialPortToNetwork\SerialPortToNetwork\ConvertHelper.cs
     文件       32042  2020-05-19 11:33  SerialPortToNetwork\SerialPortToNetwork\MainForm.Designer.cs
     文件       16642  2020-05-19 14:11  SerialPortToNetwork\SerialPortToNetwork\MainForm.cs
     文件       54427  2020-05-19 11:33  SerialPortToNetwork\SerialPortToNetwork\MainForm.resx
     文件        4555  2020-05-19 09:15  SerialPortToNetwork\SerialPortToNetwork\PCommHelper.cs
     文件         503  2020-05-19 08:38  SerialPortToNetwork\SerialPortToNetwork\Program.cs
     目录           0  2020-05-19 09:05  SerialPortToNetwork\SerialPortToNetwork\Properties\
     文件        1330  2020-05-19 08:34  SerialPortToNetwork\SerialPortToNetwork\Properties\AssemblyInfo.cs
     文件        3615  2020-05-19 09:05  SerialPortToNetwork\SerialPortToNetwork\Properties\Resources.Designer.cs
     文件        6443  2020-05-19 09:05  SerialPortToNetwork\SerialPortToNetwork\Properties\Resources.resx
     文件        1106  2020-05-19 08:34  SerialPortToNetwork\SerialPortToNetwork\Properties\Settings.Designer.cs
     文件         249  2020-05-19 08:34  SerialPortToNetwork\SerialPortToNetwork\Properties\Settings.settings
     目录           0  2020-05-19 09:05  SerialPortToNetwork\SerialPortToNetwork\Resources\
     文件        2933  2020-05-19 09:05  SerialPortToNetwork\SerialPortToNetwork\Resources\LedOff1.png
     文件        2983  2020-05-19 09:05  SerialPortToNetwork\SerialPortToNetwork\Resources\LedOn1.png
     文件        4280  2020-05-19 11:32  SerialPortToNetwork\SerialPortToNetwork\SerialPortToNetwork.csproj
     文件        1143  2020-05-19 08:34  SerialPortToNetwork\SerialPortToNetwork\SerialPortToNetwork.sln
     目录           0  2020-05-19 08:38  SerialPortToNetwork\SerialPortToNetwork\bin\
     目录           0  2020-05-19 14:48  SerialPortToNetwork\SerialPortToNetwork\bin\Debug\
     文件      190464  2019-01-30 18:21  SerialPortToNetwork\SerialPortToNetwork\bin\Debug\HPSocket4C_U.dll
     文件       53760  2019-01-30 18:21  SerialPortToNetwork\SerialPortToNetwork\bin\Debug\HPSocketCS.dll
     文件     1111040  2018-09-15 17:11  SerialPortToNetwork\SerialPortToNetwork\bin\Debug\HYUILibrary.dll
     文件     1287680  2018-09-15 17:11  SerialPortToNetwork\SerialPortToNetwork\bin\Debug\HYUILibrary.pdb
     文件       82520  2018-06-07 07:57  SerialPortToNetwork\SerialPortToNetwork\bin\Debug\Pcomm.dll
     文件      102400  2020-05-19 14:48  SerialPortToNetwork\SerialPortToNetwork\bin\Debug\SerialPortToNetwork.exe
............此处省略18个文件信息

评论

共有 条评论