上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 132 下一页
摘要: c#数组用linq语句查询奇偶数并排序 使用LINQ和Lambda表达式根据特定条件来查询数组 int[] names = { 8,9,22,23,7,2}; int[] evens = names.Where(p1 => p1 % 2 == 0).OrderByDescending(p1=>p1) 阅读全文
posted @ 2021-09-28 09:17 txwtech 阅读(605) 评论(0) 推荐(0)
摘要: 1、接口类似于类,但接口的成员都没有执行方式,它只是方法、属性、事件和索引符的组合而已,并且也只能包含这四种成员;、、类除了这四种成员之外还可以别的成员(如字段)。2、不能实例化一个接口,接口只包括成员的签名;、、而类可以实例化(abstract抽象类除外)。3、接口没有构造函数,、、类有构造函数。 阅读全文
posted @ 2021-09-28 08:37 txwtech 阅读(1563) 评论(0) 推荐(0)
摘要: private void ScanAllPLCStatus() { foreach (OpcUtil.PLC_Sensor_Enum e in Enum.GetValues(typeof(OpcUtil.PLC_Sensor_Enum))) { Console.WriteLine(e.ToStrin 阅读全文
posted @ 2021-09-27 16:13 txwtech 阅读(1115) 评论(0) 推荐(0)
摘要: 鸿蒙开发板Hi3861模拟SPI驱动JLX_LCD12864显示屏液晶屏_基于code-2.0-CANARY 2.0支持windows编译与上传,不需要ubuntu编译环境搭建需要有耐心: https://chuna2.787528.xyz/txwtech/p/15041927.html 首先学会点亮L 阅读全文
posted @ 2021-09-26 21:39 txwtech 阅读(532) 评论(0) 推荐(0)
摘要: https://os.51cto.com/art/202011/632200.htm 鸿蒙开发板hi3861串口复用设置方法 代码实现其实很简单。 (1)引脚初始化 这里由于GPIO5默认被复用为串口引脚,这里我们重新修改为普通GPIO引脚。初始化代码如下: (hi_void)hi_gpio_ini 阅读全文
posted @ 2021-09-22 08:36 txwtech 阅读(674) 评论(0) 推荐(0)
摘要: 请问鸿蒙开发板hi3861有中断引脚吗? 阅读全文
posted @ 2021-09-21 21:21 txwtech 阅读(69) 评论(0) 推荐(0)
摘要: C51单片机引脚图 阅读全文
posted @ 2021-09-21 20:55 txwtech 阅读(908) 评论(3) 推荐(0)
摘要: https://blog.csdn.net/txwtech/article/details/120338446 error: conflicting types for 'get_data_from_ROM'error: conflicting types for '***' error: prev 阅读全文
posted @ 2021-09-16 21:55 txwtech 阅读(175) 评论(0) 推荐(0)
摘要: 运行程序时显示“从服务器返回一个参照”怎么办 方法是鼠标右击执行文件,然后选择“属性”,在“兼容性”选项卡中,然后在特权等级下勾选“以管理员身份运行此程序”,点击确定退出即可 https://jingyan.baidu.com/article/4b52d70241cb04bc5d774b12.htm 阅读全文
posted @ 2021-09-13 15:21 txwtech 阅读(634) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/txwtech/article/details/115696293 按钮触发事件,启动线程: pThread=new CWinThread(); pThread->m_bAutoDelete=false; // m_pMainDlg = ::AfxGetM 阅读全文
posted @ 2021-09-13 10:52 txwtech 阅读(431) 评论(0) 推荐(0)
上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 132 下一页