11 2020 档案

C# crc16modbus
摘要:using System; public class Crc { /// <summary> /// 判断数据中crc是否正确 /// </summary> /// <param name="datas">传入的数据后两位是crc</param> /// <returns></returns> pu 阅读全文

posted @ 2020-11-19 17:31 炼金师 阅读(535) 评论(0) 推荐(0) 编辑

C# 对newtonsoft.json对象进行ascii排序
摘要:/// <summary> /// 获取排序后的json字符串 /// </summary> /// <param name="obj"></param> /// <returns></returns> public static string GetSortStrJson(object obj) 阅读全文

posted @ 2020-11-11 09:58 炼金师 阅读(1561) 评论(2) 推荐(1) 编辑

C# 字节转结构体、结构体转字节
摘要:/// <summary> /// 结构体转bytes /// </summary> /// <param name="structObj">结构体</param> /// <param name="decCount">默认0,不截取</param> /// <returns></returns> 阅读全文

posted @ 2020-11-10 13:05 炼金师 阅读(420) 评论(0) 推荐(0) 编辑

按ascill排序参数
摘要:/// <summary> /// 获得排完序的字典 /// </summary> /// <param name="parameters"></param> /// <returns></returns> public static Dictionary<string, object> GetAS 阅读全文

posted @ 2020-11-02 16:23 炼金师 阅读(147) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示