上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 30 下一页
摘要: namespace PriorityQueueDemo { public class Task { public string Name { get; set; } } public class TaskPriorityComparer : IComparer<(int, int)> { publi 阅读全文
posted @ 2025-01-20 11:32 CHHC 阅读(123) 评论(0) 推荐(0)
摘要: 1. 使用防火墙的入站和出站规则 2. 使用火绒工具进行拦截 IP黑名单拦截 阅读全文
posted @ 2025-01-10 11:18 CHHC 阅读(21) 评论(0) 推荐(0)
摘要: 实现功能 package main import ( "fmt" "log" "opcuaclient/util/plugin/client/opcclient" "os" "os/signal" "syscall" ) func main() { OPCUATest() // 监听操作系统信号,阻 阅读全文
posted @ 2025-01-08 10:16 CHHC 阅读(72) 评论(0) 推荐(0)
摘要: KepServer破解版安装 1. 关闭网络,修改时间 2. 安装KEPServerEX 6.4.321.0.exe 3. 拷贝KEPServerEX V5.xV6.x Crack.exe至程序目录下,打补丁 4. 启动程序后退出程序 5. 恢复网络,同步时间 当ModbusClient使用连接Mo 阅读全文
posted @ 2025-01-08 09:36 CHHC 阅读(8298) 评论(0) 推荐(0)
摘要: # 根据预定的csv数据自动回复 import time import numpy as np import pandas as pd # 匹配回复数据 from uiautomation import WindowControl # 用于Windows GUI自动化 target_name = " 阅读全文
posted @ 2024-12-24 10:36 CHHC 阅读(180) 评论(0) 推荐(0)
摘要: package main import ( "bytes" "compress/gzip" "encoding/json" "fmt" "io" "log" ) // User 结构体定义 type User struct { ID int `json:"id"` Name string `json 阅读全文
posted @ 2024-12-18 15:09 CHHC 阅读(70) 评论(0) 推荐(0)
摘要: 电表模拟器 97协议测试 07协议测试 private void btnSend_Click(object sender, EventArgs e) { string addr = txtAddr.Text.Trim(); string data = txtDataFlg.Text.Trim(); 阅读全文
posted @ 2024-12-13 14:43 CHHC 阅读(169) 评论(0) 推荐(1)
摘要: appsettings.json { "AllowedHosts": "*", "AppSettings": { "WebPort": 5001 } } Program.cs using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions 阅读全文
posted @ 2024-12-10 08:38 CHHC 阅读(126) 评论(0) 推荐(0)
摘要: 代码调试 1. 安装VSCode 2. VSCode扩展添加(C/C++ Extension Pack ;Code Runner) 3. 安装gcc(MinGW-W64)并配置环境变量 ,验证:gcc -v windowgcc -o hello.exe hello.c linuxgcc -o hel 阅读全文
posted @ 2024-12-05 15:09 CHHC 阅读(39) 评论(0) 推荐(0)
摘要: 带串口设置监视字节流数据stty -F /dev/ttyS1 921600 cs8 -cstopb -parenb cat /dev/ttyS1 | hexdump -C 默认监视(9600,N,8,1)字符串数据cat /dev/ttyS2 输出保存cat /dev/ttyS1 | hexdump 阅读全文
posted @ 2024-11-29 15:08 CHHC 阅读(67) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 30 下一页