• 大小: 0.09M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 串口通讯  串口  通讯  C#  

资源简介


资源截图

代码片段和文件信息

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

namespace COMcommunication
{
    public partial class Form1 : Form
    {
        private SerialPort sp = new SerialPort();
        bool isHex = false; //十六进制显示标志
        bool isOpen = false; //
        bool isSetProperty = false; //属性设置标志
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            
        }

        private bool CheckSendDate() //检测发送数据是否为空
        {
            if (textBox2.Text.Trim() == ““) return false;
            return true;
  

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     47616  2019-09-21 14:06  COMcommunication\.vs\COMcommunication\v14\.suo

     文件      14336  2019-09-18 09:29  COMcommunication\COMcommunication\bin\Debug\COMcommunication.exe

     文件      26112  2019-09-18 09:29  COMcommunication\COMcommunication\bin\Debug\COMcommunication.pdb

     文件      22688  2019-09-18 09:29  COMcommunication\COMcommunication\bin\Debug\COMcommunication.vshost.exe

     文件        490  2018-09-15 15:29  COMcommunication\COMcommunication\bin\Debug\COMcommunication.vshost.exe.manifest

     文件      13824  2019-09-18 09:30  COMcommunication\COMcommunication\bin\Release\COMcommunication.exe

     文件      24064  2019-09-18 09:30  COMcommunication\COMcommunication\bin\Release\COMcommunication.pdb

     文件      22688  2019-09-21 14:04  COMcommunication\COMcommunication\bin\Release\COMcommunication.vshost.exe

     文件        490  2018-09-15 15:29  COMcommunication\COMcommunication\bin\Release\COMcommunication.vshost.exe.manifest

     文件       3746  2019-09-16 16:47  COMcommunication\COMcommunication\COMcommunication.csproj

     文件       7217  2019-09-18 09:29  COMcommunication\COMcommunication\Form1.cs

     文件      12735  2019-09-16 17:24  COMcommunication\COMcommunication\Form1.Designer.cs

     文件       6016  2019-09-16 17:24  COMcommunication\COMcommunication\Form1.resx

     文件        722  2019-09-18 09:29  COMcommunication\COMcommunication\obj\Debug\COMcommunication.csproj.FileListAbsolute.txt

     文件       1012  2019-09-16 17:24  COMcommunication\COMcommunication\obj\Debug\COMcommunication.csproj.GenerateResource.Cache

     文件       2210  2019-09-16 16:57  COMcommunication\COMcommunication\obj\Debug\COMcommunication.csprojResolveAssemblyReference.cache

     文件      14336  2019-09-18 09:29  COMcommunication\COMcommunication\obj\Debug\COMcommunication.exe

     文件        180  2019-09-16 17:24  COMcommunication\COMcommunication\obj\Debug\COMcommunication.Form1.resources

     文件      26112  2019-09-18 09:29  COMcommunication\COMcommunication\obj\Debug\COMcommunication.pdb

     文件        180  2019-09-16 16:57  COMcommunication\COMcommunication\obj\Debug\COMcommunication.Properties.Resources.resources

     文件       1452  2019-09-18 09:27  COMcommunication\COMcommunication\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6869  2019-09-16 16:47  COMcommunication\COMcommunication\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        625  2019-09-21 14:06  COMcommunication\COMcommunication\obj\Release\COMcommunication.csproj.FileListAbsolute.txt

     文件       1012  2019-09-18 09:30  COMcommunication\COMcommunication\obj\Release\COMcommunication.csproj.GenerateResource.Cache

     文件      13824  2019-09-18 09:30  COMcommunication\COMcommunication\obj\Release\COMcommunication.exe

     文件        180  2019-09-18 09:30  COMcommunication\COMcommunication\obj\Release\COMcommunication.Form1.resources

     文件      24064  2019-09-18 09:30  COMcommunication\COMcommunication\obj\Release\COMcommunication.pdb

     文件        180  2019-09-18 09:30  COMcommunication\COMcommunication\obj\Release\COMcommunication.Properties.Resources.resources

     文件       1452  2019-09-21 14:06  COMcommunication\COMcommunication\obj\Release\DesignTimeResolveAssemblyReferences.cache

     文件       6873  2019-09-18 09:30  COMcommunication\COMcommunication\obj\Release\DesignTimeResolveAssemblyReferencesInput.cache

............此处省略24个文件信息

评论

共有 条评论