• 大小: 0.13M
    文件类型: .zip
    金币: 2
    下载: 8 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 文件  串口  源码  d  Modbus  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;
using System.IO;
using System.Threading;

namespace COMClient
{
    public partial class Form1 : Form
    {
        #region 变量
        /// 
        /// 串口资源
        /// 

        private static SerialPort serialPort = null;
        /// 
        /// 文件
        /// 

        private static FileStream fs = null;
        private static long index = 0;
        private static long blockCount;
        private static int size = 4095;
        private static DateTime dt;
        #endregion

        #region Form1
        public Form1()
        {
            Init

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-09-22 06:07  ModbusClientServer-master\
     目录           0  2016-09-22 06:07  ModbusClientServer-master\COMClient\
     目录           0  2016-09-22 06:07  ModbusClientServer-master\COMClient\.vs\
     目录           0  2016-09-22 06:07  ModbusClientServer-master\COMClient\.vs\COMClient\
     目录           0  2016-09-22 06:07  ModbusClientServer-master\COMClient\.vs\COMClient\v14\
     文件       48640  2016-09-22 06:07  ModbusClientServer-master\COMClient\.vs\COMClient\v14\.suo
     文件         849  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient.sln
     文件       20992  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient.suo
     目录           0  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\
     文件        3767  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\COMClient.csproj
     文件        2397  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Form1.Designer.cs
     文件        3608  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Form1.cs
     文件        5898  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Form1.resx
     文件         469  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Program.cs
     目录           0  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Properties\
     文件        1314  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Properties\AssemblyInfo.cs
     文件        2799  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Properties\Resources.Designer.cs
     文件        5496  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Properties\Resources.resx
     文件        1066  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Properties\Settings.Designer.cs
     文件         242  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Properties\Settings.settings
     文件         399  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Protocol.cs
     目录           0  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Utils\
     文件         212  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Utils\Common.cs
     文件         707  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Utils\InvokeUtil.cs
     文件        2378  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\Utils\SerialPortUtil.cs
     目录           0  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\bin\
     目录           0  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\bin\Debug\
     文件       11776  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\bin\Debug\COMClient.exe
     文件       28160  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\bin\Debug\COMClient.pdb
     文件       22696  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\bin\Debug\COMClient.vshost.exe
     文件         479  2016-09-22 06:07  ModbusClientServer-master\COMClient\COMClient\bin\Debug\COMClient.vshost.exe.manifest
............此处省略53个文件信息

评论

共有 条评论