上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
摘要: 找不到字典时设置如下 <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Themes/1.xaml"/> <ResourceDictionary Source="/The 阅读全文
posted @ 2024-09-30 16:59 echo-efun 阅读(282) 评论(0) 推荐(0)
摘要: WindowState="Maximized" //窗口最大化 WindowStyle="None" //不使用wpf自带标题栏 阅读全文
posted @ 2024-09-30 15:32 echo-efun 阅读(65) 评论(0) 推荐(0)
摘要: /// <summary> /// 16进制字符转为字节流 /// </summary> /// <param name="str"></param> /// <param name="fromBase"></param> /// <returns></returns> public static 阅读全文
posted @ 2024-09-29 17:29 echo-efun 阅读(44) 评论(0) 推荐(0)
摘要: CSocketClient info; ModbusMaster master; //public static ModbusTcp2 Instance = new ModbusTcp2("192.168.0.8", 8000); public static ModbusTcp2 Instance 阅读全文
posted @ 2024-09-29 17:28 echo-efun 阅读(144) 评论(0) 推荐(0)
摘要: 类CSocketClient主要包括以下内容: private TcpClient _client; public Thread _connectionThread; private StreamWriter _write; public ClientRecMsgClass GClientRecMs 阅读全文
posted @ 2024-09-29 17:27 echo-efun 阅读(173) 评论(0) 推荐(0)
摘要: 如16进制A要填充为000A string str ="A"; str.PadLeft(4,'0'); 阅读全文
posted @ 2024-09-29 17:26 echo-efun 阅读(35) 评论(0) 推荐(0)
摘要: 1.读取一个或多个保持寄存器的数值 如指令00 02 00 00 00 06 01 03 F2 00 00 06 00 02 事务标识符 00 00 协议标识符 00 06 长度标识符(从站号开始到指令结尾共有6个byte) 01 站号 03 功能码(读取一个或多个保持寄存器的数值) F2 00 起 阅读全文
posted @ 2024-09-29 16:04 echo-efun 阅读(1075) 评论(0) 推荐(0)
摘要: 类继承INotifyPropertyChanged接口,然后把List的类型改为ObservableCollection 如下 private ObservableCollection<string> reagentNameList = new ObservableCollection<string 阅读全文
posted @ 2024-09-29 15:30 echo-efun 阅读(71) 评论(0) 推荐(0)
摘要: 1.git init 2.git clone 链接 3.git remote -v 4.ls 5.cd 文件夹 6.git remote -v 7.git branch -v 8.git status 9.git add 要添加的文件夹 10.git commit -m "提交说明" 11.git 阅读全文
posted @ 2024-09-27 14:11 echo-efun 阅读(34) 评论(0) 推荐(0)
摘要: private System.Threading.Mutex mutex; public App() { this.Startup += new StartupEventHandler(App_Startup); } private void App_Startup(object sender, S 阅读全文
posted @ 2024-09-26 17:30 echo-efun 阅读(160) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页