
C#
YF_IOT
这个作者很懒,什么都没留下…
展开
-
串口通讯系列-串口通讯实现
/*======================================================//使用到的控件有://Panel 分组框 容器//GroupBox 组合框 容器//Label 标签//RadioButton 单选按钮//TextBox 文本编辑框//SerialPort 串行端口//ComboBox 组合框//Button 按钮=======...原创 2018-02-01 21:37:04 · 592 阅读 · 1 评论 -
串口通讯系列二-通过txt文件读取串口参数
/*================================== 从txt文件中串口读取参数 创建txt文件,并写入默认参数 读取txt文件 根据txt文件里的内容设置串口参数 FileStream 对文件系统上的文件进行读取、写入、打开和关闭操作 StreamWriter 流写入 StreamReader 流读取 List<string> 集合 ...原创 2018-02-01 22:16:41 · 1028 阅读 · 0 评论 -
串口通讯系列二之文件读写操作
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.IO;using System.Windows.Forms;原创 2018-02-01 22:28:05 · 429 阅读 · 0 评论 -
串口通讯系列三-指定某一控件全屏
/*======================================== 某一控件全屏 按ESC退出全屏 视频重复播放 屏蔽鼠标双击及右键功能 ========================================*/using System;using System.Collections.Generic;using System.ComponentMod...原创 2018-02-02 23:56:07 · 307 阅读 · 0 评论 -
串口通讯系列四-调用flash
/*========================== 调用flash 实现窗体内某控件的全屏显示 Esc退出全屏 ==========================*/using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using Syste...原创 2018-02-04 20:14:13 · 898 阅读 · 0 评论 -
串口通讯系列五之串口数据接收处理
private string nstr = ""; private string mstr = ""; public void YF_DataReceived(object sender, SerialDataReceivedEventArgs e) { int line = ComDevice.BytesToRead; ...原创 2018-02-26 16:34:23 · 2782 阅读 · 0 评论 -
串口通讯系列五-串口与上位机通讯调用及视频切换
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.IO.Ports;using System.Linq;using System.Text;usin...原创 2018-02-27 19:45:29 · 1130 阅读 · 2 评论 -
串口通讯系列六-串口与上位机通讯调用Flash及Flash视频切换(非交互)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.IO.Ports;using System.Linq;using System.Text;usin...原创 2018-02-27 22:43:28 · 1020 阅读 · 0 评论 -
串口通讯系列七-串口与上位机通讯调用Flash及与Flash交互通信
using AxShockwaveFlashObjects;using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.IO.Ports;using Syste...原创 2018-05-26 17:51:34 · 2184 阅读 · 0 评论