登录
首页 » c++,c » 串口助手源程序

串口助手源程序

于 2022-03-19 发布 文件大小:19.74 MB
0 88
下载积分: 2 下载次数: 1

代码说明:

在原有代码基础上去除无效代码,增加电脑串口自动识别,将程序界面重新布置,扩大接收端缓存字节数,更多的功能你可以自己去开发,希望对大学学习有所帮助!

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 串口指令编写
    串口的编写,发送与接收,可发送文字和txt文件,实时接收,检测存在串口,设置串口参数,兼容性强。
    2022-02-05 08:31:18下载
    积分:1
  • POS
    使用控件打印收据,功能完整,可以扩展,附带数据库和sql。vs 2005 sql2005 c# winfrom
    2009-11-06 19:12:31下载
    积分:1
  • 微信群发Web请求C#源码
    微信群发Web请求C#源码
    2020-12-12下载
    积分:1
  • 屏幕画笔工具
    是的分成是的输入太过分的温柔天涯海阁分别VCD是 额我当时发给他热武器生成的热文身断发认为繁荣稳定是
    2023-06-12 16:25:03下载
    积分:1
  • 机器学习 人工神经网络算法
    本程序实现了机器学习中的经典算法 人工智能网络算法,并使用c++完成,并有相应的说明和测试数据,对在学习机器学习的同学应该会有帮助
    2022-02-28 17:47:52下载
    积分:1
  • 串口Mudbud
    说明:  moDbus上位机源码,可以采集或写入数据(Source code of Modbus upper computer, which can collect or write data)
    2020-04-26 17:18:16下载
    积分:1
  • C语言文件,关于求聚类分析的问题,谁有相同的问题可凉右
    C语言文件,关于求聚类分析的问题,谁有相同的问题可凉右-C language paper for cluster analysis on the issue, who has the same problem right cooler
    2022-05-30 13:50:42下载
    积分:1
  • SQLHelper连接数据库示例类
    [实例简介] 连接sql数据库 类 [核心代码]using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.Data.SqlClient;using System.Data; namespace Itcast.Cn{ public static class SqlHelper { private static readonly string conStr = ConfigurationManager.ConnectionStrings["connStr"].ConnectionString; //执行增删改的 public static int ExecuteNonQuery(string sql, CommandType cmdType, params SqlParameter[] pms) { using (SqlConnection con = new SqlConnection(conStr)) { using (SqlCommand cmd = new SqlCommand(sql, con)) { cmd.CommandType = cmdType; if (pms != null) { cmd.Parameters.AddRange(pms); } con.Open(); return cmd.ExecuteNonQuery(); } } } //封装一个执行返回单个值的方法 public static object ExecuteScalar(string sql, CommandType cmdType, params SqlParameter[] pms) { using (SqlConnection con = new SqlConnection(conStr)) { using (SqlCommand cmd = new SqlCommand(sql, con)) { cmd.CommandType = cmdType; if (pms != null) { cmd.Parameters.AddRange(pms); } con.Open(); return cmd.ExecuteScalar(); } } } //返回SqlDataReader对象的方法 public static SqlDataReader ExecuteReader(string sql, CommandType cmdType, params SqlParameter[] pms) { SqlConnection con = new SqlConnection(conStr); using (SqlCommand cmd = new SqlCommand(sql, con)) { cmd.CommandType = cmdType; if (pms != null) { cmd.Parameters.AddRange(pms); } try { con.Open(); return cmd.ExecuteReader(CommandBehavior.CloseConnection); } catch (Exception) { con.Close(); con.Dispose(); throw; } } } //封装一个返回DataTable的方法 public static DataTable ExecuteDataTable(string sql, CommandType cmdType, params SqlParameter[] pms) { DataTable dt = new DataTable(); using (SqlDataAdapter adapter = new SqlDataAdapter(sql, conStr)) { adapter.SelectCommand.CommandType = cmdType; if (pms != null) { adapter.SelectCommand.Parameters.AddRange(pms); } adapter.Fill(dt); } return dt; } //封装一个带事务的执行Sql语句的方法 public static void ExecuteNonQueryTran(List list) { using (SqlConnection con = new SqlConnection(conStr)) { using (SqlCommand cmd = con.CreateCommand()) { con.Open(); using (SqlTransaction trans = con.BeginTransaction()) { cmd.Transaction = trans; try { foreach (var SqlObject in list) { cmd.CommandText = SqlObject.Sql; if (SqlObject.Parameters != null) { cmd.Parameters.AddRange(SqlObject.Parameters); } cmd.CommandType = SqlObject.CmdType; cmd.ExecuteNonQuery(); cmd.Parameters.Clear(); } trans.Commit(); } catch (Exception) { trans.Rollback(); } } } } } } public class SqlAndParameter { public string Sql { get; set; } public SqlParameter[] Parameters { get; set; } public CommandType CmdType { get; set; } }}
    2015-04-01下载
    积分:1
  • ATM基本功能
    使用C#语言实现基本的ATM机功能,带界面,但是这个没有用到数据库,可以实现用户之间的切换以及转账,查询,存钱,取钱等基本功能。
    2023-02-15 23:15:03下载
    积分:1
  • csharpdeletefolder
    Visual C#删除目录源码实例,是一个FSO组件操作例子,例子包括了两种方法,一种是通过调用 Directory.Delete(string path) 来实现,另一种是调用 Directory.Delete(string path, bool recursive)来实现,演示先创建一个目录,然后删除它,测试时请打开CMD控制台窗口,将exe拖放到本窗口打开可看到效果。(Visual C# delete the directory source code examples, is an example of the operation FSO component, examples include two methods, one is by calling Directory.Delete (string path) to achieve, and the other is to call Directory.Delete (string path, bool recursive ) to achieve, demonstrate first create a directory, and then delete it, open the CMD console window when the test will be exe onto the window open to see the effect.)
    2014-05-06 21:53:53下载
    积分:1
  • 696518资源总数
  • 105562会员总数
  • 1今日下载