摘要: 1. 安装 Microsoft.AspNetCore.SignalR 2. 配置 SignalR 服务 public class RandomNumberHub : Hub { /// <summary> /// 前端推送到后端 /// </summary> public async Task Se 阅读全文
posted @ 2025-09-30 17:08 超级驼鹿 阅读(2) 评论(0) 推荐(0)
摘要: 我的建议是: 是 是 是不适用Label标签,使用 TextBlock <TextBlock > <Run Text="今天已上传"></Run><Run Text="{Binding TodayOkNum}"/><Run Text="条,失败"/> <Run Text="{Binding Toda 阅读全文
posted @ 2025-09-23 08:51 超级驼鹿 阅读(3) 评论(0) 推荐(0)
摘要: 1. 整型 转 高低字节 /// <summary> /// 将整数转换为高字节在前,低字节在后的字节数组 /// </summary> static byte[] IntToHighLowBytes(int value) { if (value < 0 || value > 0xFFFF) thr 阅读全文
posted @ 2025-08-19 11:26 超级驼鹿 阅读(19) 评论(0) 推荐(0)
摘要: 1.Xaml <Border BorderBrush="#DDDDDD" BorderThickness="1" CornerRadius="5" Background="#001c33"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Widt 阅读全文
posted @ 2025-07-31 17:02 超级驼鹿 阅读(6) 评论(0) 推荐(0)
摘要: 一:常规版 方法A实现了AAAAA...循环执行,且做到A和A之间的时间间隔相同 using System.Diagnostics; using System.Runtime.InteropServices; namespace App10 { internal class Program { pr 阅读全文
posted @ 2025-06-09 15:33 超级驼鹿 阅读(147) 评论(0) 推荐(0)
/*