会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hardenzhao
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2025年12月26日
在docker中部署influxdb
摘要: 在Docker中部署InfluxDB是一个相对简单的过程,因为它可以直接使用官方提供的Docker镜像。以下是部署InfluxDB的基本步骤: 1. 安装Docker 确保你的系统上已经安装了Docker。你可以通过运行以下命令来安装Docker(以Ubuntu为例): sudo apt updat
阅读全文
posted @ 2025-12-26 14:44 hardenzhao
阅读(5)
评论(0)
推荐(0)
2024年3月22日
NModbus4 TCP通讯
摘要: 主机(客户端)modbus tcp 引用NModbus NModbus.IModbusMaster master; TcpClient client = new TcpClient(); client = new TcpClient("127.0.0.1", 502); factory = new
阅读全文
posted @ 2024-03-22 15:35 hardenzhao
阅读(1503)
评论(0)
推荐(0)
2023年11月24日
ArrayList数据操作
摘要: ArrayList是常用的数据集合 常用的方法有:add、indexof、remove、RemoveAt、RemoveRange、GetRange,注意的是RemoveAt、和RemoveRange在数据量大的时候不要使用,频繁的使用会严重的降低响应速度。
阅读全文
posted @ 2023-11-24 15:17 hardenzhao
阅读(13)
评论(0)
推荐(0)
2023年10月6日
Modbus Poll和Modbus Slave使用方法
摘要: Modbus Poll是Modbus主站设备仿真器,可用于测试和调试Modbus从站设备。便于观察Modbus通讯过程中的各种报文数据。该软件支持Modbus RTU、ASCII、TCP/IP等协议模式。 Modbus Poll 主要功能如下: 读/写多达125个寄存器 读/写多达2000个输入/线
阅读全文
posted @ 2023-10-06 17:18 hardenzhao
阅读(1976)
评论(0)
推荐(0)
2023年9月10日
C# chart 控件操作
摘要: Annotations:图表批注集合 ChartAreas: 添加成员ChartArea, 轴Axes X axis Y(Value) axis Title:轴标题 StripLines:自定义条带和线条 TextOreintation:文本方向 Legends:(图表图例) if (File.Ex
阅读全文
posted @ 2023-09-10 11:14 hardenzhao
阅读(516)
评论(0)
推荐(0)
2023年5月29日
VB创建ACCESS数据库和数据表
摘要: 建立数据库 1 Public Sub BD_Create() 2 3 On Error GoTo db_err 4 5 Dim pstr As String 6 7 Dim tb1 As New Table 8 9 pstr = "PROVIDER=Microsoft.Jet.OLEDB.4.0;"
阅读全文
posted @ 2023-05-29 10:13 hardenzhao
阅读(490)
评论(0)
推荐(0)
2022年4月2日
C# Delegate(委托)与多线程
摘要: 实现功能:在窗体中更新listview数据。 1、定义委托 private delegate void FlushClient(ListViewItem lvi,int j); //代理 参数与方法中一致 2、定义方法 FlushClient fc = new FlushClient(tick);/
阅读全文
posted @ 2022-04-02 15:37 hardenzhao
阅读(434)
评论(0)
推荐(0)
2020年3月7日
键盘 ascii码
摘要: 按键 键码 按键 键码 按键 键码 按键 键码 A 65 6(数字键盘) 102 ; 59 : 58 B 66 7(数字键盘) 103 = 61 + 43 C 67 8(数字键盘) 104 , 44 < 60 D 68 9(数字键盘) 105 - 45 _ 95 E 69 * 106 . 46 >
阅读全文
posted @ 2020-03-07 21:30 hardenzhao
阅读(346)
评论(0)
推荐(0)
C# textbox接收数字、小数点
摘要: public static void Key_Press(KeyPressEventArgs e, TextBox txt) { //if (e.KeyChar != 8 && !char.IsDigit(e.KeyChar)) //{ // e.Handled = true; //} if (((
阅读全文
posted @ 2020-03-07 19:41 hardenzhao
阅读(884)
评论(0)
推荐(0)
2020年2月23日
File、FileStream、StreamWriter、StringWriter文件使用总结
摘要: 一、File 1、File为静态类 File类,是一个静态类,支持对文件的基本操作,包括创建,拷贝,移动,删除和打开一个文件。File类方法的参量很多时候都是路径path。主要提供有关文件的各种操作,在使用时需要引用System.IO命名空间。 常用的方法 二、FileStream FileStre
阅读全文
posted @ 2020-02-23 14:36 hardenzhao
阅读(1469)
评论(0)
推荐(0)
1
2
下一页
公告