摘要: 一、区别:tcp比rtu多了事务,协议,长度(前面多6个字节) ascii和rtu的区别(参考地址:https://blog.csdn.net/b07lxh/article/details/131613977) /// <summary> /// byte[]转换为等效的十六进制字符串,例如byte 阅读全文
posted @ 2024-07-30 18:02 世人皆萌 阅读(35) 评论(0) 推荐(0) 编辑
摘要: ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. # User-specific files *.suo *.user *. 阅读全文
posted @ 2024-07-24 15:57 世人皆萌 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 学习大佬视频地址:https://www.bilibili.com/video/BV1nY411a7T8/?p=58&spm_id_from=333.788.top_right_bar_window_history.content.click&vd_source=a4e06be300e6556124 阅读全文
posted @ 2024-07-24 09:30 世人皆萌 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 学习大佬的视频地址:https://www.bilibili.com/video/BV1nY411a7T8/?p=58&spm_id_from=333.788.top_right_bar_window_history.content.click&vd_source=a4e06be300e655612 阅读全文
posted @ 2024-07-23 22:35 世人皆萌 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 注意:首页网页标签不要有h1等标签,不然会生成目录 使用的是Aspose.Words Document doc = new Document(); DocumentBuilder builder = new DocumentBuilder(doc); builder.InsertHtml(temHt 阅读全文
posted @ 2024-06-05 15:29 世人皆萌 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 中间件 public class CustomOcelotMiddleware : Ocelot.Middleware.OcelotMiddleware { private readonly RequestDelegate _next; public IConfiguration _configur 阅读全文
posted @ 2024-05-27 14:58 世人皆萌 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 基础参数 interface,abstract,virtual,override 然后实现了这样的效果 同一个方法,调用不同的实现类,那实现不一样的结果 具体代码 public interface IStatsBase { string UserSpeak(string content); stri 阅读全文
posted @ 2024-05-20 10:58 世人皆萌 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 看到一个好文章地址:如何学好WPF - 周永恒 - 博客园 (cnblogs.com) 主要是这个 1. 熟悉XAML,熟悉布局,熟悉基本控件,能够根据产品端提出的原型画出界面。——(入门) 2. 研究事件、Style、Template,提升自己的项目能力。——(可按Winform风格实现WPF)。 阅读全文
posted @ 2023-12-05 11:01 世人皆萌 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 打开新的页签 # 获取当前所有的窗口句柄 window_handles = driver.window_handles # 切换到新的标签页 driver.switch_to.window(window_handles[1]) 关闭svg弹窗 WebDriverWait(driver, 20).un 阅读全文
posted @ 2023-12-05 10:40 世人皆萌 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://blog.csdn.net/shizheng_Li/article/details/115555596 问题 今天在做python的小项目的时候,需要建立虚拟环境,并且激化它,但是遇到的了问题,如下: PS D:\user\文档\python\python_work\lea 阅读全文
posted @ 2023-12-04 11:50 世人皆萌 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 参考学习项目zradmin 在Configure中配置请求参数缓存 //使可以多次多去body内容 app.Use((context, next) => { context.Request.EnableBuffering(); return next();//请求通道走向下一步 }); 在Confi 阅读全文
posted @ 2023-11-23 10:58 世人皆萌 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 原文地址:Elasticsearch .net client NEST使用说明-CSDN博客 Connection链接 //单node Var node = new Uri(“……”); var settings = new ConnectionSettings(node); //多uri Var 阅读全文
posted @ 2023-09-28 14:21 世人皆萌 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 原文地址:ES nested 数组元素增删改查_es对数组里的元素查询__细水长流的博客-CSDN博客 参考地址:es nested数组嵌套对象操作 增删改查 - meow_world - 博客园 (cnblogs.com) 定义缓存结构体(重点关注nested): PUT group/_mappi 阅读全文
posted @ 2023-09-26 09:03 世人皆萌 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 参考:C#实现MODBUS TCP 通信 第二章 (程序内实现) - 『编程语言区』 - 吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn modbus通讯协议详解 - 孤情剑客 - 博客园 (cnblogs.com) 只要了解这个modubs的数据格式 常用的命 阅读全文
posted @ 2023-09-13 17:54 世人皆萌 阅读(2960) 评论(0) 推荐(0) 编辑
摘要: 原文地址:.NET Framework 4.7.2下 Hangfire 的集成 - Sam Xiao - 博客园 (cnblogs.com) .NET Framework 4.7.2下 Hangfire 的集成 参考资料: 开源的.NET定时任务组件Hangfire解析:https://www.cn 阅读全文
posted @ 2023-09-11 15:50 世人皆萌 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 视频地址:https://www.bilibili.com/video/BV1T94y1X7cn?p=5&vd_source=a4e06be300e655612460fd5149552558 动画比较重要 <UserControl x:Class="WpfComponetLibrary.Coolin 阅读全文
posted @ 2023-09-09 21:15 世人皆萌 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 单例模式就不说了:只实现一次;多线程就就lock 其它的模式总结:抽象(abstract);接口(interface);虚方法(virtual);重写(override) 衍生出:依赖注入(DI),控制反转(IOC),DDD(领域驱动) 其实这些继承(base关键字,泛型约束(where)),封装, 阅读全文
posted @ 2023-08-23 15:12 世人皆萌 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 然后百度 参考:The MySQL server is running with the LOCK_WRITE_GROWTH option so it cannot execute this statement_冰尘s1的博客-CSDN博客 mysql报错The MySQL server is ru 阅读全文
posted @ 2023-08-11 10:26 世人皆萌 阅读(834) 评论(0) 推荐(0) 编辑
摘要: 下载项目zradmin,参考使用jwt;官方地址:http://www.izhaorui.cn/doc/ jwt的封装修改用户基本模板就行 配置文件 "JwtSettings": { "Issuer": "ZRAdmin.NET", "Audience": "ZRAdmin.NET", "Secre 阅读全文
posted @ 2023-08-10 09:59 世人皆萌 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 引用Prism.Core,Prism.Wpf 和 Prism.Unity 修改App.xaml 的类型替换为 PrismApplication 修改App.xaml.cs: /// <summary> /// Interaction logic for App.xaml /// </summary> 阅读全文
posted @ 2023-07-11 17:02 世人皆萌 阅读(215) 评论(0) 推荐(1) 编辑