
C#
code_long
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C# HalconDotNet 工业视觉处理
1.引入Halcon组件2.项目配置文件 <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="halcondotnet" publicKeyToken="4973BED59DDBF2B8"/> <bindingRed原创 2021-05-25 15:18:51 · 4665 阅读 · 4 评论 -
C# Socket 读取可变长度数据
byte[] allContent = null;int AllLength = 0;int count = 0;int length= 1024;byte[] readBuff = new byte[length];List<byte[]> readBuffList = new List<byte[]>();while (true){ int r = this._clientSocket.Receive(readBuff, 0, length, Socket.原创 2021-05-18 11:06:54 · 1352 阅读 · 0 评论 -
C# WiFi多线程收发报文
网络通信public class NetClient { /// <summary> /// 接收数据缓冲区大小64K /// </summary> public const int DefaultBufferSize = 64 * 1024; public event Even...原创 2020-04-20 16:01:56 · 673 阅读 · 0 评论 -
C# ble 4.0 低能耗 蓝牙交互
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Windows.Devices.Bluetooth;using Windows.Devices.Bluetooth.GenericAttributePr...翻译 2020-04-20 15:47:05 · 19418 阅读 · 78 评论 -
C# Stopwatch类用法
//首先引入命名空间using System.Diagnostics; public static void Mian() { Stopwatch sw = new Stopwatch(); sw.Start(); for (int i = 0; i < 1000000001; i++)原创 2013-08-13 16:37:45 · 1084 阅读 · 0 评论 -
二维装箱
//节点 public class Node { public int X { get; set; } public int Y { get; set; } public int W { get; set; } public int H { get; set; } public bool Is...原创 2018-07-24 12:25:14 · 8165 阅读 · 9 评论