-
MBD_Book_PDF_Version
基于模型设计matlab自动代码生成。目前广泛应用于汽车电子嵌入式开发。 matlab 官方文档。(Managing Model-Based Design. matlab offical document.)
- 2018-01-13 10:29:47下载
- 积分:1
-
vc-skin
vc 皮肤库 skin++包含了大量的皮肤文件,欢迎下载(vc skin, skin++ library contains a large number of skin files, please download
)
- 2020-09-13 14:18:00下载
- 积分:1
-
serial
ARM串口驱动程序,是可以正常驱动的程序,请大家笑纳。(ARM serial driver, is can the normal driver program, please kindly accept it.
)
- 2012-01-15 14:14:06下载
- 积分:1
-
TransparentWindow
ppWizard has created this TransparentWindow application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your TransparentWindow application.
- 2004-07-13 10:49:50下载
- 积分:1
-
kalmanfilter
对GPS和DR组合导航的数据进行卡尔曼滤波处理(The GPS and DR integrated navigation Kalman filter data processing)
- 2013-08-28 15:42:16下载
- 积分:1
-
NFC-SPI通信测试
说明: 基于PN532NFC模块与STM32F10x的通信源码,可实现对NFC读写(Based on the communication source code between PN532NFC module and STM32F10x, it can read and write NFC.)
- 2019-07-07 14:53:08下载
- 积分:1
-
c# 扫描IP Http Header
c# 扫描IP Http Headerusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading;using System.IO;namespace HScan{ public partial class Form1 : Form { int _currentThreads = 0; int _maxThreads = 100; Thread main = null; Thread mt = null; List threads = new List(); public Form1() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } private void btnStart_Click(object sender, EventArgs e) { btnStart.Enabled = false; if (txtStart.Text.Trim() == "") { MessageBox.Show("起始IP不能为空."); return; } if (txtEnd.Text.Trim() == "") { MessageBox.Show("结束IP不能为空."); return; } int ts = Convert.ToInt32(txtThreads.Text); _maxThreads = ts; string startIp = txtStart.Text; string endIp = txtEnd.Text; TParameter tp=new TParameter(); tp.StartIp=startIp; tp.EndIp=endIp; tp.ThreadCount=ts; main = new Thread(new ParameterizedThreadStart(StartMe)); main.Start(tp); } protected void ThreadManage() { Thread c=null; while (true) { System.Object lockThis = new System.Object(); lock (lockThis) { for (int i = 0; i < threads.Count; i ) { if (threads[i] != null && !threads[i].IsAlive) { c = threads[i]; break; } } if (c != null) { threads.Remove(c); } } } } protected void StartMe(object ob) { mt = new Thread(new ThreadStart(ThreadManage)); mt.Start(); TParameter p = ob as TParameter; string curIp = p.StartIp; while (true) { for (int i = 0; i < _maxThreads; i ) { if (curIp != "") { if (_currentThreads >= _maxThreads) break; System.Object lockThis = new System.Object(); lock (lockThis) { _currentThreads ; if (_currentThreads > _maxThreads) _currentThreads = _maxThreads; string tip = curIp; Thread t = new Thread(new ParameterizedThreadStart(Run)); t.Start(tip); threads.Add(t); curIp = IPUtility.getLastIp(curIp, p.EndIp, 1); } } else { break; } } } } protected void Run(object ob) { string ip = ob.ToString(); SocketGetHead h = new SocketGetHead(); string ret = h.GetHtml(ip, 80); if (ret.IndexOf("DVRDVS-Webs") > 0) { ListViewItem item = new ListViewItem(); item.SubItems[0].Text = (listView1.Items.Count 1).ToString(); ListViewItem.ListViewSubItem lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = ip; item.SubItems.Add(lvSubItem); lvSubItem = new ListViewItem.ListViewSubItem(); lvSubItem.Text = "DVRDVS-Webs"; item.SubItems.Add(lvSubItem); listView1.Items.Add(item); } System.Object lockThis = new System.Object(); lock(lockThis) { lblCurIp.Text = ip; _currentThreads--; if (_currentThreads < 0) _currentThreads = 0; } } private void tsmCopy_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count > 0) { string ip = listView1.SelectedItems[0].SubItems[1].Text; Clipboard.SetText(ip); } } private void tsmExport_Click(object sender, EventArgs e) { StreamWriter writer = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory "\export.txt",true); foreach (ListViewItem item in listView1.Items) { string ip=item.SubItems[1].Text; writer.WriteLine(ip); writer.Flush(); } writer.Flush(); writer.Close(); MessageBox.Show("导出成功!"); } private void Form1_FormClosing(object sender, FormClosingEventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } Thread.Sleep(5000); } private void btnStop_Click(object sender, EventArgs e) { try { if (mt != null) { mt.Interrupt(); mt.Abort(); } foreach (Thread t in threads) { t.Interrupt(); t.Abort(); } if (main != null) { main.Interrupt(); main.Abort(); } } catch { } btnStart.Enabled = true; } }}
- 2014-06-23下载
- 积分:1
-
_ping
Ping代码。这学校的课程设计。验证与远程计算机的连接。该命令只有在安装了 TCP/IP 协议后才可以使用。(Ping code. This design of the school curriculum. Authentication with the remote computer. The order only if the installed TCP/IP protocol can be used after.)
- 2008-04-17 19:48:09下载
- 积分:1
-
ProcessMonitor
1、实时监控各个exe所做的行为;2、实时监控exe的启动和退出;3、该代码为微软的SysinternalsSuite中的Process Monitor v1.0版本源码;4、工程项目已转化为vs2010(1, real-time monitoring of individual behavior made exe 2, real-time monitoring exe startup and exit 3, the code for Microsoft s SysinternalsSuite the Process Monitor v1.0 version of the source code 4, the project has been converted to vs2010)
- 2013-12-23 18:34:50下载
- 积分:1
-
6.温度传感器DS18B20 -多终端采集
ZigBee无线测温系统。实现ZigBee测温多终端采集。内附使用说明和教程,注释清晰。(ZigBee wireless temperature measurement system. Realize ZigBee temperature measurement and multi terminal acquisition. The instructions and tutorials are attached, and the notes are clear.)
- 2020-12-04 10:49:23下载
- 积分:1