Loading...
之前的黑裙是搭在win下的vmware workstation下的,最近水逆,黑裙无缘无故包磁盘故障罢工了(实际上并没有)。然后就脑抽决定推到重来,将黑裙换到esxi6.7 系统下。这里记录一下遇到的问题1. EXSI文件传输速度在安装完EXSI 6.7后,需要将之前的vm...
在做连续帧的接收时,对流控帧的发送时间存在疑问。CDD中定义了多个时间参数。虽然简单注释,但是具体每个都是什么含义,不是很清楚。下面这张图到时很清楚的描述...
使用下方复制函数的类,都需要在类前添加 [Serializable],让类支持序列化。1:利用反射实现public static T DeepCopy<T>(T obj) { //如果是字符串或值类型则直接返回 if (obj is st...
啥是多路复用?
开发中用到需要将秒数(精度可能超过1s)转换成日、时、分、秒的格式,显示到界面上。找了一圈用TimeSpan的都是自己手动拼的字符串,不太漂亮。实际TimeSpan本身的ToString就支持自定义。C#的封装确实给开发带来便利。(但是对于高并发的程序,真是考验啊……)这里...